Migration from ADO to ADO.Net with SqlClient

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to get to terms with the use of updating through a data adaptor
in VS 2005.
The application allows the user to create forms and add fields and tables to
the database and so the code has to be generic.

In ADO, one can read the record,change the value and simply update:
RecordSet.Fields(FieldName)=SomeValue
RecordSet.Update

I can update a DataSet in a similar way, but how do I get the chages back to
the database? The data adaptor needs an UpdateCommand, but I cant find any
information about what this should be like.

Any help would be welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top