What we do with the object of ado.net dataset after using
it?Can we dispose it or can we set it nothing?Is it must or
not?
Answer Posted / chetan nandwana
This is not must as .Net have its own garbage collector.
but if you feel you have no need of this dataset anymore or
you wanna create it again next time them Better use Dispose
method of this as it Implements IDisposable interface
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is connection in ado.net?
What does datareader object do?
How to perform sorting on a table in ADO.NET?
What is the usage of the dataset object in ado.net?
Does executenonquery return a value?
Explain the dataadapter class in ado.net?
What are the classes in System.Data.Common Namespace?
What is ado circle?
What is adodb dll?
What is dataadapter in ado.net?
how Sequence to connect and retrieve data from database using dataset?
How to add an aggregate column?
What are the features of ado.net?
What is execute scalar in ado.net?
What are the major challenges in accessing data from a database?