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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting rows from database

Status
Not open for further replies.

sillysod

Technical User
Jan 6, 2004
300
GB
Hi There,

I am using vb.net to load a list of orders from a database.

I am able to delete rows from within the datatable and the row disappears from the datatable (i have checked using a bound datagrid)

However when i call myda.update the records arent deleted from the underlying table, when i refill the dataset they are still there

i have tried calling myds.acceptchanges before doing the update


I am able to amend / add records without any problem

Does anyone have any ideas?>
 
NB No exceptions are returned / errors occur
 
doh, though remove and delete did the same thing :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top