-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddCategory.aspx
50 lines (47 loc) · 2.62 KB
/
AddCategory.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddCategory.aspx.cs" Inherits="Manager_AddCategory" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style type="text/css">
.auto-style1 {
text-align: justify;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div class="auto-style1">
<strong> 论坛类别添加主界面</strong></div>
<asp:Panel ID="Panel1" runat="server" Height="459px" Width="806px">
<div class="auto-style1">
<br />
<asp:Label ID="Label1" runat="server" style="font-weight: 700" Text="论坛名称:"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" style="margin-left: 20px" Width="468px"></asp:TextBox>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox1" ErrorMessage="论坛名称不能为空" ForeColor="Red"></asp:RequiredFieldValidator>
<br />
<br />
<asp:Label ID="Label2" runat="server" style="text-align: center; font-weight: 700;" Text="论坛描述信息:"></asp:Label>
<br />
<asp:TextBox ID="TextBox2" runat="server" Height="194px" OnTextChanged="TextBox2_TextChanged" Rows="8" style="text-align: justify; margin-left: 108px" TextMode="MultiLine" Width="474px"></asp:TextBox>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox2" ErrorMessage="论坛描述信息不能为空" ForeColor="Red"></asp:RequiredFieldValidator>
<br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加类别" />
<br />
<br />
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
<br />
<br />
<asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/CategoryList.aspx">返回首页</asp:LinkButton>
</div>
</asp:Panel>
</form>
</body>
</html>