G
Guest
I use in my asp.net code dataset and populate datatable using dataadapter.
The problem is that my code demand huge amount of memory and I am looking
for way reduce this demand.
At this time I keep links to dataset, dataadapter and datatable in session.
As I understand datatable is class and specific datatable does not belong
directly to dataset and using the same dataadapter I can populate two
datatables different way from the same real table. Does it mean that if I
move dataset to application level and limit scope of dataadapter and
datatable to specific page I will save in memory. Or better to keep dataset
on level of session collection?
The problem is that my code demand huge amount of memory and I am looking
for way reduce this demand.
At this time I keep links to dataset, dataadapter and datatable in session.
As I understand datatable is class and specific datatable does not belong
directly to dataset and using the same dataadapter I can populate two
datatables different way from the same real table. Does it mean that if I
move dataset to application level and limit scope of dataadapter and
datatable to specific page I will save in memory. Or better to keep dataset
on level of session collection?