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

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="kjAdd.aspx.cs" Inherits="manage_kjAdd" %>
  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:ListItem>生命科学</asp:ListItem>
  24.                         <asp:ListItem>医疗发展</asp:ListItem>
  25.                         <asp:ListItem>考古发现</asp:ListItem>
  26.                         <asp:ListItem>地球环境</asp:ListItem>
  27.                         <asp:ListItem>国内教育</asp:ListItem>
  28.                         <asp:ListItem>国际校园</asp:ListItem>
  29.                         <asp:ListItem>教育问题</asp:ListItem>
  30.                     </asp:DropDownList></td>
  31.                 <td style="width: 85px">
  32.                 </td>
  33.             </tr>
  34.             <tr>
  35.                 <td style="width: 66px">
  36.                     新闻标题:</td>
  37.                 <td style="width: 324px">
  38.                     <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" MaxLength="15" Width="200px"></asp:TextBox>(控制在15个字符以内)</td>
  39.                 <td style="width: 85px">
  40.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
  41.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  42.             </tr>
  43.             <tr>
  44.                 <td style="width: 66px">
  45.                     新闻内容:</td>
  46.                 <td style="width: 324px">
  47.                     <asp:TextBox ID="TextBox2" runat="server" Height="211px" TextMode="MultiLine" Width="322px"></asp:TextBox></td>
  48.                 <td style="width: 85px">
  49.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
  50.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  51.             </tr>
  52.             <tr>
  53.                 <td style="width: 66px">
  54.                 </td>
  55.                 <td align="center" style="width: 324px">
  56.                     <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添 加" Width="66px" />
  57.                     <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click"
  58.                         Text="重 置" /></td>
  59.                 <td style="width: 85px">
  60.                 </td>
  61.             </tr>
  62.         </table>
  63.     
  64.     </div>
  65.     </form>
  66. </body>
  67. </html>