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 concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What are the ado.net objects?
What is the purpose of using adodb?
Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?
Which provider is used to connect ms access, oracle, etc…?
What are the different ado.net namespaces?
What is ado control?
Explian About DataAdapters
What is difference between executenonquery and executequery?
Explain ado.net features?
What is oledb driver?
Give few examples of datareader that is used in different dataproviders.
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
Why is stored procedure used in ado.net?
Which is faster ado.net or linq?