急!如何在VB中显示XML中的数据
bgxy 2002-01-25 11:19:54 我创建了以下格式的XML文件,现想将"date","division","formname","inputprogress","marking","allsheetcount","item" 中的数据显示在VB里所对应的TextBox1~TextBox6,<result>中的item为多项,也绑定到另外所对应的textbox中(不使用ADO),应如何编写代码?请高手给出代码。
<?xml version="1.0" encoding="GB2312"?>
<Project>
<condition>
<date>2001-1-8</date>
<division>a</division>
<formname>b</formname>
<inputprogress>c</inputprogress>
<marking>d</marking>
<allsheetcount>5</allsheetcount>
</condition>
<result>
<item name="北京">1111</item></result>
<item name="东京">2222</item></result>
<item name="华盛顿">3333</item></result>
</Project>