protected void Page_Load(object sender, EventArgs e) { try { ClsBindDropdown bindddl = new ClsBindDropdown(); if (!IsPostBack) { if (Session["UserName"] == null) { Response.Redirect("FrmLogin.aspx"); } autoglname.ContextKey = Session["BRCD"].ToString(); bindddl.BindAccType(DDLMembType); Bindgrid(); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }