Insert new row via dataset

G

Guest

I have a dataset that filled by me via datatables, and data rows, and not by dataadaptor
How can I associate this table with DB table, in order to insert a new row into the DB
 
W

William Ryan eMVP

Provided the schemas match , it's all in the update logic of whatever
dataadapter you want.. just map the columns you want to head back to the db
to the columns in your datatable. when the values change, the rowstate will
change and then the dataadapter will see them, just add a valid
update/insert/delete statement and you're off to the races.

Cheers,

Bill
 

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

Top