xml转dataset,对xml格式有要求
Dim ds_a As New DataSet
Dim dom As New Xml.XmlDocument
dom.LoadXml(xmlstr)
Dim reader As Xml.XmlNodeReader
reader = New Xml.XmlNodeReader(dom)
ds_a.ReadXml(reader)
reader.Close()
转载请注明出处:
未经允许不得转载:lxfamn » vb.net 处理xml