读取XML文件问题
我有一个XML文件格式如下:
<?xml version= "1.0 " encoding= "gb2312 "?>
<DATA000022200612>
<area>
<areaid> 110000 </areaid>
<item>
<PK>
<key> 10010001 </key>
<intervaltype> 5 </intervaltype>
</PK>
<value> 1878.85 </value>
<remark> </remark>
</item>
<item>
<PK>
<key> 10020001 </key>
<intervaltype> 5 </intervaltype>
</PK>
<value> 18550.94 </value>
<remark> </remark>
</item>
<item>
<PK>
<key> 10020002 </key>
<intervaltype> 5 </intervaltype>
</PK>
<value> 54130.9 </value>
<remark> </remark>
</item>
</area>
<area>
<areaid> 120000 </areaid>
<item>
<PK>
<key> 10010001 </key>
<intervaltype> 5 </intervaltype>
</PK>
<value> 2344.59 </value>
<remark> </remark>
</item>
<item>
<PK>
<key> 10020001 </key>
<intervaltype> 5 </intervaltype>
</PK>
<value> 10621.42 </value>
<remark> </remark>
</item>
</area>
</DATA000022200612>
我要把它读到DATAGRID中,显示格式如下:
areaid key value
110000 10010001 1878.85
110000 10020001 18550.94
110000 10020002 54130.9
120000 10010001 2344.59
120000 10020001 10621.42
请问代码应该怎么写啊?小弟刚学C#,