CommWEB/admin/WebInfo/WebGuidInfo.aspx.cs

(开头部分) 9KB

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

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

namespace CommWEB.admin.WebInfo
{
    public partial class WebGuidInfo : System.Web.UI.Page
    {
        CommLei.BLL.GuidList bll = new CommLei.BLL.GuidList();
        private int dataid ;

        public int DataID
        {
            get
            {
                if (ViewState["ID"]!= null)
                {
                    return int.Parse(ViewState["ID"].ToString());
                }
                return 0;
            }set { ViewState["ID"] = value; }
        }
        public int PID
        {
            get
            {
                if (ViewState["PID"] != null)
                {
                    return int.Parse(ViewState["PID"].ToString());
                }
                else
                {
                    return -1;
                }
            }
            set { ViewState["PID"] = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            Page.ClientScript.RegisterStartupScript(this.GetType(), "Msg", "window.parent.change_child_win();", true);
            strinfo.InnerHtml = "";
            strinfo.Visible = false;
            if (!IsPostBack)
            {
               
                if (!SessionBox.CheckUserSession())
                {
                    Response.Redirect("~/Error.aspx");
                }
                else
                {
                    //初始化模块权限
                    UserHandle.InitModule("Web_Guid");
后面还有 231 行代码,购买后查看完整代码

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

AI 解读 AI

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

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