📄 login.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/index.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Untitled Page" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td align="center" colspan="3" style="height: 25px">
用户登录</td>
</tr>
<tr>
<td align="center" style="width: 140px; height: 25px;">
用户名:</td>
<td style="width: 54px">
<asp:TextBox ID="txtname" runat="server" Width="200px"></asp:TextBox></td>
<td style="width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname"
Display="Dynamic" ErrorMessage="用户名不能空"></asp:RequiredFieldValidator></td>
</tr>
<tr style="color: #000000">
<td align="center" style="width: 140px; height: 25px;">
密码:</td>
<td style="width: 54px; height: 25px;">
<asp:TextBox ID="txtpwd" runat="server" TextMode="Password" Width="201px"></asp:TextBox></td>
<td style="width: 100px; height: 25px;">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpwd"
Display="Dynamic" ErrorMessage="密码不能空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="center" style="height: 21px;" colspan="3">
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="False" ImageUrl="~/images/bbblog_05_10.gif" OnClick="ImageButton2_Click" />
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/bbblog_05_08.gif" OnClick="ImageButton1_Click" />
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -