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

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="tyAdd.aspx.cs" Inherits="manage_tyAdd" %>
  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:ListItem>竞技</asp:ListItem>
  24.                         <asp:ListItem>赛事跟踪</asp:ListItem>
  25.                         <asp:ListItem>体育趣闻</asp:ListItem>
  26.                     </asp:DropDownList></td>
  27.                 <td style="width: 85px">
  28.                 </td>
  29.             </tr>
  30.             <tr>
  31.                 <td style="width: 66px">
  32.                     新闻标题:</td>
  33.                 <td style="width: 324px">
  34.                     <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" MaxLength="15" Width="200px"></asp:TextBox>(控制在15个字符以内)</td>
  35.                 <td style="width: 85px">
  36.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
  37.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  38.             </tr>
  39.             <tr>
  40.                 <td style="width: 66px">
  41.                     新闻内容:</td>
  42.                 <td style="width: 324px">
  43.                     <asp:TextBox ID="TextBox2" runat="server" Height="211px" TextMode="MultiLine" Width="322px"></asp:TextBox></td>
  44.                 <td style="width: 85px">
  45.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
  46.                         ErrorMessage="**"></asp:RequiredFieldValidator></td>
  47.             </tr>
  48.             <tr>
  49.                 <td style="width: 66px">
  50.                 </td>
  51.                 <td align="center" style="width: 324px">
  52.                     <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添 加" Width="66px" />
  53.                     <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click"
  54.                         Text="重 置" /></td>
  55.                 <td style="width: 85px">
  56.                 </td>
  57.             </tr>
  58.         </table>
  59.     
  60.     </div>
  61.     </form>
  62. </body>
  63. </html>