ADO.NET
i love you, and I hate you. (but i am happy to have found this forums)
I am writing a routine to take autoincrement tables from access 2000 and move them into SQL.
I am filling a DATATABLE with the custinfo table (using OLE)
I am sorting the data on column CUSTID (which is the autoincrement field in ACCESS)
OLEadapter.fill(datatable) custinf table
Then, i am looping through the rows and checking for gaps etc etc.
when I hit customer id # 1499 (the value in the column custid) i am at row position 896
the next row position in the datatable puts me a customer id # 1503..skipping 2 rows (there is no 1500), i am at row position 897
i found the two missing rows, 1501 and 1502 AT THE END of the datatable, in positions 915 and 916 (there are 916 rows returned by my query)
WHAT THE HECK IS THAT all about? THANKS!
i love you, and I hate you. (but i am happy to have found this forums)
I am writing a routine to take autoincrement tables from access 2000 and move them into SQL.
I am filling a DATATABLE with the custinfo table (using OLE)
I am sorting the data on column CUSTID (which is the autoincrement field in ACCESS)
OLEadapter.fill(datatable) custinf table
Then, i am looping through the rows and checking for gaps etc etc.
when I hit customer id # 1499 (the value in the column custid) i am at row position 896
the next row position in the datatable puts me a customer id # 1503..skipping 2 rows (there is no 1500), i am at row position 897
i found the two missing rows, 1501 and 1502 AT THE END of the datatable, in positions 915 and 916 (there are 916 rows returned by my query)
WHAT THE HECK IS THAT all about? THANKS!