📄 maintenance.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/student/Student.master" AutoEventWireup="true" CodeFile="Maintenance.aspx.cs" Inherits="studnet_Maintenance" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" style="border-right: #0099ff 0.1mm solid; border-top: #0099ff 0.1mm solid; border-left: #0099ff 0.1mm solid; border-bottom: #0099ff 0.1mm solid; font-size: 14px; width: 100%;" >
<tr>
<td align="center" colspan="3" style=" height: 18px">
管理员信息修改</td>
</tr>
<tr>
<td style="width: 88px; height: 26px" align="center">
姓名:</td>
<td style="width: 177px; height: 26px">
<asp:TextBox ID="TextBox1" runat="server" Enabled="False" Width="165px"></asp:TextBox></td>
<td style="width: 112px; height: 26px">
姓名不能修改</td>
</tr>
<tr>
<td style="width: 88px; height: 19px" align="center">
密码:</td>
<td style="width: 177px; height: 19px">
<asp:TextBox ID="txxpwd" runat="server" TextMode="Password" Width="165px"></asp:TextBox></td>
<td style="width: 112px; height: 19px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txxpwd"
Display="Dynamic" ErrorMessage="密码空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 88px; height: 26px;" align="center">
确认:</td>
<td style="width: 177px; height: 26px;">
<asp:TextBox ID="txtpwd2" runat="server" TextMode="Password" Width="166px"></asp:TextBox></td>
<td style="width: 112px; height: 26px;">
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txxpwd"
ControlToValidate="txtpwd2" Display="Dynamic" ErrorMessage="密码不一致"></asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 88px; height: 19px" align="center">
专业:</td>
<td style="width: 177px; height: 19px">
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource1"
DataTextField="zhuanyename" DataValueField="Zhuanyeid" Width="169px">
</asp:DropDownList>
</td>
<td style="width: 112px; height: 19px">
</td>
</tr>
<tr>
<td align="center" colspan="3" style="height: 19px">
<asp:LinkButton ID="LinkButton1" runat="server" Width="76px" OnClick="LinkButton1_Click">修改</asp:LinkButton> </td>
</tr>
</table>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/database/xuanke.mdb"
SelectCommand="SELECT * FROM [zhuanye]"></asp:AccessDataSource>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -