DataAdapter.update() and a DataSet in session

G

Galen Harris

Hi.

We want to use a DataAdapter's update method to store changes to a dataset
back to the database. What's the best approach, if that dataset is being
stored in session and passed around the site, effectively disconnecting it
from its original adapter. By the time we get to use the update method, the
original DataAdapter is long gone.

Thanks,
Galen
 
P

Patrik Löwendahl

You will need to recreate an adapter, reflecting the one that was used to
fill the dataset since the dataset carries no information with it about the
underlying data source.
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top