简体   繁体   中英

Why is OleDbDataAdapter needed?

Everything is possible with the OleDBDataReader class. ExecuteReader() for SELECT statements, and ExecuteNonQuery() for DELETE, UPDATE and INSERT statements.

So why is OleDbDataAdapter class needed?

From OleDbDataAdapter Class

Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM