/// <summary> /// Handles the Click event of btnSaveSkills Control /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected void btnSaveSkills_Click(object sender, EventArgs e) { CurrentDesiredJobBAL currentDesiredJobBAL = new CurrentDesiredJobBAL(); DataTable dt = (DataTable)ViewState["SkillDetails"]; try { currentDesiredJobBAL.SaveRoleSkillsBAL(dt); Response.Write("<script language='javascript'>alert('Role Skills Details saved successfully')</script>"); } catch (Exception) { // throw; } finally { dt = null; currentDesiredJobBAL = null; } }