Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a cursor
Message
De
03/01/2005 02:11:33
 
 
À
03/01/2005 01:17:17
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00973741
Message ID:
00973755
Vues:
15
>I would turn the XML into a DataSet and bind the DataGrid to the DataTable in the DataSet. Use the DataSet.ReadXML() method to do this.
>
>// If your XML is already in a string:
>StringReader sr = new StringReader(XML);
>Data.ReadXml(sr, XmlReadMode.InferSchema);
>Data.AcceptChanges();
>
>// - or -
>
>// If you need to get the XML from a file
>this.ReadXml("MyXML.xml", XmlReadMode.InferSchema);
>
Thanks, I will keep this one for reference. It turned out that I dropped a Web browser control on the form and created a HTML file that I use for the visual representation.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform