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 ado.net full form?
What does sqldatareader return?
What is datasource in ado.net?
Explain the dataadapter class in ado.net?
How do you update a dataset in ado.net and how do you update database through dataset?
What are ado.net objects?
What is the full form of ado?
How do you implement locking concept for dataset?
What is the difference between the clone() and copy() methods of the dataset class?
What are the disadvantages of using datalist?
What is defaultview in datatable?
Explain the role of data provider in ado.net?
describe the dataset object in ado.net.
Which is better ole db or odbc?
What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?