How to dispose of all datasets to save memory space?
hi,
How do I dispose a dataset or datatable after it is being used?
is it
dataset.Dispose();
How do I dispose the garbage collector of all datasets that are used previously?
is it
GC.Collect();
but it does not work.
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Andrzej WegierskiRank #1,729 · 877 reputationPosted Mar 9, 2004, 10:12 PM EST
sunspotzzz49 reputationPosted Mar 9, 2004, 10:39 PM EST
Andrzej WegierskiRank #1,729 · 877 reputationPosted Mar 9, 2004, 10:52 PM EST
sunspotzzz49 reputationPosted Mar 9, 2004, 11:14 PM EST
Andrzej WegierskiRank #1,729 · 877 reputationPosted Mar 9, 2004, 11:32 PM EST