tyAdd.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="tyAdd.aspx.cs" Inherits="manage_tyAdd" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- <link href="../css/css.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <table class="txt" style="width: 483px; height: 303px">
- <tr>
- <td align="center" class="title" colspan="3">
- 新闻添加『体育世界』</td>
- </tr>
- <tr>
- <td style="width: 66px">
- 新闻类别:</td>
- <td style="width: 324px">
- <asp:DropDownList ID="DropDownList1" runat="server" Width="116px">
- <asp:ListItem>足球</asp:ListItem>
- <asp:ListItem>篮球</asp:ListItem>
- <asp:ListItem>竞技</asp:ListItem>
- <asp:ListItem>赛事跟踪</asp:ListItem>
- <asp:ListItem>体育趣闻</asp:ListItem>
- </asp:DropDownList></td>
- <td style="width: 85px">
- </td>
- </tr>
- <tr>
- <td style="width: 66px">
- 新闻标题:</td>
- <td style="width: 324px">
- <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" MaxLength="15" Width="200px"></asp:TextBox>(控制在15个字符以内)</td>
- <td style="width: 85px">
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
- ErrorMessage="**"></asp:RequiredFieldValidator></td>
- </tr>
- <tr>
- <td style="width: 66px">
- 新闻内容:</td>
- <td style="width: 324px">
- <asp:TextBox ID="TextBox2" runat="server" Height="211px" TextMode="MultiLine" Width="322px"></asp:TextBox></td>
- <td style="width: 85px">
- <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
- ErrorMessage="**"></asp:RequiredFieldValidator></td>
- </tr>
- <tr>
- <td style="width: 66px">
- </td>
- <td align="center" style="width: 324px">
- <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添 加" Width="66px" />
- <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click"
- Text="重 置" /></td>
- <td style="width: 85px">
- </td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>