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

📄 new.aspx

📁 多种模式留言系统 本留言系统 支持多种模式 一 签写留言模式 二 留言本模式 三 论坛模式 应用了第三的文本编辑器 支持动态更改网站标题 动态添加广告 支持留言头像选择
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="new.aspx.cs" Inherits="Default2" %>

<%@ Register Assembly="DXControls" Namespace="DXControls" TagPrefix="cc1" %>

<!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>
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="images/news.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
<div align="center">
  <table width="480" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td style="width: 479px"><table width="450" border="1" align="center" bordercolor="#FFCC66">
                        <tr>
                          <td style="width: 56px"><p>姓名:</p></td>
                          <td style="width: 129px">
                              <asp:TextBox ID="nametb" runat="server" Width="70px"></asp:TextBox>
                              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="nametb"
                                  Display="Dynamic" ErrorMessage="*">*</asp:RequiredFieldValidator></td>
                          <td style="width: 157px">留言标题:</td>
                          <td style="width: 149px">
                              <asp:TextBox ID="titletb" runat="server" Width="70px"></asp:TextBox>
                              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="titletb"
                                  Display="Dynamic" ErrorMessage="*">*</asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                          <td style="width: 56px">邮件:</td>
                          <td style="width: 129px">
                              <asp:TextBox ID="emailtb" runat="server" Width="70px"></asp:TextBox>
                              <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="emailtb"
                                  Display="Dynamic" ErrorMessage="格式错误" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                          <td rowspan="3" align="center" valign="middle" style="width: 157px"><asp:RadioButton ID="narb" runat="server" AutoPostBack="True" Checked="True" GroupName="sex"
                                  OnCheckedChanged="narb_CheckedChanged" Text="男" />
                              <asp:RadioButton ID="nvrb" runat="server" AutoPostBack="True" GroupName="sex" OnCheckedChanged="nvrb_CheckedChanged"
                                  Text="女" /><br />
                              <br />
                            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">                              </asp:DropDownList>
                            <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" Visible="False">                              </asp:DropDownList></td>
                          <td rowspan="3" style="width: 149px">
                              <asp:Image ID="faceimg" runat="server" ImageUrl="~/face/01.gif" />&nbsp;</td>
                        </tr>
                        <tr>
                          <td style="width: 56px">Q Q:</td>
                          <td style="width: 129px">
                              <asp:TextBox ID="qqtb" runat="server" Width="70px"></asp:TextBox>
                              <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="qqtb"
                                  Display="Dynamic" ErrorMessage="格式错误" ValidationExpression="[0-9]{5,9}">格式错误</asp:RegularExpressionValidator></td>
                        </tr>
                        <tr>
                          <td style="width: 56px">MSN:</td>
                          <td style="width: 129px">
                              <asp:TextBox ID="msntb" runat="server" Width="70px"></asp:TextBox></td>
                        </tr>
                        <tr>
                          <td style="width: 56px; height: 25px;">主页:</td>
                          <td style="width: 129px; height: 25px;">
                              <asp:TextBox ID="urltb" runat="server" Width="70px">http://</asp:TextBox></td>
                          <td style="width: 157px; height: 25px;">
                              <asp:CheckBox ID="mima" runat="server" AutoPostBack="True" Text="是否加密" TextAlign="Left" OnCheckedChanged="mima_CheckedChanged" /></td>
                          <td style="width: 149px; height: 25px;">密码:<asp:TextBox ID="pwdtb" runat="server" Enabled="False" Width="70px" TextMode="Password"></asp:TextBox></td>
                        </tr>
                        <tr>
                          <td colspan="4">
                              <cc1:dxtb id="concentdx" runat="server" height="100px" width="450px"></cc1:dxtb>                          </td>
                        </tr>
                        <tr>
                          <td colspan="4" align="center">&nbsp;<asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
                              <input id="Reset1" type="reset" value="重写" />
                              </td>
                        </tr>
                        
                      </table></td>
                    </tr>
    </table>
    &nbsp;&nbsp;</div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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