Hi,
This is my XML File.
<?xml version="1.0" encoding="utf-8"?>
<locstrings>
<section name="section1">
<locstring ID="sectionID1">
<Name>SectionName1</Name>
</locstring>
</section>
<section name="section2">
<locstring ID="sectionID2">
<Name>SectionName2</Name>
</locstring>
<locstring ID="SectionID3">
<Name>SectionName3</Name>
</locstring>
</section>
</locstrings>
- I want to read this xml elements and bind(only Section name) into datagrid1 using Linq in C#.
- Based on DataGrid1 row selection, i want to display sectionID and sectionName in dataGrid2 using linQ.