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?
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.