SecurityRoles.aspx.cs
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:1k
- using System;
- using System.Collections;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Web;
- using System.Web.SessionState;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Web.UI.HtmlControls;
- using System.Security;
- using System.Security.Principal;
- using System.Web.Security;
- using System.Data.SqlClient;
- using qminoa.DA;
- namespace qminoa.Webs
- {
- /// <summary>
- /// SecurityRoles 的摘要说明。
- /// </summary>
- public class SecurityRoles : System.Web.UI.Page
- {
- public int FuncID=1;
- public int EmpID=-1;
- public String EmpRight="";
- private void Page_Load(object sender, System.EventArgs e)
- {
- if(Session["EmpID"]==null)
- Response.Redirect("../Login.aspx");
- else
- { EmpID=(int)Session["EmpID"];
- // Message.Text=EmpID.ToString();
- CheckEmpRight SysRight=new CheckEmpRight();
- // EmpRight=SysRight.GetEmpRight(EmpID,FuncID);
-
- }
- }
- #region Web Form Designer generated code
- override protected void OnInit(EventArgs e)
- {
- //
- // CODEGEN:该调用是 ASP.NET Web 窗体设计器所必需的。
- //
- InitializeComponent();
- base.OnInit(e);
- }
-
- /// <summary>
- /// 设计器支持所需的方法 - 不要使用代码编辑器修改
- /// 此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.Load += new System.EventHandler(this.Page_Load);
- }
- #endregion
- }
- }