Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to dispose a DataSet
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01012057
Message ID:
01012064
Views:
19
Mike
Basically the problem is this. The table object does not dispose its memory contents. Over time if you were to add a table, add data then remove the table from the dataset it would never recover the memory.


So the answer is to recreate the dataset object. It doesnt really take any time (CPU that is) to do this so it shouldn't be a real performance hit.

Rodman
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform