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 are the differences between Dataset and DataReader?

Answer Posted / eduardo belmonte

A ds (dataset) can be used when the connection is closed.
A dr (datareader) needs the connection open to be used.

A ds can be used to modify or delete or insert data in the
database.
A data reader can be used only to read data

A ds can let you access the info on any order at any time.
A dr lets you access the info only one time per item and
only in a sequential order.

A ds data can be loaded in longer time than a dr can be
loaded at.

A ds can contain separated and structured data from several
database tables.
A dr can contain data in one register per item, that
register can include data from serveral tables id the sql
select statement so indicates, but it has no separate
structure per table.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of using MVC programming pattern in ASP.NET?

1075


What are the page life cycle events?

962


How ASP.NET page works?

1140


What is rending process in ASP.NET?

1122


What is the exact purpose of http handlers?

1060


What are url fragments?

948


What are the namespace classes used in asp.net mvc? : asp.net mvc

1083


What are the new data controls in asp.net 2.0?

1007


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

1041


Which is faster viewdata or viewbag?

1049


What is the significance of proxy user?

1147


Can you explain autopostback?

1036


What are the properties of the eventargs argument when capturing keyboard events?

1125


What are the different properties of server control that exists?

1215


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

1167