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
Explain the difference between sqlcommand object and command behavior object?
What is disconnected data?
Explain the advantages and disadvantages of using datalist?
How to work with disconnected data - the dataset and sqldataadapter?
How is it possible to get 2 tables of data at a time by using data reader?
What is microsoft ado.net?
Explain why edit is not possible in repeater?
How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What are all the commands used with Data Adapter?
Define connection string?
Why is it important to close an ado.net application?
What is a control toolbox?
Give an example of a .net application which connects to microsoft access database using ado.net classes.
What is data view and variable view?
How to pass multiple tables in datasets simultaneously?