Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Load XML file into SilverLight Datagrid
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
XML
Titre:
How To Load XML file into SilverLight Datagrid
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01465454
Message ID:
01465454
Vues:
127
I am trying to load a XML file into a Silverlight Datagrid using VB. The datagrids ItemSource won't just take the name of the XML file, that would be too easy. It appears to need a list. So my question is, how do I create a list in VB from the XML within Silverlight?

Here is my XML file which right now is just a file inside the solutions.
Thanks for any help or insight/links
Kirk
<?xml version="1.0" encoding="utf-8" ?>
<ScheduleData>
  <case>
    <CaseID>12345</CaseID>
    <CaseDate>05/15/2010</CaseDate>
    <CaseTime>07:00</CaseTime>
    <CaseRoom>OR 01</CaseRoom>
    <Procedures>Lap Chole</Procedures>
  </case>
  <case>
    <CaseID>2222</CaseID>
    <CaseDate>05/15/2010</CaseDate>
    <CaseTime>09:00</CaseTime>
    <CaseRoom>OR 02</CaseRoom>
    <Procedures>Removal Of Hardware</Procedures>
  </case>

</ScheduleData>
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform