share structure beetwneen dataset

  • Thread starter Thread starter silenius
  • Start date Start date
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
 
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
 
Back
Top