Pulling XML data (nodes and attributes) into datagrid for easy insert, update, delete

Joined
Jan 21, 2009
Messages
2
Reaction score
0
Hi Folks,

I have this XML which looks like this

I have to pull this XML on the datagrid and should be able to insert, update and delete data from the datagrid.

<?xml version="1.0" encoding="utf-8"?>
<CMS>
<episodes>
<episode eNumber="1" ptOne="1" ptTwo="1" />
<episode eNumber="2" ptOne="1" ptTwo="0" />
<episode eNumber="3" ptOne="1" ptTwo="0" />
</episodes>
</CMS>

Earlier I was using the same XML but only with elements and not attributes and I got it all right! I am able to insert, update and delete. But this really is frustrating.

How can I use this XML to display data in a datagrid with 4 columns as follows

Serial no. | Episode Number | Part A | Part B | Edit | Delete
8)
Any help would be really appreciated.:stupido:
Thanks,
Aditi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top