Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing from Excel and the number of rows
Message
From
06/03/2007 22:26:52
 
 
To
06/03/2007 18:12:10
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01201276
Message ID:
01201340
Views:
25
However, even if the Excel file is empty, thus containing only the headers, I end up with 13 as the number of rows. How come nCount is not properly initialized?

Michel....

Since you're using VS2005, you can utilize the new debugger to find out what's in the dataset. So set a breakpoint after the Fill statement, and put the mouse over the object reference to the dataset. You should see a small magnifying glass - click on that, and VS2005 should display the debugger visualizer for the dataset/datatable. Take a look at the contents.

KG
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform