Here is a simple example which writes to the first row of the first table in
the XML datafile. You should be able to take it from there.
Public Shared Function ChangeXMLData(strXMLDataFile as string, ,strNewData
as string) as boolean
try
Dim dt as Datatable
Dim ds as New DataSet
ds.ReadXml(strXMLFile, XmlReadMode.InferSchema)
Dim dt as Datatable = ds.tables(0)
dt.rows(0)("YourColumnFieldName") = strNewData
ds.WriteXML(strXMLDataFile)
return true
catch
return false
end try
end function