Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO.net problem

Status
Not open for further replies.

angor

Programmer
Sep 25, 2005
12
UA
I am using ado.net. Have the following problem. in a listbox I display the names taken from a database table,when I select one of them and press the button i'd like to remove this item (the row) from the base.
(I do that in the DataSet, and then update the database). The problem is that the following code is not working

Code:
objDataSetEditing.advertisements.RemoveadvertisementsRow objDataSetEditing.advertisements.FindByadvertisement 1

Please help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top