govAdd.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="govAdd.aspx.cs" Inherits="manage_govAdd" %>
- <!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 style="margin-top: 0px; padding-top: 0px">
- <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:DropDownList></td>
- <td style="width: 85px">
- </td>
- </tr>
- <tr>
- <td style="width: 66px">
- 新闻标题:</td>
- <td style="width: 324px">
- <asp:TextBox ID="TextBox1" runat="server" Width="200px" CssClass="txt" MaxLength="15"></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 style="width: 324px" align="center">
- <asp:Button ID="Button1" runat="server" Text="添 加" Width="66px" OnClick="Button1_Click" />
- <asp:Button ID="Button2" runat="server" CausesValidation="False" Text="重 置" OnClick="Button2_Click" /></td>
- <td style="width: 85px">
- </td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>