protected void btnAddNewIndustry_Click(object sender, EventArgs e)
        {
            AddNewIndustry addNewIndustry = new AddNewIndustry();
            string         newIndustry    = txtAddNewIndustry.Text;

            if (txtAddNewIndustry.Text != null)
            {
                addNewIndustry.industryDescription = newIndustry;
                BLL_handler.BLL_AddNewIndustry(addNewIndustry);
            }
            else
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "Scripts", "<script>alert('No new Industry entered');</script>");
            }
            ddlEmployerIndustry.DataSource     = BLL_handler.BLL_GetAllIndustries();
            ddlEmployerIndustry.DataTextField  = "IndustryDescription";
            ddlEmployerIndustry.DataValueField = "IndustryID";
            ddlEmployerIndustry.DataBind();
            txtAddNewIndustry.Text = null;
            txtChosenIndustry.Text = null;
            txtChosenIndID.Text    = null;
        }
 public bool BLL_AddNewIndustry(AddNewIndustry addNewIndustry)
 {
     return(dBAccess.AddNewIndustry(addNewIndustry));
 }