CommWEB/admin/WebInfo/WebContentList.aspx.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CommLei.BLL;
using CommLei.Lib;
using CommLeiWeb;


/**************************************
 * 模块:网站新闻管理
 * 作者:Lei
 * 日期: 2013-11-24
 * 网址:www.CommLei.com.cn
 * ***********************************/


namespace CommWEB.admin.WebInfo
{
    public partial class WebContentList : System.Web.UI.Page
    {
        CommLei.BLL.CommInfoList bll = new CommLei.BLL.CommInfoList();
        public string DataID
        {
            get {
                    return cobList.SelectedValue;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
           if (!SessionBox.CheckUserSession())
            {
                Response.Redirect("~/Login.aspx");
            }
           else
            {
                if (!IsPostBack)
                {
                    UserHandle.InitModule("Web_Content"); //初始化模块权限

                    //浏览权限
                    if (UserHandle.ValidationHandle(CommLei_Tag.Browse))
                    {
                        if (!UserHandle.ValidationHandle(CommLei_Tag.Add))
                        {
                            btn_add.Visible = false;
                        }
                        if (!UserHandle.ValidationHandle(CommLei_Tag.Delete))
                        {
                            btn_del.Visible = false;
                        }
                        if (!UserHandle.ValidationHandle(CommLei_Tag.Edit))
                        {
                            btn_save.Visible = false;
                        }
                        BindCobList();
后面还有 151 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。