addnew.aspx
(完整代码) 2KB<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addnew.aspx.cs" Inherits="addnew" %>
<!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="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center ;font-size: 10pt; font-family: 宋体;">
<form id="form1" runat="server">
<div>
<table style="width: 550px; height: 194px; text-align: left; background-color: #edeeef;">
<tr>
<td style="width: 100px; height: 26px">
</td>
<td style="width: 450px; height: 26px">
<strong>添加新闻</strong></td>
</tr>
<tr>
<td style="width: 100px; height: 26px; text-align: right;">
新闻标题:</td>
<td style="width: 450px; height: 26px">
<asp:TextBox ID="TextBox1" runat="server" Width="209px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="必须输入新闻标题"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 100px; height: 31px; text-align: right;">
类别:</td>
<td style="width: 450px; height: 31px">
<asp:DropDownList ID="DropDownList1" runat="server" Width="120px">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 100px; height: 182px; text-align: right;" valign="top">
内容:</td>
<td style="width: 450px; height: 182px">
<asp:TextBox ID="TextBox2" runat="server" Height="150px" TextMode="MultiLine" Width="300px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
ErrorMessage="必须输入新闻内容"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 100px; height: 20px">
</td>
<td style="width: 450px; height: 20px">
<asp:Button ID="Button1" runat="server" Text="发布" OnClick="Button1_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。