protected void btnSave_Click(object sender, EventArgs e)
 {
     try
     {
         if (ddlgroup.SelectedIndex == 0)
         {
             lblError.Text = "Please Select Group";
         }
         else
         {
             Groups.AddRoleGroup(Convert.ToInt32(ddlgroup.SelectedValue), Convert.ToInt32(ddlRole.SelectedValue), Convert.ToInt32(ddlSubRole.SelectedValue));
             lblInfo.Text = "Permission is Successfully Added";
         }
         ScriptManager.RegisterStartupScript(this, GetType(), "fadeOut", "fadeOut();", true);
     }
     catch (Exception ex)
     {
         new SqlLog().InsertSqlLog(0, "GroupPermission.aspx.btnSave_Click", ex);
     }
 }