//数据绑定string strXml="<xml><m><a></a><b></b></m><m><a></a><b></b></m></xml>";DataSet ds=new DataSet();Stream stream=new MemoryStream(Encoding.Default.GetBytes(strXml));ds.ReadXml(stream);
GridView1.DataSource=ds;GridView1.DataBind();//end