protected void btndel_Click(object sender, EventArgs e) { int id = Convert.ToInt32(ComboBox1.SelectedValue); bll cldelete = new bll(); cldelete.delclient(id); lbldelclient.Text = "Details Successfully Deleted"; Response.Redirect("updclietndet.aspx"); }