Beispiel #1
0
        protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            int id = (int)GridView1.DataKeys[e.RowIndex].Value;

            dataUser.deleteUser(id);
            Response.Redirect("Admin.aspx");
        }