Hi,
You've defined ch as an oledbcommandbuilder on da1 but you have not given it a SQL Update statement or procedure to run on the update. You also haven't specified that it is the Update command for da1.
I think what you are looking for is this:
ch.GetUpdateCommand()
da1.Update(ds)
Update a DataAdaptor Microsoft
G_Waddell
Practically a Master Poster
618 posts since Nov 2009
Reputation Points: 107
Solved Threads: 92
Skill Endorsements: 5