protected void btndelete_Click(object sender, EventArgs e) { RepositoryFile rf = new RepositoryFile(); int id = Convert.ToInt32(txtid.Text); rf.DeleteDetails(id); lbldelete.Text = "Product Deleted Successfully"; }
protected void btndelete_Click(object sender, EventArgs e) { RepositoryFile rf = new RepositoryFile(); int id = Convert.ToInt32(txtid.Text); rf.DeleteDetails(id); lbldelete.Text = "Product Deleted Successfully"; }