dymadarlin
Programmer
I want to read a xml file from internet and put it into a table.
This is my code:
Dim xmlFilename As String = "
Dim fsReadXml As New System.IO.FileStream(xmlFilename, System.IO.FileMode.Open)
dim MyDataTable as New DataTable
MyDataTable.DataSet.ReadXml(fsReadXml)
And it produces the following error:
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll
Additional information: URI formats are not supported.
This is my code:
Dim xmlFilename As String = "
Dim fsReadXml As New System.IO.FileStream(xmlFilename, System.IO.FileMode.Open)
dim MyDataTable as New DataTable
MyDataTable.DataSet.ReadXml(fsReadXml)
And it produces the following error:
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll
Additional information: URI formats are not supported.