Example #1
0
 protected void btn_sub_Click(object sender, EventArgs e)
 {
     try
     {
         bl.grp_nm = txt_nm.Text;
         bl.grp_id = Convert.ToInt32(dwd_grp.SelectedValue.ToString());
         dl.insetsubgrp(bl);
         ScriptManager.RegisterStartupScript(this, this.GetType(), "redirect", "alert('Sub Group Created successfully'); window.location='add_sub_grp.aspx';", true);
     }
     catch (Exception)
     {
     }
 }