Пример #1
0
 protected void btnSave_Click1(object sender, EventArgs e)
 {
     try
     {
         contingency mm = new contingency();
         Int32 IsValidInsert = mm.PopulateSubTerms(Convert.ToInt32(ViewState["cont_id"].ToString()), txtdesc.Text.Trim(), ddldefault.SelectedItem.Value);
         DataSet dsGridResults = mm.FetchSubTermsData(Convert.ToInt32(ViewState["cont_id"].ToString()));
         PopulateDataGrid(dsGridResults, grd1);
     }
     catch (Exception)
     {
         throw;
     }
 }