shAdd.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="shAdd.aspx.cs" Inherits="manage_shAdd" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <link href="../css/css.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.         <table class="txt" style="width: 483px; height: 303px">
  12.             <tr>
  13.                 <td align="center" class="title" colspan="3">
  14.                     新闻添加『社会现象』</td>
  15.             </tr>
  16.             <tr>
  17.                 <td style="width: 66px">
  18.                     新闻类别:</td>
  19.                 <td style="width: 324px">
  20.                     <asp:DropDownList ID="DropDownList1" runat="server" Width="116px">
  21.                         <asp:ListItem>衣食住行</asp:ListItem>
  22.                         <asp:ListItem>大街小巷</asp:ListItem>
  23.                     </asp:DropDownList></td>
  24.                 <td style="width: 85px">
  25.                 </td>
  26.             </tr>
  27.             <tr>
  28.                 <td style="width: 66px">
  29.                     新闻标题:</td>
  30.                 <td style="width: 324px">
  31.                     <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" MaxLength="15" Width="200px"></asp:TextBox>(控制在15个字符以内)</td>
  32.                 <td style="width: 85px">
  33.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
  34.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  35.             </tr>
  36.             <tr>
  37.                 <td style="width: 66px">
  38.                     新闻内容:</td>
  39.                 <td style="width: 324px">
  40.                     <asp:TextBox ID="TextBox2" runat="server" Height="211px" TextMode="MultiLine" Width="322px"></asp:TextBox></td>
  41.                 <td style="width: 85px">
  42.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
  43.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  44.             </tr>
  45.             <tr>
  46.                 <td style="width: 66px">
  47.                 </td>
  48.                 <td align="center" style="width: 324px">
  49.                     <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添 加" Width="66px" />
  50.                     <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click"
  51.                         Text="重 置" /></td>
  52.                 <td style="width: 85px">
  53.                 </td>
  54.             </tr>
  55.         </table>
  56.     
  57.     </div>
  58.     </form>
  59. </body>
  60. </html>