📄 admin_forum_view.aspx
字号:
<%@ Page language="c#" Codebehind="Admin_Forum_View.aspx.cs" AutoEventWireup="false" Inherits="Forum.Admin_Forum_View" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript (ECMAScript)" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="Forum.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form id="Admin_Forum_View" method="post" runat="server">
<asp:datalist id="dlfbView" runat="server" Width="100%" CellPadding="0" CellSpacing="0">
<ItemTemplate>
<asp:Table id="Table1" runat="server" CellPadding="4" CellSpacing="1" Width="100%">
<asp:TableRow AccessKey="H">
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center">版面参数设置</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面名称:</asp:TableCell>
<asp:TableCell>
<asp:Label ID="lblfbId" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Id") %>'>
</asp:Label>
<asp:TextBox id="tbxfbName" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Name") %>'>
</asp:TextBox>
<asp:RequiredFieldValidator id="Requiredfieldvalidator1" runat="server" ErrorMessage="版面名称不能为空" Display="None" ControlToValidate="tbxfbName"></asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面类别:</asp:TableCell>
<asp:TableCell>
<asp:Label ID="lblfbClass" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Class_Id") %>'>
</asp:Label>
<asp:DropDownList ID="tbxfbClass" Runat="server"></asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>应用模版:</asp:TableCell>
<asp:TableCell>
<asp:Label ID="lblfbBClass" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Class") %>'>
</asp:Label>
<asp:DropDownList ID="tbxfbBClass" Runat="server"></asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>认证版主:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxfbAdmin" runat="server" Columns="20" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Admin") %>'>
</asp:TextBox> 姓名用","隔开
<asp:RequiredFieldValidator id="Requiredfieldvalidator2" runat="server" ErrorMessage="版面版主不能为空" Display="None" ControlToValidate="tbxfbAdmin"></asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面类别:</asp:TableCell>
<asp:TableCell>
<asp:Label ID="tbxfbHiddenId" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Hidden") %>'>
</asp:Label>
<asp:DropDownList ID="tbxfbHidden" Runat="server">
<asp:ListItem Text="正规版面" Value="0"></asp:ListItem>
<asp:ListItem Text="认证版面" Value="1"></asp:ListItem>
<asp:ListItem Text="限制版面" Value="2"></asp:ListItem>
</asp:DropDownList> 正规版面没有限制,认证版面只有授权用户可以发表,限制版面只有版竹可以发言
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面用户:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxBoardUser" runat="server" TextMode= "MultiLine" Rows="8" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Users") %>'>
</asp:TextBox> 以换行为分割
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面图片:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxfbPicUrl" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_PicUrl") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件类型:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachType" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_AttachType") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件大小:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachSize" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_AttachSize") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件物理路径:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachPath" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_AttachPath") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件虚拟路径:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachVirtualPath" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_AttachVirtualPath") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面序号:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxTaxisNo" runat="server" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_TaxisNo") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell VerticalAlign="Top">版面备注:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxfbMark" runat="server" TextMode="MultiLine" Rows="8" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Mark") %>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</ItemTemplate>
</asp:datalist>
<TABLE width="100%">
<TR>
<TD align="middle">
<asp:Button id="btnFinish" Text="修 改" Runat="server"></asp:Button>
<asp:Button id="btnDel" Text="删 除" Runat="server"></asp:Button>
</TD>
</TR>
</TABLE>
<asp:ValidationSummary id="ValidationSummary1" runat="server" ShowMessageBox="True" DisplayMode="List" ShowSummary="False"></asp:ValidationSummary>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -