Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing from Excel and the number of rows
Message
De
06/03/2007 22:26:52
 
 
À
06/03/2007 18:12:10
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01201276
Message ID:
01201340
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform