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

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="govAdd.aspx.cs" Inherits="manage_govAdd" %>
  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: 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" Width="200px" CssClass="txt" MaxLength="15"></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 style="width: 324px" align="center">
  49.                     <asp:Button ID="Button1" runat="server" Text="添 加" Width="66px" OnClick="Button1_Click" />
  50.                     <asp:Button ID="Button2" runat="server" CausesValidation="False" Text="重 置" OnClick="Button2_Click" /></td>
  51.                 <td style="width: 85px">
  52.                 </td>
  53.             </tr>
  54.         </table>
  55.     
  56.     </div>
  57.     </form>
  58. </body>
  59. </html>