⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userregister.aspx

📁 电子商务网站,结合Visual Sttudio 2005和SQL 2005 用ASP.NET语言开发的网站.
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="userRegister.aspx.cs" AutoEventWireup="false" Inherits="shop.userRegister" %>
<%@ Register Src="Controls/head.ascx" TagName="head" TagPrefix="uc2" %>
<%@ Register TagPrefix="uc1" TagName="productSearch" Src="Controls/productSearch.ascx" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户注册</title>
<link rel="stylesheet" type="text/css" href="style\SiteStyle.css"/>
</head>
<body text="#0">
<form id="form1" method="post" runat="server">
   
   <center><table>
        <tr>
            <td>
                &nbsp;<uc2:head ID="Head1" runat="server" />
            </td>
       
        </tr>
        <tr>
        <td align="center" style="font-size: 20pt; color: #43a0db;">
            <strong>会员注册</strong>
            <hr size="1" color="#43a0db" /></td>
        </tr>
        <tr>
            <td align="center">
                会员帐号:<asp:TextBox id="txtName" runat="server"></asp:TextBox>
                &nbsp;
                <asp:ImageButton ID="ibNext" runat="server" ImageUrl="images/b2-tu1.gif" />&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                    ErrorMessage="用户名不能为空">*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtName"
                    ErrorMessage='用户名只能使用"字母"、"数字"和下划线"_"' ValidationExpression="(\w*|\s)">*</asp:RegularExpressionValidator></td> 
        </tr>
        <tr>
        <td style="height: 17px" align="center">
            &nbsp;<asp:Label ID="lblError" runat="server" ForeColor="Red" Width="288px"></asp:Label>
        </td>
        </tr>
       <tr>
           <td align="center" style="height: 17px">
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" />
           </td>
       </tr>
    </table>
 </center> 
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -