protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string _prm = Request.QueryString[0].ToString(); lblid.Text = Request.QueryString["id"].ToString(); lblprj.Text = Request.QueryString["Prj"].ToString(); if (_prm.Substring(0, 1) == "1") { Setting(1); } else { Setting(0); } comment_basket _objbasket = new comment_basket(); _objbasket.clear(); if (lblprj.Text == "HMIM" || lblprj.Text == "HMHS") { Get_ProjectName(); } else { dvfixedhead.Visible = false; dvfixedcontent.Style.Add("Top", "0px"); } trBuilding.Visible = (lblprj.Text == "HMIM" || lblprj.Text == "HMHS" || lblprj.Text == "AZC" || lblprj.Text == "123" || lblprj.Text == "demo") ? true : false; } }
protected void Page_Load(object sender, EventArgs e) { _ReadCookies(); if (!IsPostBack) { string _prm = Request.QueryString[0].ToString(); if (_prm.Substring(0, 1) == "1") { lblid.Text = _prm.Substring(_prm.IndexOf("_T") + 2); lblprj.Text = _prm.Substring(1, _prm.IndexOf("_T") - 1); Setting(1); } else { lblprj.Text = _prm.Substring(1); Setting(0); lblid.Text = "0"; } comment_basket _objbasket = new comment_basket(); _objbasket.clear(); } }