熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

連鎖中心配送系統:分店用戶管理信息查看[1]

2013-11-13 11:51:45  來源: .NET編程 
    ——此文章摘自《ASPNET +SQL Server網絡應用系統開發案例精解》定價 特價 詳細>>http://tracklinktechcn/?m_id=dangdang&a_id=A&l=&l_type= width= height= border= nosave>

    單擊用戶信息即可進入用戶界面STUserInfoaspx如圖所示

http://developcsaicn/dotnet_ASP/images/gif>
  一般用戶自己信息管理界面

    .STUserInfoaspx的HTML主要代碼
    <!—注冊用戶控件>
    <%@ Register TagPrefix=uc TagName=STMiddle Src=/STControls/STMiddleascx %>
    <%@ Register TagPrefix=uc TagName=STHeader Src=/STControls/STHeaderascx %>
    <%@ Register TagPrefix=uc TagName=STFooter Src=/STControls/STFooterascx %>
    <!—頭控件>
    <uc:stheader id=STHeader runat=server></uc:stheader>
    <TABLE id=Table style=ZINDEX: ; LEFT: px; TOP: px; HEIGHT: px cellSpacing=
             cellPadding= width= align=center border=>
    <TR>
             <TD style=WIDTH: px valign=top align=center><FONT face=宋體><uc:stmiddle id=Stmiddle runat=server></uc:stmiddle></FONT></TD>
             <TD style=HEIGHT: px align=center valign=top>
    <FONT face=宋體>
    <!—DataGrid控件>
    <asp:DataGrid id=STmyGrid runat=server OnPageIndexChanged=STmyGrid_Page AllowPaging=True
    PageSize= AutoGenerateColumns=False DataKeyField=STUserID Width=%>
                                <!—列>
                                <Columns>
    <asp:BoundColumn DataField=STUserID HeaderText=用戶ID></asp:BoundColumn>
    <asp:BoundColumn DataField=STNickName HeaderText=登錄名稱>
    </asp:BoundColumn>
    <asp:BoundColumn DataField=STUserName HeaderText=真實姓名>
    </asp:BoundColumn>
    <!—模板列>
             <asp:TemplateColumn HeaderText=管理權限>
                                         <ItemTemplate>
             <%# DataBinderEval(ContainerDataItemSTNoAdmin)ToString()==?
             <font color=red>是</font>: %>
                                                  </ItemTemplate>
             </asp:TemplateColumn>
                                </Columns>
             <PagerStyle NextPageText= HorizontalAlign=Right Mode=NumericPages>
             </PagerStyle>

right>[]  [http://developcsaicn/dotnet_ASP/htm>]  


From:http://tw.wingwit.com/Article/program/net/201311/15366.html
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.