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 the use of data grid?
How do you update a dataset in ado.net and how do you update database through dataset?
Does ado.net use odbc?
What are disadvantages of microsoft-provided data provider classes in ado.net?
Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?
What are the steps you will take to improve performance?
What are two important objects of ADO.Net?
How to Read, Add, Update and Delete record in Entity Framework ?
Explain the basic use of "dataview" and explain its methods.
Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?
Explain the difference between an ado.net dataset and an ado recordset?
What is datasource in ado.net?
What is the difference between sqldatareader and sqldataadapter?
What is an ado connection?
What is data access pattern?