温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:在线订票系统源码(毕业设计)
当前文件路径:TicketOnline/SystemCfg.aspx

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SystemCfg.aspx.cs" Inherits="SystemCfg" Title="Untitled Page" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%"> 4
<tr> 5
<td align="left" style="background-position: center center; background-image: url(image/bar.jpg); 6
width: 90%; background-repeat: repeat-x; height: 22px"> 7
<asp:LinkButton ID="linkconfig" runat="server" ForeColor="White" OnClick="linkconfig_Click" CausesValidation="False">管理员注册</asp:LinkButton> 8
<asp:LinkButton ID="dayin" runat="server" ForeColor="White" OnClick="dayin_Click" CausesValidation="False">打印机设置</asp:LinkButton> 9
<asp:LinkButton ID="linkUpdata" runat="server" ForeColor="White" CausesValidation="False" OnClick="linkUpdata_Click">用户信息修改</asp:LinkButton></td> 10
</tr> 11
<tr> 12
<td style="width: 90%; height: 380px;" align="left" valign="top" rowspan="5"> 13
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px"> 14
<table border="0" cellpadding="0" cellspacing="0" style="border-right: #33ccff 0.1mm solid; 15
border-top: #33ccff 0.1mm solid; border-left: #33ccff 0.1mm solid; width: 498%; 16
border-bottom: #33ccff 0.1mm solid"> 17
<tr> 18
<td style="width: 90px; height: 30px"> 19
用户名:</td> 20
<td style="width: 100px; height: 30px"> 21
<asp:TextBox ID="txtname" runat="server"></asp:TextBox></td> 22
<td style="width: 131px; height: 30px"> 23
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname" 24
Display="Dynamic" ErrorMessage="用户名空"></asp:RequiredFieldValidator></td> 25
</tr> 26
<tr> 27
<td style="width: 90px; height: 30px"> 28
密码:</td> 29
<td style="width: 100px; height: 30px"> 30
<asp:TextBox ID="txtpwd" runat="server" TextMode="Password" Width="147px"></asp:TextBox></td> 31
<td style="width: 131px; height: 30px"> 32
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpwd" 33
Display="Dynamic" ErrorMessage="密码不能空"></asp:RequiredFieldValidator></td> 34
</tr> 35
<tr> 36
<td style="width: 90px; height: 30px"> 37
确认:</td> 38
<td style="width: 100px; height: 30px"> 39
<asp:TextBox ID="txtpwd2" runat="server" TextMode="Password" Width="149px"></asp:TextBox></td> 40
<td style="width: 131px; height: 30px"> 41
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtpwd" 42
ControlToValidate="txtpwd2" Display="Dynamic" ErrorMessage="密码不一致"></asp:CompareValidator></td> 43
</tr> 44
<tr> 45
<td style="width: 90px; height: 30px"> 46
权限:</td> 47
<td style="width: 100px; height: 30px"> 48
<asp:DropDownList ID="DropDownList1" runat="server" Width="156px"> 49
<asp:ListItem Selected="True">普通管理员</asp:ListItem> 50
<asp:ListItem>超级管理员</asp:ListItem> 51
</asp:DropDownList></td> 52
<td style="width: 131px; height: 30px"> 53
</td> 54
</tr> 55
<tr> 56
<td style="height: 30px; background-color: #3399ff;" colspan="3" align="center"> 57
<asp:LinkButton ID="linkclear" runat="server" ForeColor="White" OnClick="linkclear_Click" 58
Width="72px" CausesValidation="False" BackColor="MediumTurquoise" BorderStyle="None">重置</asp:LinkButton> 59
<asp:LinkButton ID="lingadd" runat="server" ForeColor="White" OnClick="lingadd_Click" 60
Width="74px" BackColor="MediumTurquoise" BorderStyle="None">注册</asp:LinkButton></td> 61
</tr> 62
</table> 63
</asp:Panel> 64
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px"> 65
<table border="0" cellpadding="0" cellspacing="0" style="width: 498%; border-right: #3399ff 0.1mm solid; border-top: #3399ff 0.1mm solid; border-left: #3399ff 0.1mm solid; border-bottom: #3399ff 0.1mm solid;"> 66
<tr> 67
<td colspan="3" style="background-position: left center; background-image: url(image/bar.jpg); color: #ffffff; background-repeat: repeat-x; height: 18px;" align="center"> 68
管理员信息修改</td> 69
</tr> 70
<tr> 71
<td style="width: 93px; height: 25px;"> 72
选择用户:</td> 73
<td style="width: 207px; height: 25px;" align="left"> 74
<asp:DropDownList ID="DropDownList3" runat="server" Width="129px" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="Aname" DataValueField="Aname" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged"> 75
</asp:DropDownList></td> 76
<td style="height: 25px; width: 136px;"> 77
</td> 78
</tr> 79
<tr> 80
<td style="width: 93px; height: 25px;"> 81
用户名:</td> 82
<td style="width: 207px" align="left"> 83
<asp:TextBox ID="txtname2" runat="server" TextMode="Password"></asp:TextBox></td> 84
<td style="width: 136px"> 85
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtname2" 86
ErrorMessage="用户名空"></asp:RequiredFieldValidator></td> 87
</tr> 88
<tr> 89
<td style="width: 93px; height: 26px;"> 90
密码:</td> 91
<td style="width: 207px; height: 26px;" align="left"> 92
<asp:TextBox ID="txtpwd3" runat="server" Width="137px" OnTextChanged="txtpwd3_TextChanged" TextMode="Password"></asp:TextBox></td> 93
<td style="height: 26px; width: 136px;"> 94
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtpwd3" 95
ErrorMessage="密码空"></asp:RequiredFieldValidator></td> 96
</tr> 97
<tr> 98
<td style="width: 93px; height: 25px;"> 99
权限:</td> 100
<td style="width: 207px; height: 25px;" align="left"> 101
<asp:DropDownList ID="DropDownList2" runat="server" Width="111px"> 102
<asp:ListItem Selected="True">普通管理员</asp:ListItem> 103
<asp:ListItem>超级管理员</asp:ListItem> 104
</asp:DropDownList></td> 105
<td style="height: 25px; width: 136px;"> 106
</td> 107
</tr> 108
<tr> 109
<td style="height: 25px; background-color: #3399ff;" align="center" colspan="3"> 110
<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="White" Width="61px" OnClick="LinkButton1_Click" BackColor="MediumTurquoise" BorderColor="White" BorderStyle="None">修改</asp:LinkButton></td> 111
</tr> 112
113
</table> 114
</asp:Panel> 115
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:webSealTicketConnectionString %>" 116
SelectCommand="SELECT * FROM [Admin]"></asp:SqlDataSource> 117
</td> 118
</tr> 119
120
</table> 121
</asp:Content> 122
123




