protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { if (Request.QueryString["Rahcode"] != null) { CtlChangePelak.RahCode = Request.QueryString["Rahcode"].ToString(); } if (Request.QueryString["RequestTrafficID"] != null) { CtlChangePelak.RequestTrafficID = Request.QueryString["RequestTrafficID"].ToString(); } CtlChangePelak.bindPElak(); } }
protected void Page_Load(object sender, EventArgs e) { if (Session["Code"].ToString() != Request.QueryString["Code"].ToString()) { return; } if (!Page.IsPostBack) { CtlChangePelak.RahCode = Session["Code"].ToString(); CtlChangePelak.RequestTrafficID = Request.QueryString["rid"].ToString(); CtlChangePelak.PersonalID = Request.QueryString["pid"].ToString(); CtlChangePelak.bindPElak(); CtlChangePelak.VisibleJanbaz = false; } //if (Request.QueryString["Rahcode"] != null) //{ Lbl_RahCode.Text = Request.QueryString["Rahcode"].ToString(); } //if (Request.QueryString["RequestTrafficID"] != null) // Lbl_RequestTrafficID.Text = Request.QueryString["RequestTrafficID"].ToString(); //bindPElak(); }