📄 admmanage.aspx
字号:
页数:<asp:TextBox ID="PageCount" runat="server"></asp:TextBox></td>
<td align="right">书类型:<asp:TextBox ID="ClassID" runat="server"></asp:TextBox></td></tr>
<tr><td colspan="2">
<asp:Button ID="AddBook" runat="server" Text="插入" BackColor="RoyalBlue" ForeColor="White" OnClick="AddBook_Click" Width="67px" />
<asp:Button ID="Button1" runat="server" Text="修改" BackColor="RoyalBlue" ForeColor="White" Width="67px" OnClick="Button1_Click1" />
<asp:Label ID="Label6" runat="server" ForeColor="Red" Text="Sara" Width="252px"></asp:Label></td></tr>
</table>
</asp:View>
<asp:View ID="View1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" style="border-bottom-width: medium;
border-bottom-color: royalblue; width: 319px">
<tr>
<td align="left" style="border-right: 0px; border-top: 0px; border-left: 0px; width: 149px;
color: black; border-bottom: 0px; height: 20px">
<asp:Label ID="Label7" runat="server" BackColor="RoyalBlue" Font-Size="X-Large" ForeColor="White"
Text="个人信息"></asp:Label></td>
</tr>
</table>
<table style="border-left-color: royalblue; border-bottom-color: royalblue; width: 319px;
border-top-style: solid; border-top-color: royalblue; border-right-style: solid;
border-left-style: solid; border-right-color: royalblue; border-bottom-style: solid">
<tr>
<td>
<asp:DataList ID="InfoList" runat="server" DataSourceID="SqlDataSource1" Font-Size="Medium"
UseAccessibleHeader="True" Width="300px">
<ItemTemplate>
用户名:
<asp:Label ID="UserIDLabel" runat="server" Text='<%# Eval("UserID") %>'></asp:Label><br />
性别:
<asp:Label ID="SexLabel" runat="server" Text='<%# Eval("Sex") %>'></asp:Label><br />
密码:
<asp:Label ID="PasswordLabel" runat="server" Text='<%# Eval("Password") %>'></asp:Label><br />
邮箱:
<asp:Label ID="EmailLabel" runat="server" Text='<%# Eval("Email") %>'></asp:Label><br />
所在班级:
<asp:Label ID="ClassLabel" runat="server" Text='<%# Eval("Class") %>'></asp:Label><br />
电话号码:
<asp:Label ID="TelephoneLabel" runat="server" Text='<%# Eval("Telephone") %>'></asp:Label>
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:library1ConnectionString %>"
SelectCommand="SELECT DISTINCT * FROM [UserInfo] WHERE ([UserID] = @UserID)">
<SelectParameters>
<asp:SessionParameter Name="UserID" SessionField="UserID" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="center" style="height: 50px" valign="middle">
<asp:Button ID="Button2" runat="server" BackColor="RoyalBlue" ForeColor="White" OnClick="Button1_Click"
Text="修改个人密码" />
<asp:Button ID="Button3" runat="server" BackColor="RoyalBlue" ForeColor="White" OnClick="Button2_Click"
Text="修改联系方式" />
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View5" runat="server">
<uc1:NewPsw ID="NewPsw2" runat="server" />
</asp:View>
<asp:View ID="View4" runat="server">
<uc3:Contact ID="Contact1" runat="server" />
</asp:View>
<asp:View ID="View6" runat="server">
<table border="0" cellspacing="0" style="border-bottom-width: medium; border-bottom-color: royalblue; width: 507px;" cellpadding="0">
<tr >
<td style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px;
width: 570px; color: black; height: 20px;" align="left">
<asp:Label ID="Label8" runat="server" BackColor="RoyalBlue" Font-Size="X-Large" ForeColor="White"
Text="学生信息"></asp:Label></td>
</tr>
</table>
<table style="border-left-color: royalblue; border-bottom-color: royalblue; border-top-style: solid; border-top-color: royalblue; border-right-style: solid; border-left-style: solid; border-right-color: royalblue; border-bottom-style: solid; font-size: 12pt; color: #000000;" id="Table3" language="javascript" onclick="return TABLE2_onclick()">
<tr>
<td colspan="2">
<asp:GridView ID="GridView3" runat="server" Width="495px" OnRowDeleting="GridView3_RowDeleting" >
<Columns>
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
</Columns>
</asp:GridView>
</td>
</tr>
<tr>
<td align="right">
用户名:<asp:TextBox ID="UserID" runat="server"></asp:TextBox></td>
<td align="right">
性别:<asp:TextBox ID="Sex" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="height: 26px">
密码:<asp:TextBox ID="Pas" runat="server"></asp:TextBox></td>
<td align="right" style="height: 26px">
Email:<asp:TextBox ID="Email" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right">
班级:<asp:TextBox ID="Class" runat="server"></asp:TextBox></td>
<td align="right">
电话号码:<asp:TextBox ID="Tel" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="chaxu" runat="server" Text="查询" BackColor="RoyalBlue" ForeColor="White" OnClick="chaxu_Click" Width="67px" />
<asp:Button ID="xiugai" runat="server" Text="修改" BackColor="RoyalBlue" ForeColor="White" Width="67px" OnClick="xiugai_Click" />
<asp:Label ID="Label9" runat="server" ForeColor="Red" Text="Sara" Width="252px"></asp:Label></td>
</tr>
</table>
</asp:View>
</asp:MultiView> </div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -