温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:智能选课系统源码及论坛
当前文件路径:XuanKeLunWen/student/Maintenance.aspx

1<%@ Page Language="C#" MasterPageFile="~/student/Student.master" AutoEventWireup="true" CodeFile="Maintenance.aspx.cs" Inherits="studnet_Maintenance" Title="Untitled Page" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<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%" > 4
<tr> 5
<td align="center" colspan="3" style=" height: 18px"> 6
学生信息修改</td> 7
</tr> 8
<tr> 9
<td style="width: 88px; height: 26px" align="center"> 10
姓名:</td> 11
<td style="width: 177px; height: 26px"> 12
<asp:TextBox ID="TextBox1" runat="server" Enabled="False" Width="165px"></asp:TextBox></td> 13
<td style="width: 122px; height: 26px"> 14
姓名不能修改</td> 15
</tr> 16
<tr> 17
<td style="width: 88px; height: 19px" align="center"> 18
密码:</td> 19
<td style="width: 177px; height: 19px"> 20
<asp:TextBox ID="txxpwd" runat="server" TextMode="Password" Width="165px"></asp:TextBox></td> 21
<td style="width: 122px; height: 19px"> 22
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txxpwd" 23
Display="Dynamic" ErrorMessage="密码空"></asp:RequiredFieldValidator></td> 24
</tr> 25
<tr> 26
<td style="width: 88px; height: 26px;" align="center"> 27
确认:</td> 28
<td style="width: 177px; height: 26px;"> 29
<asp:TextBox ID="txtpwd2" runat="server" TextMode="Password" Width="166px"></asp:TextBox></td> 30
<td style="width: 122px; height: 26px;"> 31
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txxpwd" 32
ControlToValidate="txtpwd2" Display="Dynamic" ErrorMessage="密码不一致"></asp:CompareValidator></td> 33
</tr> 34
<tr> 35
<td style="width: 88px; height: 19px" align="center"> 36
专业:</td> 37
<td style="width: 177px; height: 19px"> 38
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource1" 39
DataTextField="zhuanyename" DataValueField="Zhuanyeid" Width="169px"> 40
</asp:DropDownList> 41
</td> 42
<td style="width: 122px; height: 19px"> 43
</td> 44
</tr> 45
<tr> 46
<td align="center" colspan="3" style="height: 19px"> 47
<asp:LinkButton ID="LinkButton1" runat="server" Width="76px" OnClick="LinkButton1_Click">修改</asp:LinkButton> </td> 48
</tr> 49
</table> 50
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/database/xuanke.mdb" 51
SelectCommand="SELECT * FROM [zhuanye]"></asp:AccessDataSource> 52
</asp:Content> 53
54




