Update with dataset

maxpic55

Member
Joined
Dec 16, 2002
Messages
15
Hello all,
I need to ask how I can update a dataset (or table of my database) from a datagrid1. I had tried but nothing. I can to insert only a new record with this command:
Me.SqlDataAdapter1.Update(DataSet11.Tables(0))
Thank you.

Maxpic55
 
If you have all the commands set up on your data adapter, then its Update() method that youre calling will handle the inserts/updates/deletes as necessary. Have you set all four commands on the dataadapter?
 
Back
Top