Read XML in VB.net

后端 未结 4 2115
渐次进展
渐次进展 2021-02-09 08:47

I have googled for the last hour or so with no luck (I\'d like to think I\'m a great googler too!), so here I am.

I have an XML file that I\'m using for my programs sett

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-09 09:33

    If you are familiar with datasets and datatables, this is an easy way to do it:

    Dim DS As New DataSet
    DS.ReadXml("Data.xml")
    

    DataSets can read any XML. I even use this to call rest-enabled XML services.

提交回复
热议问题