Experts, I have a DataGridView and XML schema loaded into memory and saved as an XML file.
Please help me be able to import the data from the DataGrid into the XML schema and then saved to file.
So ideally the user would fill-in the datagrid with a few rows of information. Then they would click a "next" button, which needs to import the datagrid data into an XML schema and file.
Column names: modname, modtype, modacvmm, modnostrs, modpop
XML Schema:...snippet below: (note the variables in each node equal the DataGridView columns, but that isn't working as I hoped and that's partly what I need your help with)
Thank you very much for any help!!!
Dim myXml = <?xml version="1.0"?><Dataset>
<ModuleLibrary NAME=<%= Me.modname %> TYPE=<%= Me.modtype %> ACVMM=<%= Me.modACVMM %> STORES=<%= Me.modNoStrs %> POPULATION=<%= Me.modPop %>>
My.Computer.FileSystem.WriteAllText(datasetinstallpathVAR & "\" & datasetnmVAR & ".xml", myXml.ToString, False)