I am learning ADO.Net. I read this line:-
DataReader is \"connected\" approach and dataset is \"disconnected\" approach
From this
The ADO.net architecture, in which connection must be kept open till the end to retrieve and access data from database is called as connected architecture. Connected architecture is built on the these types - connection
, command
, datareader
The ADO.net architecture, in which connection will be kept open only till the data retrieved from database, and later can be accessed even when connection to database is closed is called as disconnected architecture. Disconnected architecture of ADO.net is built on these types - connection
, dataadapter
, commandbuilder
and dataset
and dataview
.