Esempio n. 1
0
        protected void GridViewCandidateList_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            int id = Convert.ToInt32(GridViewCandidateList.DataKeys[e.RowIndex].Value.ToString());

            vbl.DeleteCandidate(id);
            Response.Redirect("Admin");
        }