protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["UserName"] == null)
            {
                Response.Redirect("FrmLogin.aspx");
            }

            BindGrid();
            BindUnpassGrid();
            if (Rdb_Single.Checked == true)
            {
                Div_Lot.Visible    = false;
                Div_Single.Visible = true;
                btnSearch.Visible  = true;
                Btn_Submit.Visible = false;
                TxtInstNo.Focus();
            }
            else
            {
                Div_Lot.Visible    = true;
                Div_Single.Visible = false;
                btnSearch.Visible  = false;
                Btn_Submit.Visible = true;
                TxtFSetno.Focus();
            }
        }
    }
 protected void Rdb_Lot_CheckedChanged(object sender, EventArgs e)
 {
     try
     {
         Div_Lot.Visible    = true;
         Div_Single.Visible = false;
         btnSearch.Visible  = false;
         Btn_Submit.Visible = true;
         TxtFSetno.Focus();
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }