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

📄 reg.aspx

📁 简单新闻管理系统一个采用Access数据库的新闻管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="reg" %>

<!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>
    <style type="text/css">
<!--
.STYLE1 {	font-size: 12px;
	color: #CC3300;
}
body {
	background-color: #E7E7CD;
}
.STYLE5 {color: #330000; font-size: 16px;}
.STYLE6 {font-size: 12px}
.STYLE8 {font-size: 12px; color: #000000; }
-->
    </style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
<form runat="server" id="form1">
<table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#996600">
  <tr>
    <td height="440" valign="top"><table width="770" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="31" background="image/saz.gif">&nbsp;</td>
        <td width="754" background="image/saz.gif"><img src="image/7655.jpg" width="13" height="11" /><span class="STYLE1">新闻资讯尽在其中……</span></td>
      </tr>
    </table>
      <table width="770" height="53" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="204" align="center" valign="middle" bgcolor="#E7E7CD"><img src="image/73333333333.gif" width="120" height="100" /></td>
          <td width="566" align="left" valign="bottom" bgcolor="#E7E7CD">&nbsp;</td>
        </tr>
      </table>
      <table width="770" height="40" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="40" align="center" valign="bottom" class="STYLE5">用户注册</td>
        </tr>
      </table>
      <table width="770" height="36" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="36" align="right">&nbsp;</td>
        </tr>
      </table>
      <table width="770" height="31" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="321" align="right"><span class="STYLE6">用户名:</span></td>
          <td>&nbsp;<asp:TextBox ID="TextBox1" runat="server" Width="245px"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                  ErrorMessage="用户名不能为空" Font-Size="8pt"></asp:RequiredFieldValidator></td>
        </tr>
      </table>
      <table width="770" height="32" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="321" align="right"><span class="STYLE8">密 码:</span></td>
          <td>&nbsp;<asp:TextBox ID="TextBox2" runat="server" Width="245px" TextMode="Password"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                  ErrorMessage="密码不能为空" Font-Size="8pt"></asp:RequiredFieldValidator></td>
        </tr>
      </table>
      <table width="770" height="30" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="321" align="right"><span class="STYLE6">E-mail:</span></td>
          <td>&nbsp;<asp:TextBox ID="TextBox3" runat="server" Width="245px"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
                  ErrorMessage="邮箱地址不能为空" Font-Size="8pt"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox3"
                  ErrorMessage="地址不正确" Font-Size="8pt" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
        </tr>
      </table>
      <table width="770" height="25" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="770" height="38" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="371">&nbsp;</td>
          <td width="103">&nbsp;
            <asp:Button ID="Button1" runat="server" ForeColor="#C04000" Text="清空" Width="79px" OnClick="Button1_Click" /></td>
          <td width="296">&nbsp;
            <asp:Button ID="Button2" runat="server" ForeColor="#C04000" Text="注册" Width="79px" OnClick="Button2_Click" /></td>
        </tr>
      </table></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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