protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         if (!IsPostBack)
         {
             if (Session["UserName"] == null)
             {
                 Response.Redirect("FrmLogin.aspx");
             }
             bd.BindHeading(ddlHeading);
             bd.BindHeadingCover(ddlheading1);
             if (ddlSelection.SelectedValue == "0")
             {
                 div_Cover.Visible    = true;
                 div_trans.Visible    = false;
                 div_passbk.Visible   = false;
                 Div_covergrd.Visible = true;
                 bindgrid();
                 ddlheading1.Focus();
             }
             else
             {
                 div_Cover.Visible    = false;
                 div_trans.Visible    = true;
                 div_passbk.Visible   = true;
                 Div_covergrd.Visible = false;
                 bindgrid();
                 ddlHeading.Focus();
             }
         }
     }
     catch (Exception ex)
     {
         ExceptionLogging.SendErrorToText(ex);
     }
 }