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

連鎖中心配送系統:用戶密碼的修改[1]

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

    單擊左邊鏈接的修改用戶密碼即可進入管理界面STUserUpdatePwdaspx如圖所示

http://developcsaicn/dotnet_ASP/images/jpg>
  一般用戶密碼的修改界面

    .STUserUpdatePwdaspx的HTML主要代碼

    此界面用了三個用戶控件三個文本框一個標簽和一個按鈕文本框用來輸入原密碼新密碼確認密碼按鈕用來提交信息標簽顯示是否修改成功
    <!—注冊用戶控件>
    <%@ Register TagPrefix=uc TagName=STMiddle Src=/STControls/STMiddleascx %>
    <%@ Register TagPrefix=uc TagName=STFooter Src=/STControls/STFooterascx %>
    <%@ Register TagPrefix=uc TagName=STHeader Src=/STControls/STHeaderascx %>
    <!—頭控件>
    <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><uc:stmiddle id=Stmiddle runat=server> </uc:stmiddle><FONT face=宋體></FONT></TD>
             <TD style=HEIGHT: px vAlign=top align=center colSpan=>
                       <TABLE id=Table cellSpacing= cellPadding= width=% align=center border=>
                       <TR>
                                <TD>輸入原密碼</TD>
                                <TD><asp:textbox id=STOld_pwd runat=server Width=px TextMode=Password> </asp: textbox></TD>
                       </TR>
                       <TR>
                                <TD>輸入新密碼</TD>
                                <TD><asp:textbox id=STNew_pwd runat=server Width=px TextMode=Password> </asp:textbox></TD>
                       </TR>
                       <TR>
                                <TD>確認密碼&nbsp;</TD>
                                <TD><asp:textbox id=Tbx_pwdok runat=server Width=px TextMode=Password> </asp:textbox></TD>
                       </TR>
                       <TR>
                                <TD>
    <!—驗證控件 用來驗證密碼是否一致>

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


From:http://tw.wingwit.com/Article/program/net/201311/15329.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.