protected void butDeleteSchool_Click(object sender, EventArgs e) { // Will also need to add logic for removing the deleted school from // all the users who had it! long school = Convert.ToInt64(lboxSchools.SelectedValue); Schools.DeleteSchool(school); // reload the schools into a list. lboxSchools.DataSource = Schools.GetAllSchools(); lboxSchools.DataBind(); }