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?

Answers were Sorted based on User's Feedback



What are the differences between Dataset and DataReader?..

Answer / kautilya

Dataset is in memory representation of the Database. where
you can create tables, relations between tables, add
primary key to tables and also manipulate the data
retrieved form the database. It allows us to work in
connection less environment.

Datareader is like forward only readonly cursor, which is
used to retrieve data. data manipulation is not possible
while using datareader. datareader continously keeps the
connection open.

Is This Answer Correct ?    13 Yes 0 No

What are the differences between Dataset and DataReader?..

Answer / saravanan

dataset is a connectionless service but data reader is a
connection oriented service..

Is This Answer Correct ?    7 Yes 0 No

What are the differences between Dataset and DataReader?..

Answer / 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

More ASP.NET Interview Questions

What are the page life cycle events?

0 Answers  


What kind of data can be stored in viewstate?

0 Answers  


Explain difference between dataset and recordset?

0 Answers  


Which two new properties are added in asp.net 4.0 page class?

0 Answers  


What is customer control and user control?

1 Answers   Perot Systems,


What is asp.net master page?

0 Answers  


What is the difference between Debug.Write and Trace.Write? When should each be used?

2 Answers   Infosys,


How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,


What is the life cycle of an asp.net page?

0 Answers  


In a Code-Behind class generally which type of code is found ?

3 Answers   Siebel,


How many web.config a application can have ?

6 Answers   Keane India Ltd, Manhattan, Vertex,


What is the difference between typeof() vs gettype()?

0 Answers  


Categories