Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is ado.net full form?

1000


What does sqldatareader return?

969


What is datasource in ado.net?

1078


Explain the dataadapter class in ado.net?

1217


How do you update a dataset in ado.net and how do you update database through dataset?

929


What are ado.net objects?

1128


What is the full form of ado?

1019


How do you implement locking concept for dataset?

1005


What is the difference between the clone() and copy() methods of the dataset class?

1092


What are the disadvantages of using datalist?

1035


What is defaultview in datatable?

1032


Explain the role of data provider in ado.net?

994


describe the dataset object in ado.net.

961


Which is better ole db or odbc?

915


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

999