📄 sixtwotwo.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SixTwoTwo.aspx.cs" Inherits="SixTwoTwo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ddd</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<br />
<asp:Label ID="Label1" runat="server" Text="姓:"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="[名]是必填项!" ControlToValidate="TextBox2">*</asp:RequiredFieldValidator><br />
<br />
<asp:Label ID="Label2" runat="server" Text="名:"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="[姓]是必填项!" ControlToValidate="TextBox1">*</asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
ShowSummary="False" HeaderText="提示:"/>
<br />
<asp:CustomValidator ID="CustomValidator1" ControlToValidate="TextBox1" ClientValidationFunction="valComments+ClientValidate" OnServerValidate="valComments_ServerValidate" runat="server" ErrorMessage="字符不能超过10个">字符不能超过10个</asp:CustomValidator><br />
<asp:Button ID="Button" runat="server" Text="提交" /></div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -