Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: Updating with the data adapter


Message #1 by Kyle@T... on Wed, 26 Dec 2001 14:30:23
I have successfully filled a dataset using the data adapter, added new 

records to the dataset with the NewRecord function and updated the source 

database with one call to the data adapter Update function.  When I 

change the data in the fields of the dataset and call the data adapter 

Update function I thought the source database would get updated with the 

one call.  It's not working for me.  The only way I have been able to 

update the source database was to write a command and use 

ExecuteNonQuery.  What is the C# or VB.NET syntax for updating the source 

database after the fields in the dataset have been changed using the data 

adapter?

  Return to Index