Ejemplo n.º 1
0
    protected void cmdDelete_Click(object sender, EventArgs e)
    {
        int deleted = AuthorAccess.DeleteAuthor(txtID.Text);

        if (deleted > 0)
        {
            FillAuthorList();
        }
    }
 protected void cmdDelete_Click(object sender, EventArgs e)
 {
     AuthorAccess.DeleteAuthor(lstAuthor.SelectedValue);
 }