VC ++ learning notes (5)

xiaoxiao2021-03-06  41

Menu and Acceleration keys use the same name: IDR_MAINFRAME When to access 16-bit database is absolutely unable to use ADO database. Database class CDatabase (ODBC) Cadoconnection (ADO) CrecordSet (ODBC) Cadorecordset (ADO) Cadocommand (ADO) has more flexible than Cadoconnection The query. CRecordView (ODBC) CadorecordView (ADO) allows you to view the retrieved data. Table: The phenotype recordset represents data within a table of the database. You can do anything for such a single table, including add, delete or Edit Record. Dynamic Set: When you need to query to extract information from one or more tables of the database, you will use a dynamic set record set. Like the phenotype record set, you can add, delete or edit the record snapshot in the dynamic record set. : This is a static copy of the data contained in the database one or more tables. Like the dynamic set, you must extract information by queries. Differently, you can't modify the content recorded in the snapshot. But Use the snapshot record set to find data or generate reports. Diffility of snapshots: 1. Cannot see the updates on the network, which may mean that your decision is based on old information. 2. Download these Record, it means that the heavy burden is added to the network during download. 3. Record download is the user's end, which means that network call performance becomes lower. Advantages: 1. Once the record is downloaded, the workstation needs The network activity is almost ok - this releases loans for other requests. 2. Means all the records of the application are in the user, so the user will actually get a more overall performance of the application. Dynaset (Dynasty) : Point to the actual pointer to each record of the application. Only the records required to fill the screen are downloaded. Table (Table): Apply only when DAO is used. Put all the queries to a temporary table.

转载请注明原文地址:https://www.9cbs.com/read-53218.html

New Post(0)