📄 m_userinfo.aspx
字号:
<%@ Page language="c#" Inherits="e_librarys.M_UserInfo" CodeFile="M_UserInfo.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>M_UserInfo</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<style type="text/css">
.style1
{
height: 25px;
}
.style2
{
height: 22px;
}
</style>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<hr style="Z-INDEX: 105; LEFT: 8px; WIDTH: 926px; POSITION: absolute; TOP: 24px; HEIGHT: 2px"
SIZE="2">
<TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; WIDTH: 936px; POSITION: absolute; TOP: 40px; HEIGHT: 112px"
border="0" runat="server">
<TR>
<TD align="center" bgcolor="lightgrey" colspan="3" style="HEIGHT: 33px"><FONT id="FONT1" color="darkorange" size="5" runat="server">查询</FONT></TD>
</TR>
<TR>
<TD align="center" bgcolor="lightgrey" style="WIDTH: 992px; HEIGHT: 38px">查询条件:</TD>
<TD align="left" style="WIDTH: 202px; HEIGHT: 38px">
<select name="SelectType" id="Select" style="WIDTH: 186px" runat="server">
<option value="ID">编号</option>
<option value="Name" selected>姓名</option>
<option value="QQ">QQ号</option>
<option value="Email">Email</option>
<option value="Telephone">电话</option>
<option value="Birthday">生日</option>
<option value="Adimin">管理员</option>
<option value="RentCount">租赁次数</option>
</select>
</TD>
<TD align="left" style="HEIGHT: 38px">
<asp:TextBox id="TextBox" runat="server" Width="576px" Height="27px"></asp:TextBox></TD>
</TR>
<TR>
<TD align="center" bgcolor="lightgrey" style="WIDTH: 992px" colspan="3">
<asp:Button id="Button_Select" runat="server" Height="29px" Width="77px" Text="查询" onclick="Button_Select_Click"></asp:Button></TD>
</TR>
</TABLE>
<table style="Z-INDEX: 102; LEFT: 8px; WIDTH: 936px; POSITION: absolute; TOP: 200px; HEIGHT: 24px"
border="0" id="TABLE2" runat="server">
<TR>
<TD align="center"><FONT color="darkorange" size="5">
<TABLE id="Table3" style="Z-INDEX: 101; LEFT: 18px; WIDTH: 852px; POSITION: absolute; TOP: 50px; HEIGHT: 382px"
cellSpacing="1" cellPadding="1" border="1">
<TR bgcolor="lightgrey">
<TD colspan="2" align="center" class="style2"><b>用户基本信息</b></TD>
</TR>
<TR>
<TD style="WIDTH: 101px" align="right" bgcolor="lightgrey">用户名:</TD>
<TD align="left">
<asp:textbox id="TextBox_Name" runat="server" Width="224px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 101px" align="right" bgcolor="lightgrey">用户ID:</TD>
<TD align="left">
<asp:textbox id="TextBox_ID" runat="server" Width="224px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 101px" align="right" bgcolor="lightgrey"><FONT face="宋体">密码:</FONT></TD>
<TD align="left"><FONT face="宋体">
<asp:textbox id="TextBox_Pswd" runat="server" Width="216px" TextMode="Password"></asp:textbox></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 101px; HEIGHT: 54px" align="right" bgcolor="lightgrey"><FONT face="宋体">性别:</FONT></TD>
<TD align="left" style="HEIGHT: 54px"><FONT face="宋体">
<asp:textbox id="TextBox_Sex" runat="server" Width="216px"></asp:textbox></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 101px" align="right" bgcolor="lightgrey"><FONT face="宋体">出生年月:</FONT></TD>
<TD align="left"><FONT face="宋体">
<asp:textbox id="TextBox_Birthday" runat="server" Width="216px"></asp:textbox>
<FONT color="darkorange" size="5" face="宋体">
<asp:regularexpressionvalidator id="RegularExpressionValidator_Email"
runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
ErrorMessage="错误油箱" ControlToValidate="TextBox_Email" Width="151px"></asp:regularexpressionvalidator></FONT></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 101px" align="right" bgcolor="lightgrey"><FONT face="宋体">油箱:</FONT></TD>
<TD align="left">
<FONT color="darkorange" size="5" face="宋体">
<asp:textbox id="TextBox_Email" runat="server" Width="235px"></asp:textbox>
</FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 101px" align="right" bgcolor="lightgrey"><FONT face="宋体">电话:</FONT></TD>
<TD align="left">
<asp:textbox id="TextBox_Telephone" runat="server" Width="248px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 101px; HEIGHT: 28px" align="right" bgcolor="lightgrey"><FONT face="宋体">QQ:</FONT></TD>
<TD align="left" style="HEIGHT: 28px">
<asp:textbox id="TextBox_QQ" runat="server" Width="240px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 101px; HEIGHT: 28px" align="right" bgcolor="lightgrey"><FONT face="宋体">是否管理员:</FONT></TD>
<TD align="left" style="HEIGHT: 28px">
<asp:textbox id="TextBox_IsAdmine" runat="server" Width="240px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 101px; HEIGHT: 28px" align="right" bgcolor="lightgrey"><FONT face="宋体">租赁次数:</FONT></TD>
<TD align="left" style="HEIGHT: 28px">
<asp:textbox id="TextBox_Tenancy" runat="server" Width="240px"></asp:textbox></TD>
</TR>
<TR>
<TD align="center" bgcolor="lightgrey" colspan="2" class="style1">
<FONT color="darkorange" size="5" face="宋体">
<asp:Button id="Button_Modify" runat="server" Text="修改" Width="54px" onclick="Button_Modify_Click"></asp:Button>
</FONT>
<asp:Button ID="Button_Cencel" runat="server" onclick="Button_Blank_Click"
Text="取消" Width="55px" />
<FONT face="宋体">
<asp:DataGrid id="DataGrid_M_UserInfo" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 400px"
runat="server" Width="936px" Height="304px" AutoGenerateColumns="False"
HorizontalAlign="Center" oncancelcommand="DataGrid_M_UserInfo_CancelCommand1"
ondeletecommand="DataGrid_M_UserInfo_DeleteCommand1"
oneditcommand="DataGrid_M_UserInfo_EditCommand"
onselectedindexchanged="DataGrid_M_UserInfo_SelectedIndexChanged"
onupdatecommand="DataGrid_M_UserInfo_UpdateCommand1">
<HeaderStyle Wrap="False" HorizontalAlign="Center" ForeColor="DarkOrange" VerticalAlign="Middle"
BackColor="LightGray"></HeaderStyle>
<Columns>
<%--<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑">
<HeaderStyle Width="50px"></HeaderStyle>
</asp:EditCommandColumn>--%>
<asp:ButtonColumn Text="选择" CommandName="Select"></asp:ButtonColumn>
<asp:ButtonColumn Text="删除" CommandName="Delete">
<HeaderStyle Width="50px"></HeaderStyle>
</asp:ButtonColumn>
<asp:BoundColumn DataField="U_Name" HeaderText="用户名">
<HeaderStyle Width="70px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_ID" HeaderText="用户ID">
<HeaderStyle Width="70px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_Pswd" HeaderText="密码">
<HeaderStyle Width="70px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_QQ" HeaderText="QQ号码">
<HeaderStyle Width="80px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_Email" HeaderText="油箱">
<HeaderStyle Width="120px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="u_Sex" HeaderText="性别">
<HeaderStyle Width="70px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_Telephone" HeaderText="电话">
<HeaderStyle Width="120px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_Dirthday" HeaderText="生日">
<HeaderStyle Width="120px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_IsAdimin" HeaderText="是否是管理员">
<HeaderStyle Width="120px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="U_RentCount" HeaderText="租赁次数">
<HeaderStyle Width="80px"></HeaderStyle>
</asp:BoundColumn>
</Columns>
</asp:DataGrid>
</FONT>
</TD>
</TR>
</TABLE>
用户信息</FONT></TD>
</TR>
</table>
<hr style="Z-INDEX: 104; LEFT: 8px; WIDTH: 930px; POSITION: absolute; TOP: 168px; HEIGHT: 2px"
SIZE="2">
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -