Web/Admin/AddNews.aspx
(完整代码) 3KB<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNews.aspx.cs" Inherits="Web_Admin_AdminNews" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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>
</head>
<body style="text-align: center" bgcolor="#339999">
<form id="form1" runat="server">
<div style="vertical-align: middle; text-align: center">
<asp:Panel ID="Panel1" runat="server" BorderColor="Teal" BorderStyle="Double" Height="50px"
Width="125px" style="background-color: #339999">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table style="width: 555px; height: 377px; background-color: #339999;">
<tr>
<td colspan="4">
添加新闻</td>
</tr>
<tr>
<td style="font-size: small; width: 100px">
新闻题目:</td>
<td colspan="2" style="width: 3px; text-align: center">
<asp:TextBox ID="TxtName" runat="server" Style="text-align: left" Width="311px"></asp:TextBox> </td>
<td colspan="1" style="width: 11px">
<asp:RequiredFieldValidator ID="RFTitle" runat="server" ControlToValidate="TxtName"
ErrorMessage="RequiredFieldValidator" Style="font-size: small" Width="140px">*题目必须填写</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td rowspan="3" style="font-size: small; width: 100px; height: 254px">
新闻内容:</td>
<td colspan="2" rowspan="3" style="width: 3px; height: 254px">
<asp:TextBox ID="TxtContent" runat="server" Height="303px" Style="text-align: left"
TextMode="MultiLine" Width="315px"></asp:TextBox></td>
<td colspan="1" rowspan="3" style="width: 11px; height: 254px">
<asp:RequiredFieldValidator ID="RFContent" runat="server" ControlToValidate="TxtContent"
ErrorMessage="*请填写最新公告" Height="10px" Style="font-size: small" Width="140px"></asp:RequiredFieldValidator></td>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
</div>
<asp:Button ID="BtnSubmit" runat="server" Text="提交" OnClick="Button1_Click" />
<asp:Button ID="BtnCancel" runat="server" Text="取消" OnClick="BtnCancel_Click" />
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
