Пример #1
0
    protected void Delete(object sender, EventArgs e)
    {
        LinkButton lnkRemove = (LinkButton)sender;

        crud hapus = new crud();

        hapus.DeleteAdmin(lnkRemove.CommandArgument);

        Response.Write("<script>alert('Data Berhasil Dihapus');</script>");
        Response.Redirect("EditDeleteAdmin.aspx");
    }