Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Load XML file into SilverLight Datagrid
Message
 
To
All
General information
Forum:
ASP.NET
Category:
XML
Title:
How To Load XML file into SilverLight Datagrid
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01465454
Message ID:
01465454
Views:
126
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>
Next
Reply
Map
View

Click here to load this message in the networking platform