share structure beetwneen dataset

S

silenius

hi

is there a way for two datasets to share the same structure?

I want to do this to reduce memory usage. because I use a lot of small
dataset wich use the same structure.

thanks
 
C

Christopher Kimbell

Hi,

I think you are out of luck, the DataTable class has a property that returns
the owning DataSet.
This would imply that the datatable can only belong to one DataSet.

Another way you could get around it, is to have a larger DataSet. Create a
class that inherits from this and add methods that loads the DataSet with
the relevant data for each use.

Chris
 

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