📄 itemadd.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ItemAdd.aspx.cs" Inherits="NewsItemManage_ItemAdd" %>
<!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>
<form id="form1" runat="server">
<div>
<div style="z-index: 101; left: 5px; width: 831px; position: absolute; top: 6px;
height: 174px">
<table style="width: 100%; height: 70px;">
<tr>
<td style="height: 23px; font-weight: bold; color: #ffffff; background-color: cornflowerblue;" align="left" colspan="2">
<asp:Label ID="Label1" runat="server" Text="添加栏目" Width="76px"></asp:Label></td>
</tr>
<tr>
<td align="center" style="width: 180px; height: 16px; background-color: aliceblue"
valign="middle">
<asp:Label ID="Label2" runat="server" Text="栏目名称" Height="9px"></asp:Label></td>
<td style="width: 1290px; height: 16px; background-color: aliceblue" valign="middle" align="left">
<asp:TextBox ID="txtItemName" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtItemName"
ErrorMessage="栏目名称不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="center" style="width: 180px; background-color: white; height: 16px;" valign="middle">
<asp:Label ID="Label3" runat="server" Text="栏目描述" Height="13px"></asp:Label></td>
<td style="width: 170px; background-color: white; height: 16px;" valign="middle">
<asp:TextBox ID="txtItemDescribe" runat="server" Width="281px"></asp:TextBox></td>
</tr>
<tr>
<td align="center" style="width: 180px; background-color: aliceblue; height: 16px;" valign="middle">
<asp:Label ID="Label4" runat="server" Text="栏目顺序" Height="11px"></asp:Label></td>
<td style="width: 1290px; background-color: aliceblue; height: 16px;" valign="middle">
<asp:TextBox ID="txtItemOrder" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtItemOrder"
ErrorMessage="栏目顺序不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
<asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtItemOrder"
Display="Dynamic" ErrorMessage="栏目顺序只能填数字" MaximumValue="999" MinimumValue="1"></asp:RangeValidator></td>
</tr>
<tr>
<td style="width: 180px; background-color: white; height: 16px;">
</td>
<td style="width: 170px; background-color: white; height: 16px;" valign="middle">
<asp:Button ID="btnSave" runat="server" Text="保存栏目" OnClick="btnSave_Click" /></td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -