edited ...
Printable View
edited ...
What is it writing in your text file? I just gave it a little test and something like this is just writing the values and no "dataset code."
vb.net Code:
Dim ds As New DataSet() ds.ReadXml(Application.StartupPath & "XmlTest.xml") Dim value As String Dim sw As New IO.StreamWriter("c:\test.txt") For Each dr As DataRow In ds.Tables(0).Rows value = dr.Item(0).ToString() sw.WriteLine(value) Next dr sw.Close()
Thanks allot for your help!
Managed to get it working!
thanks!
REP added