⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_channeladd.aspx

📁 一、安装SQL数据库 1、 打开Microsoft SQL Server 企业管理器 2、 建立一个新的数据库
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Admin_ChannelAdd.Aspx.cs" AutoEventWireup="false" Inherits="XfokSite.Manage.Admin_ChannelAdd"  validateRequest="false"%>
<!--#include file="Admin_Header.Aspx" -->
<FORM runat="server">
	<table width="100%" border="0" align="center" cellPadding="5" cellSpacing="1">
      <tbody>
        <tr>
          <td class="bevel1" height="22"> 网站频道管理 </td>
        </tr>
        <tr bgColor="#f6f6f3">
          <td bgColor="#f6f6f3"><A style="FONT-WEIGHT: bold" href="Admin_Channel.Aspx">频道列表</A> <span style="FONT-WEIGHT: bold">|&gt;&gt;</span></td>
        </tr>
      </tbody>
    </table>
	<div id="add" style="DISPLAY: inline">
      <table width="100%" border="0" align="center" cellPadding="5" cellSpacing="1" bgColor="#ffffff">
        <tr>
          <td class="fm1" colSpan="2">添加频道</td>
        </tr>
      </table>
      <table width="100%" border="0" align="center" cellPadding="5" cellSpacing="1" class="bevel2">
        <tbody>
          <tr>
            <td width="10%" height="40">频道名称</td>
            <td width="50%" height="40">&nbsp;
                <asp:textbox id="ChannelName" runat="server" Columns="40"></asp:textbox>
      &nbsp;
                <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="ChannelName" ErrorMessage="*"></asp:requiredfieldvalidator>
            </td>
            <td vAlign="top" width="40%" rowSpan="7">
              <asp:label id="Status" style="COLOR: #ff0000" runat="server"></asp:label>
              <BR>
              <BR>
              <BR>
              <asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="错误的目录格式" ControlToValidate="ChannelDirectory"
												ValidationExpression="[a-zA-z0-9]{2,10}"></asp:RegularExpressionValidator>
            </td>
          </tr>
          <TR>
            <TD><FONT face="宋体">频道目录</FONT></TD>
            <TD><FONT face="宋体">&nbsp;</FONT>
                <asp:textbox id="ChannelDirectory" runat="server" Columns="40"></asp:textbox>
      &nbsp; </TD>
          </TR>
          <TR>
            <TD><FONT face="宋体">频道模板</FONT></TD>
            <TD>&nbsp;
                <asp:dropdownlist id="ChannelTemplate" runat="server" DataValueField="Template_Path" DataTextField="Template_Name"></asp:dropdownlist>
            </TD>
          </TR>
          <TR>
            <TD><FONT face="宋体">外部连接</FONT></TD>
            <TD>&nbsp;
                <asp:textbox id="ChannelUrl" runat="server" Columns="40"></asp:textbox>
            </TD>
          </TR>
          <TR>
            <TD>功能模块</TD>
            <TD height="30">&nbsp;
                <asp:dropdownlist id="TypeList" runat="server"></asp:dropdownlist>
            </TD>
          </TR>
          <TR>
            <TD>频道属性</TD>
            <TD height="30">&nbsp;
                <asp:DropDownList id="isSystem" runat="server">
                  <asp:ListItem Value="1">系统频道</asp:ListItem>
                  <asp:ListItem Value="0">外部频道</asp:ListItem>
                </asp:DropDownList>
            </TD>
          </TR>
          <TR>
            <TD>&nbsp;</TD>
            <TD height="30">&nbsp;
                <asp:button id="Submit" runat="server" Text="提交"></asp:button>
            </TD>
          </TR>
        </tbody>
      </table>
  </div>
</FORM> <!--#include file="Admin_Footer.Aspx" -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -