protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnSubmit.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnSubmit.Visible = true; /*ADD*/ } if (!IsPostBack) { if (Request.QueryString["UID"] != null) { Session["U_NAME"] = Request.QueryString["UID"].ToString(); } ddlCompanyBind(); ddlBankBind(); btnSubmit.Visible = false; } }
protected void TV1_SelectedNodeChanged(object sender, EventArgs e) { if (TV1.SelectedNode.Value.ToString() == "1") { Internal_LOV_COLLECTION L = new Internal_LOV_COLLECTION(); //L.SP_LOGIN_STATUS(LOG_CODE, "LOG-OUT"); Session["CompleteInformation"] = ""; //Response.Redirect("http://SW-ALI/Framework_Client/MasterPage/SystemLogin.aspx"); Response.Redirect(Session["EXP_PAGE"].ToString()); } else { string RG_ENC = ""; string s1 = ""; string[] ARY; s1 = TV1.SelectedNode.Value.ToString(); ARY = s1.Split('~'); if (ARY.Length <= 1) { } else { //PAGE_NAME = ARY[1].ToString() + "-" + Session["LOG_ROLE"].ToString(); //ARY[1] = lov.GET_RIGHTS(ARY[1].ToString(), LOG_ROLE).Tables[0].Rows[0][0].ToString(); ARY[1] = lov.GET_RIGHTS(ARY[1].ToString(), Session["LOG_ROLE"].ToString()).Tables[0].Rows[0][0].ToString(); Int64 AB = Convert.ToInt64(DateTime.Now.Ticks.ToString()) + 300000000; RG_ENC = Startup_Util.EncryptPWD(RG_ENC = ARY[1] + "~" + AB.ToString()); PAGE_NAME = ARY[0].ToString() + "?s1=" + RG_ENC.ToString(); LOV.SP_AUDIT_LOG_INSERT(Session["LOG_CODE"].ToString(), TV1.SelectedNode.Text, Startup_Util.UserPC, Startup_Util.UserIP, Startup_Util.UserMac); CK_IN(); } } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { //btnSearch.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { //btnSearch.Visible = true; /*ADD*/ } if (!Page.IsPostBack) { btnPrint.Attributes.Add("style", "visibility:hidden;"); //btnPrint.Attributes.Add("onclick", "return onPrint();"); btnPrint.Attributes.Add("onclick", "getPrint('Print_All');"); rbAccountEnquiry.Checked = true; ViewState["TYPE"] = "01"; rbAccountEnquiry_CheckedChanged(null, null); rbBranchEnquiry_CheckedChanged(null, null); } }
protected void Page_Load(object sender, EventArgs e) { ViewState["QS"] = Request.QueryString; Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); //Master.Authorize_Center_False(); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { TXT_NEW_USER.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { TXT_NEW_USER.Visible = true;/*ADD*/ } if (RGS_SUPPORT.Substring(3, 1) == "0") { Response.Redirect("../MasterPage/Default2.aspx"); /*QUERY*/ MessageClass.MessageBox.Show("Access Deined"); } if (!IsPostBack) { Session["COMCode"] = "%"; Session["ProductCode"] = "%"; Session["Mode"] = "V"; } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { BtnExport.Enabled = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { BtnExport.Enabled = true;/*ADD*/ } if (RGS_SUPPORT.Substring(3, 1) == "0") { Response.Redirect("../MasterPage/Default2.aspx"); /*QUERY*/ MessageClass.MessageBox.Show("Access Deined"); } Session["U_NAME"] = Request.QueryString["UID"].ToString(); if (!IsPostBack) { ViewState["CompanyCode"] = ""; GetCompany(); } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnUpdate.Visible = false; } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnUpdate.Visible = true; } if (!IsPostBack) { btnUpdate.Attributes.Add("onclick", "return funConfirm();"); ViewState["rowid"] = Request.QueryString["rowid"].ToString(); Get_Value(ViewState["rowid"].ToString()); GetStatusCodeBind(); } }
protected void Page_Load(object sender, EventArgs e) { try { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnUpload.Visible = false; } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnUpload.Visible = true; btnUpload.Visible = true; } Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["UserId"] = Session["U_NAME"].ToString(); if (!IsPostBack) { btnUpload.Attributes.Add("onclick", "return funConfirm();"); ViewState["FileName"] = ""; } } catch (Exception ex) { lbl_Message.Text = ex.Message; } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0")//For Authorize { btnUnpaid.Visible = false; btnAuthorized.Visible = true; } else if (RGS_SUPPORT.Substring(0, 1) == "1") //For Maker { btnUnpaid.Visible = true; btnAuthorized.Visible = false; GridView1.Columns[9].Visible = false; GridView1.Columns[10].Visible = false; } if (!IsPostBack) { if (Request.QueryString["UID"] != null) { Session["U_NAME"] = Request.QueryString["UID"].ToString(); } btnUnpaid.Visible = false; btnAuthorized.Attributes.Add("onclick", "return funConfirm();"); btnUnpaid.Attributes.Add("onclick", "return funConfirm();"); } lbl_msg.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); //ScriptManager sm = ScriptManager.GetCurrent(this.Page); //sm.RegisterPostBackControl(GridView1); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { GridView1.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { GridView1.Visible = true; /*ADD*/ } if (!IsPostBack) { if (Request.QueryString["UID"] != null) { Session["U_NAME"] = Request.QueryString["UID"].ToString(); DisplayFiles(); } } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnSubmit.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnSubmit.Visible = true; /*ADD*/ } if (!Page.IsPostBack) { btnSubmit.Attributes.Add("style", "visibility:hidden;"); btnSubmit.Attributes.Add("onclick", "return funConfirm();"); } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { //btnSearch.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { //btnSearch.Visible = true; /*ADD*/ } if (RGS_SUPPORT.Substring(4, 1) == "0") { Session["Authorize"] = "false"; //btnAuthorize.Visible = false; } else if (RGS_SUPPORT.Substring(4, 1) == "1") { Session["Authorize"] = "true"; } if (!Page.IsPostBack) { ViewState["ConnectionString"] = _dbConfig.ConnectionString; btnSubmit.Attributes.Add("style", "visibility:hidden"); } btnGetSymbolAcct_title.Attributes.Add("style", "visibility:hidden"); btnSubmit.Attributes.Add("onclick", "return OnConfirmGV();"); }
protected void Page_Load(object sender, EventArgs e) { /* ToolBar1.Items[0].Disabled = false; * ToolBar1.Items[1].Disabled = false; * ToolBar1.Items[2].Disabled = false; */ //Response.Redirect("../BlankPage.aspx"); Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { ToolBar1.Items[0].Disabled = true; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { ToolBar1.Items[0].Disabled = false; /*ADD*/ } if (RGS_SUPPORT.Substring(3, 1) == "0") { ToolBar1.Items[1].Disabled = true; /*QUERY*/ } else if (RGS_SUPPORT.Substring(3, 1) == "1") { ToolBar1.Items[1].Disabled = false; /*QUERY*/ } ToolBar1.Items[2].Disabled = false; }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnSubmit.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnSubmit.Visible = true; /*ADD*/ } if (!Page.IsPostBack) { //btnSubmit.Enabled = false; txtagent.Attributes.Add("readonly", "readonly"); btnSubmit.Attributes.Add("style", "visibility:hidden;"); btnSubmit.Attributes.Add("onclick", "return funConfirm();"); lblFieldTrans.Attributes.Add("style", "visibility:hidden;"); lblTransaction.Attributes.Add("style", "visibility:hidden;"); lblTotalFile.Attributes.Add("style", "visibility:hidden;"); lblTotalRecord.Attributes.Add("style", "visibility:hidden;"); ddlCompanyBind(); dllFilename(); } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnSubmit.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnSubmit.Visible = true; /*ADD*/ } if (!Page.IsPostBack) { //btnSubmit.Enabled = false; txtagent.Attributes.Add("readonly", "readonly"); btnSubmit.Attributes.Add("style", "visibility:hidden;"); btnSubmit.Attributes.Add("onclick", "return funConfirm();"); lblFieldTrans.Attributes.Add("style", "visibility:hidden;"); lblTransaction.Attributes.Add("style", "visibility:hidden;"); lblTotalFile.Attributes.Add("style", "visibility:hidden;"); lblTotalRecord.Attributes.Add("style", "visibility:hidden;"); ddlCompanyBind(); dllFilename(); // loadCombo(); //DataTable dt = new DataTable(); //DataRow dr=null; //dt.Columns.Add("FXCODE"); //dt.Columns.Add("BENENAME"); //dt.Columns.Add("BENEADDRESS"); //dt.Columns.Add("TRANSAMOUNT"); //dt.Columns.Add("ACCOUNTNUMBER"); //dt.Columns.Add("BANK"); //for (int i = 0; i < 6; i++) //{ // dr = dt.NewRow(); // dr[0] = i; // dt.Rows.Add(dr); //} //grdTransaction.DataSource = dt; //grdTransaction.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnSubmit.Visible = false; /*ADD*/ btnAuthorize.Visible = true; /*ADD*/ ViewState["Authorize"] = "true"; } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnSubmit.Visible = true; /*ADD*/ btnAuthorize.Visible = false; ViewState["Authorize"] = "false"; } if (RGS_SUPPORT.Substring(4, 1) == "0") { //ViewState["Authorize"] = "false"; } else if (RGS_SUPPORT.Substring(4, 1) == "1") { //ViewState["Authorize"] = "true"; } if (!Page.IsPostBack) { ViewState["ConnectionString"] = _dbConfig.ConnectionString; btnSubmit.Attributes.Add("style", "visibility:hidden;"); btnSubmit.Attributes.Add("onclick", "return funConfirm();"); btnAuthorize.Attributes.Add("style", "visibility:hidden;"); btnAuthorize.Attributes.Add("onclick", "return OnConfirmAuth();"); lblFieldTrans.Attributes.Add("style", "visibility:hidden;"); lblTransaction.Attributes.Add("style", "visibility:hidden;"); lblTotalFile.Attributes.Add("style", "visibility:hidden;"); lblTotalRecord.Attributes.Add("style", "visibility:hidden;"); ddlCompanyBind(); dllFilename(); Panel1.Attributes.Add("style", "visibility:hidden;"); btnGetAccount.Attributes.Add("style", "visibility:hidden;"); //btnGetSymbolAcct_title.Attributes.Add("style", "visibility:hidden;"); } }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack == false) { string[] ARY; string RGS_SUPPORT; Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(2, 1) == "0") { EditToolbar.Items[0].Disabled = true; /*Edit*/ } else if (RGS_SUPPORT.Substring(2, 1) == "1") { EditToolbar.Items[0].Disabled = false; /*Edit*/ } if (RGS_SUPPORT.Substring(4, 1) == "0") { EditToolbar.Items[1].Disabled = true; /*Authorize / Unauthorize*/ } else if (RGS_SUPPORT.Substring(4, 1) == "1") { EditToolbar.Items[1].Disabled = false; /*Authorize / Unauthorize*/ } DataSet DS = new DataSet(); DS = LOV.INS_CALL(); if (DS.Tables[0].Rows.Count > 0) { TXT_FILE.Text = DS.Tables[0].Rows[0][0].ToString(); } else { lblMessage.Text = "Path is not Defined."; } } }
protected void Page_Load(object sender, EventArgs e) { /* ToolBar1.Items[0].Disabled = false; * ToolBar1.Items[1].Disabled = false; * ToolBar1.Items[2].Disabled = false; */ //Response.Redirect("../BlankPage.aspx"); Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { BTN_NEW.Enabled = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { BTN_NEW.Enabled = true;/*ADD*/ } if (RGS_SUPPORT.Substring(3, 1) == "0") { Response.Redirect("../MasterPage/Default2.aspx"); /*QUERY*/ MessageClass.MessageBox.Show("Access Deined"); } //if (RGS_SUPPORT.Substring(0, 1) == "0") //{ ToolBar1.Items[0].Disabled = true; /*ADD*/} //else if (RGS_SUPPORT.Substring(0, 1) == "1") //{ ToolBar1.Items[0].Disabled = false; /*ADD*/} //if (RGS_SUPPORT.Substring(3, 1) == "0") //{ ToolBar1.Items[1].Disabled = true; /*QUERY*/} //else if (RGS_SUPPORT.Substring(3, 1) == "1") //{ ToolBar1.Items[1].Disabled = false; /*QUERY*/} //ToolBar1.Items[2].Disabled = false; }
protected void Page_Load(object sender, EventArgs e) { System.Net.NetworkInformation.NetworkInterface[] nics = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces(); System.Net.NetworkInformation.NetworkInterface adapter = nics[0]; System.Net.NetworkInformation.IPInterfaceProperties properties = adapter.GetIPProperties(); Startup_Util.UserMac = adapter.GetPhysicalAddress().ToString(); System.Net.IPHostEntry host; host = System.Net.Dns.GetHostByAddress(Request.ServerVariables["REMOTE_HOST"]); Startup_Util.UserPC = host.HostName; Startup_Util.UserIP = Request.ServerVariables["REMOTE_HOST"]; Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); string[] ARY; ARY = ST.Split('~'); string[] ARY1; ARY1 = ARY[0].Split('|'); Startup_Util.SSO_DB = ARY1[9].ToString(); //SINGLE SIGN ON CONNECTION STRING Startup_Util.SPDS_DB = ARY1[10].ToString(); //SPDS CONNECTION STRING Session["EXP_PAGE"] = ARY1[8].ToString(); Session["CompleteInformation"] = ARY1[5].ToString() + " | " + ARY1[6].ToString() + " | "; Label1.Text = Session["CompleteInformation"].ToString(); Session["LOG_CODE"] = ARY1[4].ToString(); Session["U_NAME"] = ARY1[5].ToString(); //I1.Attributes["src"] = "../MasterPage/Default2.aspx"; if (SSO_Control1.LoginStatus(Session["LOG_CODE"].ToString()) == 0) { Response.Redirect(Session["EXP_PAGE"].ToString()); } else { SSO_Control1.GearUp(ARY1[3].ToString(), ARY1[4].ToString()); } }
protected void Page_Load(object sender, EventArgs e) { ViewState["QS"] = Request.QueryString; Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); //Master.Authorize_Center_False(); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(2, 1) == "0") { UpdateButton.Visible = RGS_SUPPORT.Substring(0, 1) == "1" ? false : true; BTN_DELETE.Visible = RGS_SUPPORT.Substring(0, 1) == "1" ? false : true; btnedit.Enabled = false; /*Edit*/ } else if (RGS_SUPPORT.Substring(2, 1) == "1") { UpdateButton.Visible = RGS_SUPPORT.Substring(0, 1) == "1" ? false : true; BTN_DELETE.Visible = RGS_SUPPORT.Substring(0, 1) == "1" ? false : true; btnedit.Enabled = true; /*Edit*/ } btnautho.Visible = RGS_SUPPORT.Substring(4, 1) == "1" ? true : false; if (RGS_SUPPORT.Substring(3, 1) == "0") { Response.Redirect("../MasterPage/Default2.aspx"); /*QUERY*/ MessageClass.MessageBox.Show("Access Deined"); } if (!IsPostBack) { fillddllist(); FillGrid(); } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { btnSearch.Visible = false; /*ADD*/ } else if (RGS_SUPPORT.Substring(0, 1) == "1") { btnSearch.Visible = true; /*ADD*/ } if (!IsPostBack) { btnCheck.Attributes.Add("onclick", "IsIBANCheck()"); } }
protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); Session["RGS"] = "00000"; String ST = Startup_Util.DcryptionPWD(Request.QueryString[0].ToString()); ARY = ST.Split('~'); Session["RGS"] = ARY[0].ToString(); RGS_SUPPORT = Session["RGS"].ToString(); if (RGS_SUPPORT.Substring(0, 1) == "0") { GridView1.Columns[9].Visible = false; } else if (RGS_SUPPORT.Substring(0, 1) == "1") { GridView1.Columns[9].Visible = true; /*ADD*/ } if (Request.QueryString["UID"] != null) { Session["U_NAME"] = Request.QueryString["UID"].ToString(); } }