protected void categoryGrideView_RowDeleting(object sender, GridViewDeleteEventArgs e) { Label lblDlete = (Label)categoryGrideView.Rows[e.RowIndex].FindControl("lblcategory"); DataTable dt = dManager.DeleteCategory(lblDlete); categoryGrideView.DataSource = dt; categoryGrideView.DataBind(); }