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

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="fzAdd.aspx.cs" Inherits="manage_fzAdd" %>
  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 style="margin-top: 0px; padding-top: 0px">
  9.     <form id="form1" runat="server">
  10.     <div>
  11.         <table class="txt" style="width: 545px; 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:ListItem>法律法规</asp:ListItem>
  24.                         <asp:ListItem>道德思考</asp:ListItem>
  25.                         <asp:ListItem>案件跟踪</asp:ListItem>
  26.                         <asp:ListItem>律师视点</asp:ListItem>
  27.                     </asp:DropDownList></td>
  28.                 <td style="width: 85px">
  29.                 </td>
  30.             </tr>
  31.             <tr>
  32.                 <td style="width: 66px">
  33.                     新闻标题:</td>
  34.                 <td style="width: 324px">
  35.                     <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" MaxLength="15" Width="200px"></asp:TextBox>(控制在15个字符以内)</td>
  36.                 <td style="width: 85px">
  37.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
  38.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  39.             </tr>
  40.             <tr>
  41.                 <td style="width: 66px">
  42.                     新闻内容:</td>
  43.                 <td style="width: 324px">
  44.                     <asp:TextBox ID="TextBox2" runat="server" Height="211px" TextMode="MultiLine" Width="384px"></asp:TextBox></td>
  45.                 <td style="width: 85px">
  46.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
  47.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  48.             </tr>
  49.             <tr>
  50.                 <td style="width: 66px">
  51.                 </td>
  52.                 <td align="center" style="width: 324px">
  53.                     <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添 加" Width="66px" />
  54.                     <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click"
  55.                         Text="重 置" /></td>
  56.                 <td style="width: 85px">
  57.                 </td>
  58.             </tr>
  59.         </table>
  60.     
  61.     </div>
  62.     </form>
  63. </body>
  64. </html>