|
Purpose: The existing system uses the Oracle database, and the program must import the data in the SqlServer database. When synchronizing, it is distinguished by X_ID. If the Oracle database exists, it does not need to be imported.
I implemented it this way: I used two Datasets to store Oracle data and SQLServer data, and then used a For loop to determine whether the A_ID in SqlServer exists in Oracle. If it exists, I deleted it from the DataSet, and finally got the recordset to be imported.
The problem is: because the data set in the resulting DataSet is very large, there are thousands, so paging in the DataGrid is particularly slow!
Please master how to deal with it? |
|