protected void btnSave_Click(object sender, EventArgs e)
 {
     try
     {
         contingency mm = new contingency();
         Int32 IsValidInsert = mm.PopulateSubQuals(Convert.ToInt32(ViewState["cont_id"].ToString()), "dummy", txtdesc.Text.Trim(), ddldefault.SelectedItem.Value);
         DataSet dsGridResults = mm.FetchSubQualData(Convert.ToInt32(ViewState["cont_id"].ToString()));
         PopulateDataGrid(dsGridResults, grd1);
     }
     catch (Exception)
     {
         throw;
     }
 }