如何将 XPathNodeIterator 与 WPF DataGrid 一起使用?这是我想做的:
Dim xpd As New Xml.XPath.XPathDocument("filename.txt")
Dim xpn As Xml.XPath.XPathNavigator = xpd.CreateNavigator
DataGrid1.DataContext = xpn.Select("/node1/node2")
如何将 XPathNodeIterator 与 WPF DataGrid 一起使用?这是我想做的:
Dim xpd As New Xml.XPath.XPathDocument("filename.txt")
Dim xpn As Xml.XPath.XPathNavigator = xpd.CreateNavigator
DataGrid1.DataContext = xpn.Select("/node1/node2")