protected void btndelete_Click(object sender, EventArgs e) { int id; id = Convert.ToInt32(cbcontrolname.SelectedValue); bll cldel = new bll(); cldel.delcontrol(id); Response.Redirect("updcontrols.aspx"); }