Hi,
I am trying to view an XML file into a DataGridView using Visual Studio 2010 express. After looking around i have come across this code
Dim filePath As String
filePath =
"path of file"
dsPara.ReadXml(filePath)
With DataGridView1
.DataSource = dsPara
.DataMember = "parameters"
End With
Can anyone see a problem with this? I get an error saying "parameters" cannot be created."
Cheers
I am trying to view an XML file into a DataGridView using Visual Studio 2010 express. After looking around i have come across this code
Dim filePath As String
filePath =
"path of file"
dsPara.ReadXml(filePath)
With DataGridView1
.DataSource = dsPara
.DataMember = "parameters"
End With
Can anyone see a problem with this? I get an error saying "parameters" cannot be created."
Cheers