protected void DeleteSkill_Click(object sender, EventArgs e) { UserBO ob = new UserBO(); ob.skillName = SkillBox.Text; clsBLL obj = new clsBLL(); int rew = obj.DeleteSkillBLL(ob); if (rew == 1) { StatusBar.Text = "Done"; Response.Redirect("AdminSkill.aspx"); } else { StatusBar.Text = "Not Deleted"; } }