Home > Net >  Want to ask friends, questions about the DataReader and dataadapters
Want to ask friends, questions about the DataReader and dataadapters

Time:10-07

Web development recently in considering a problem, do read the database, is good and dataadapters DataReader better? If use dataadapters, read the data that is at once, then use the DataSet or save the DataTable, and don't need to keep this way with the database connection, but individuals feel more resources, if use DataReader, and always keep with the database connection, may access the user the benefit of a problem, want to ask you which way is better in the actual project?

CodePudding user response:

Dataadapters bai, the dataset is mapped to the entity class's fast and convenient
  •  Tags:  
  • C#
  • Related