Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attach a DataTable to a DataSet
Message
De
14/03/2005 09:59:57
 
 
À
13/03/2005 18:05:04
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
00995022
Message ID:
00995471
Vues:
15
Thanks Bonnie. It work, except that the table created in the DataSet can't be bounded to my combobox because the field names don't appear to be there. Must I define my table in the DataSet before importing the XML or is there a way to send back the XML and the XSD together from my BO?

>Yeah, examples of this don't seem to be easy to find, but it's quite easy to do:
>DataSet oData = new DataSet();
>StringReader sr = new StringReader(XML);
>oData.ReadXml(sr, XmlReadMode.InferSchema);
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform