I have a very basic question.
I am populating a datagrid from an XML file, ie. binding datagrid to XML
The datagrid has 4 template columns - ID (label), Episode Name (label), Part A (checkbox), Part B (checkbox).
What I want to do is remove the nodes "<name>" from the XML and statically populate the "Episode Name" column of the datagrid using hard-coded values.
Can I do it at the same time when the XML is getting bound to the datagrid?
The Episodes XML is as follows -
<?xml version="1.0" standalone="yes"?>
<CMS>
<Episode>
<name>Communicating Effectively</name>
<partOne>0</partOne>
<partTwo>0</partTwo>
</Episode>
<Episode>
<name>Managing Conflict</name>
<partOne>0</partOne>
<partTwo>0</partTwo>
</Episode>
</CMS>
Thanks in advance,
Aditi