连锁企业的配送模式 连锁中心配送系统:用户信息的添加[2]
连锁中心配送系统:用户信息的添加[2]
![连锁企业的配送模式 连锁中心配送系统:用户信息的添加[2]](http://img.zhputi.com/uploads/3393/33936ff479f131e7205e2282912916cb29222.jpg)
——此文章摘自《ASP NET +SQL Server网络应用系统开发案例精解》定价 ¥ 特价 ¥ 详细>>
<TR> <TD style= WIDTH: px; HEIGHT: px ><FONT face= 宋体 >连锁店名 </FONT></TD> <TD style= WIDTH: px; HEIGHT: px > <! DropDownList控件 > <asp:dropdownlist id= STDepName runat= server > </asp:dropdownlist><FONTface= 宋体 ></FONT></TD> <TD style= HEIGHT: px ><FONT face= 宋体 color= #ff size= >必选</FONT></TD> </TR> <TR> <TD style= WIDTH: px; HEIGHT: px ><FONT face= 宋体 >管理权限 </FONT></TD> <TD style= WIDTH: px; HEIGHT: px > <asp:dropdownlist id= STNoAdmin runat= server > <asp:ListItem Value= >一般用户</asp:ListItem> <asp:ListItem Value= >管理员</asp:ListItem> </asp:dropdownlist><FONT face= 宋体 ></FONT></TD> <TD style= HEIGHT: px > <FONT face= 宋体 color= #ff size= > 必选</FONT></TD> </TR> <TR> <TD align= center colSpan= ><asp:button id= ST_ok runat= server Text= 确定 > </asp:button><FONT face= 宋体 > </FONT> <asp:button id= ST_cancel runat= server Text= 取消 ></asp:button> <asp:label id= ST_Warn runat= server ></asp:label><FONT face= 宋体 ></FONT></TD> </TR> </TABLE> <P align= center ><FONT face= 宋体 color= #ff size= >默认密码与用户名相同</FONT> </P> </FONT> </TD> </TR> </TABLE> <uc :stfooter id= STFooter runat= server ></uc :stfooter> .STAddUser aspx cs的主要代码及其解释 此代码实现了添加用户信息的功能 如下所示 private void Page_Load(object sender System EventArgs e) { if(Session[ STNickName ] != null) { string STconnection = ConfigurationSettings AppSettings[ strconnection ]; STconn = new SqlConnection(STconnection);
lishixinzhi/Article/program/net/201311/15718