使用方法:
using System.Data;
using System.Xml;
………………………….
DataSet myds=new DataSet();
myds.ReadXml(”yourxmlfilepath.xml”);
DataTable mytable=new DataTable();
mytable= myds.Tables[0];
String something;
something = mytable.Rows[1]["name"].ToString().Trim();
textBox1.Text=something;