1. The four core objects of net, Connection, establish a connection with a specific data source. Command executes commands on the data source. DataReader reads a forward-only and read-only data stream from the data source. DataAdapter fills the data into the DataSet to be included in System. In the Data.SqlClient namespace
2. The four core objects of Ole DB.net, OleDbConnection, OleDbCommand, OleDbDataReader and OleDbDataAdapter, are included in the System.Data.OleDb named control. This namespace needs to be introduced into the file. Currently, it is mainly used to access simple data such as Access and Foxpro. source.
3 Oracle DB .NET The four core objects corresponding to Oracle DB .NET are: OracleConnection, OracleCommand, OracleDataReader and OracleDataAdapter. These four objects are included in the System.Data.OracleClient named control, and this namespace needs to be introduced into the file. . . . . . .
Expand