I am learning ADO.Net. I read this line:-
DataReader is \"connected\" approach and dataset is \"disconnected\" approach
From this
Connected architecture: In connected model we can connect any application to database and stays connected to the database system even when it is not using any database operations. For this architecture, we use Connection
, Command
and DataReader
.
Disconnected architecture: In disconnected model we connect any application to database until we call the close method. In this architecture we use DataSet
and DataAdapter
.