I have a datasgridview. I can populate it from an XML file like this:
this is linked to the file, so that if I change the data manually, it wil be saved in the file.
Now, I perform a webrequest, and get a webresponse. It is one record in XML, the same format as the file.
I want to add the new record to the datagridview, and the linked file. What is the syntax for doing this?
VB.NET:
Public ds As New DataSet
...
Dim xmlFile As XmlReader
xmlFile = XmlReader.Create("products.xml", New XmlReaderSettings())
ds.ReadXml(xmlFile)
dg_products.DataSource = ds.Tables(0)
this is linked to the file, so that if I change the data manually, it wil be saved in the file.
Now, I perform a webrequest, and get a webresponse. It is one record in XML, the same format as the file.
I want to add the new record to the datagridview, and the linked file. What is the syntax for doing this?