Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a column type in a dataset
Message
De
06/03/2007 11:01:11
 
 
À
06/03/2007 10:19:48
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:
01201032
Message ID:
01201053
Vues:
19
If you already know what the structure of the DataSet will be, start out with an .xsd already pre-defined with the datatypes, add the .xsd to your Solution and VS will generate a Typed DataSet for you. Then import your Excel into that Typed DataSet that was generated from the .xsd.

I'm assuming this will work, but I haven't messed with importing Excel data.

~~Bonnie


>I am importing an Excel sheet into a dataset. So, of course, everything is now in character type. How can I update the dataset to specify that some columns are not integer and types like that?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform