What is exactly meaning of disconnected and connected approach in ADO.NET

前端 未结 6 1828
孤城傲影
孤城傲影 2021-02-06 09:31

I am learning ADO.Net. I read this line:-

DataReader is \"connected\" approach and dataset is \"disconnected\" approach

From this

6条回答
  •  无人共我
    2021-02-06 09:48

    Disconnected = Make Connection , Fetch Data , Close Connection

    Connected = Make Connection , Keep Connection alive , Close Connection when close is called.

    For more information , please see the link on MSDN

提交回复
热议问题