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

📄 regist.aspx

📁 一个简单的ASP.NET校友录系统。基于SQL
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Regist.aspx.cs" Inherits="Regist" %>

<!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>欢迎注册同学录</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="zuche.png" fwbase="zuche.gif" fwstyle="Dreamweaver" fwdocid = "2062101627" fwnested="0" -->
  <tr>
   <td><img src="images/spacer.gif" width="221" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="220" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="243" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="56" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
  </tr>

  <tr>
   <td colspan="5" style="height: 79px"><img name="zuche_r1_c1" src="images/zuche_r1_c1.gif" width="760" height="79" border="0" id="zuche_r1_c1" alt="" /></td>
   <td style="height: 79px"><img src="images/spacer.gif" width="1" height="79" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r2_c1.gif" style="height: 71px">&nbsp;</td>
   <td background="images/zuche_r2_c2.gif" style="height: 71px">&nbsp;<asp:TextBox ID="tbxusername" runat="server"></asp:TextBox>&nbsp;
       <div style="z-index: 102; left: 335px; width: 100px; position: absolute; top: 144px;
           height: 50px">
           <asp:Button ID="btnyz" runat="server" BackColor="Transparent" BorderStyle="None"
               Height="32px" Text="点击验证用户名是否可以使用" Width="177px" OnClick="btnyz_Click" />
           <div style="z-index: 101; left: 175px; width: 202px; position: absolute; top: 253px;
               height: 32px">
               性别:<asp:DropDownList ID="DropDownList1" runat="server" Width="55px">
                   <asp:ListItem Selected="True">男</asp:ListItem>
                   <asp:ListItem>女</asp:ListItem>
               </asp:DropDownList></div>
           &nbsp;
           <div style="z-index: 102; left: 190px; width: 100px; position: absolute; top: -23px;
               height: 100px">
               <asp:Label ID="message" runat="server" Font-Size="Smaller" ForeColor="Red"></asp:Label></div>
       </div>
   </td>
   <td background="images/zuche_r2_c3.gif" style="height: 71px">&nbsp;</td>
   <td colspan="2" background="images/zuche_r2_c4.gif" style="height: 71px">&nbsp;</td>
   <td style="height: 71px"><img src="images/spacer.gif" width="1" height="71" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r3_c1.gif">&nbsp;</td>
   <td background="images/zuche_r3_c2.gif">&nbsp;<asp:TextBox ID="tbxpass" runat="server" TextMode="Password"></asp:TextBox></td>
   <td background="images/zuche_r3_c3.gif">&nbsp;</td>
   <td colspan="2" background="images/zuche_r3_c4.gif">&nbsp;</td>
   <td><img src="images/spacer.gif" width="1" height="72" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r4_c1.gif">&nbsp;</td>
   <td background="images/zuche_r4_c2.gif">&nbsp;<asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox></td>
   <td background="images/zuche_r4_c3.gif">&nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="tbxpass"
           ControlToValidate="TextBox3" ErrorMessage="密码不一致,请重新输入"></asp:CompareValidator></td>
   <td colspan="2" background="images/zuche_r4_c4.gif">&nbsp;</td>
   <td><img src="images/spacer.gif" width="1" height="66" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r5_c1.gif">&nbsp;</td>
   <td background="images/zuche_r5_c2.gif">&nbsp;<asp:TextBox ID="tbxrealname" runat="server"></asp:TextBox></td>
   <td colspan="3" background="images/zuche_r5_c3.gif">&nbsp;</td>
   <td><img src="images/spacer.gif" width="1" height="67" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r6_c1.gif">&nbsp;</td>
   <td colspan="4" background="images/zuche_r6_c2.gif">&nbsp;<asp:TextBox ID="tbxtel" runat="server"></asp:TextBox>
       <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="tbxtel"
           ErrorMessage="格式不正确" ValidationExpression="(\(\d{3}\)|\d{3}-)?\d{8}"></asp:RegularExpressionValidator></td>
   <td><img src="images/spacer.gif" width="1" height="75" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r7_c1.gif">&nbsp;</td>
   <td colspan="4" background="images/zuche_r7_c2.gif">&nbsp;<asp:TextBox ID="tbxaddress" runat="server"></asp:TextBox></td>
   <td><img src="images/spacer.gif" width="1" height="71" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r8_c1.gif">&nbsp;</td>
   <td colspan="4" background="images/zuche_r8_c2.gif">&nbsp;<asp:TextBox ID="tbxqq" runat="server"></asp:TextBox></td>
   <td><img src="images/spacer.gif" width="1" height="77" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r9_c1.gif">&nbsp;</td>
   <td colspan="4" background="images/zuche_r9_c2.gif">&nbsp;<asp:TextBox ID="tbxemail" runat="server"></asp:TextBox>
       <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="tbxemail"
           ErrorMessage="输入不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
   <td><img src="images/spacer.gif" width="1" height="58" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r10_c1.gif">&nbsp;</td>
   <td background="images/zuche_r10_c2.gif">&nbsp;<asp:Button ID="btnregist" runat="server" BackColor="#FFC080" BorderColor="#FFFFC0"
           BorderStyle="None" Font-Bold="True" Font-Overline="False" Font-Size="Smaller"
           ForeColor="#400000" Height="33px" Text="注  册 " Width="65px" OnClick="btnregist_Click" />
       &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
       <asp:Button ID="Button2" runat="server" BackColor="#FFC080" BorderColor="#FFFFC0"
           Font-Bold="True" ForeColor="#400000" Height="33px" Text="重  写" Width="65px" OnClick="Button2_Click" /></td>
   <td background="images/zuche_r10_c3.gif">&nbsp;</td>
   <td colspan="2" background="images/zuche_r10_c4.gif">&nbsp;</td>
   <td><img src="images/spacer.gif" width="1" height="74" border="0" alt="" /></td>
  </tr>
  <tr>
   <td background="images/zuche_r11_c1.gif">&nbsp;</td>
   <td background="images/zuche_r11_c2.gif">&nbsp;
       <div style="z-index: 101; left: 268px; width: 346px; position: absolute; top: 760px;
           height: 17px">
           超越星空工作室版权所有 QQ:53327949 hgybeyond@126.com</div>
   </td>
   <td colspan="2" background="images/zuche_r11_c3.gif">&nbsp;</td>
   <td><img name="zuche_r11_c5" src="images/zuche_r11_c5.gif" width="20" height="73" border="0" id="zuche_r11_c5" alt="" /></td>
   <td><img src="images/spacer.gif" width="1" height="73" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="5"><img name="zuche_r12_c1" src="images/zuche_r12_c1.gif" width="760" height="17" border="0" id="zuche_r12_c1" alt="" /></td>
   <td><img src="images/spacer.gif" width="1" height="17" border="0" alt="" /></td>
  </tr>
</table>
    </div>
        <div style="z-index: 103; left: 514px; width: 220px; position: absolute; top: 464px;
            height: 37px">
            毕业院校:<asp:TextBox ID="tbbyyx" runat="server"></asp:TextBox></div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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