Free for PREMIUM members
...the system.data namespace (ADONET) does not contain
unmanaged resources. Therefore there is no need to dispose any of those as
long as you have not added yourself something special to it.
using (DataTable dt = myClassAsInstanceObject.CreateCoolDataTable())
// do some cool data stuff
Open in new window
We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!