K
Kalpesh
Hi,
Looking at the MSDN documentation, DataTable derives from a class named
"MarshalByValueComponent" - which implements IDisposable.
And, as a better practice - it is good to call .Dispose() on any class
that implements IDisposable
But, to my surprise, MSDN documentation or any sample doesnt explicity
make a call to .Dispose() when using instances of either DataTable,
DataSet, DataColumn etc
Can someone explain ?
Thanks
Kalpesh
Looking at the MSDN documentation, DataTable derives from a class named
"MarshalByValueComponent" - which implements IDisposable.
And, as a better practice - it is good to call .Dispose() on any class
that implements IDisposable
But, to my surprise, MSDN documentation or any sample doesnt explicity
make a call to .Dispose() when using instances of either DataTable,
DataSet, DataColumn etc
Can someone explain ?
Thanks
Kalpesh