protected void btn_Save_Click(object sender, EventArgs e)
 {
     try
     {
         if (Validate())
         {
             int       ActiveSt      = Convert.ToInt16(rbnSy.SelectedValue);
             DateTime  EffectiveDate = DateTime.Parse(txt_Date.Text.Trim(), provider, System.Globalization.DateTimeStyles.NoCurrentDateDefault).Date;
             DataTable dt            = new DataTable();
             dt = objDist.InsertInstituionsBAL(StateCode, ddl_dist_code.SelectedValue.ToString(), ddl_mandal_code.SelectedValue.ToString(), ddl_Institution.SelectedValue.ToString(), txtVillage.Text.ToString(), txtInstutionCode.Text, txtInstutionName.Text.Trim(), EffectiveDate, ActiveSt, UserName, "I", ConnKey);
             objCommon.ShowAlertMessage(dt.Rows[0][0].ToString());
             // txtInstutionCode.Text = "";
             txtInstutionCode.Text = "";
             txtInstutionName.Text = "";
             txtVillage.Text       = "";
             txt_Date.Text         = "";
             Viewdata();
         }
     }
     catch (Exception ex)
     {
         ExceptionLogging.SendExcepToDB(ex, Session["UsrName"].ToString(), Request.ServerVariables["REMOTE_ADDR"].ToString());
         Response.Redirect("~/Error.aspx");
     }
 }