logon.ascx
来自「介绍vb.net的一本很好的英文资料,深入浅出,值得一读」· ASCX 代码 · 共 32 行
ASCX
32 行
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="Logon.ascx.vb" Inherits="LogonControl.Logon" %>
<P>
<asp:Label id="lblEmail" runat="server">
E-mail:</asp:Label>
</P>
<P>
<asp:TextBox id="txtEmail" runat="server">
</asp:TextBox>
<asp:RegularExpressionValidator id="revEmail" runat="server" ErrorMessage="Your e-mail address is invalid" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic" ControlToValidate="txtEmail">
</asp:RegularExpressionValidator>
<asp:RequiredFieldValidator id="rfvEmail" runat="server" ErrorMessage="Please enter an e-mail address" Display="Dynamic" ControlToValidate="txtEmail">
</asp:RequiredFieldValidator>
</P>
<P>
<asp:Label id="lblPassword" runat="server">
Password:</asp:Label>
</P>
<P>
<asp:TextBox id="txtPassword" runat="server" TextMode="Password">
</asp:TextBox>
<asp:RequiredFieldValidator id="rfvPassword" runat="server" ErrorMessage="Please enter a password" Display="Dynamic" ControlToValidate="txtPassword">
</asp:RequiredFieldValidator>
</P>
<P>
<asp:Label id="lblNotFound" runat="server" ForeColor="Red" Visible="False">
Not found message</asp:Label>
</P>
<P>
<asp:Button id="btnSubmit" runat="server" Text="Submit">
</asp:Button>
</P>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?