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

📄 lossinfreport.aspx.cs

📁 c#三层架构项目开发的全过程
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 金利来分销管理系统.Loss
{
    public partial class LossInfReport : System.Web.UI.Page
    {
        BLL.Employee.EmployeeBll employeebllshow;
        public LossInfReport()
        {
            employeebllshow = new BLL.Employee.EmployeeBll();

        }
        protected void Page_Load(object sender, EventArgs e)
        {
              //用户权限
            if (Session["employee_id"] == null)
            {
                Response.Write("请您登陆系统");
            }
            else
            {
                if (employeebllshow.UserRole(Session["role_id"].ToString(), "26") == false )
                {
                    Response.Write("<script>alert('你无权查看此功能,请与管理员联系');location.href='../Aboutus.aspx'</script>");
                }
            }
        }
    }
}

⌨️ 快捷键说明

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