protected void btnAdd_Click(object sender, EventArgs e) { Income income = new Income(); // income.IncomeID= int.Parse(ddlIncomeID.SelectedValue); income.IncomeName = txtIncomeName.Text; int resutl = IncomeManager.InsertIncome(income); Response.Redirect("AdminDisplayIncome.aspx"); }