DataAdapter.update() and a DataSet in session

  • Thread starter Thread starter Galen Harris
  • Start date Start date
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
 
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.
 
Back
Top