Hi
I'm reading a csv file with vb and writing it to an xml file. The file is quite big(12000+ lines) What would be the best way to convert the whole thing to XML? Currently I'm doing it line by line and its quite slow.
Printable View
Hi
I'm reading a csv file with vb and writing it to an xml file. The file is quite big(12000+ lines) What would be the best way to convert the whole thing to XML? Currently I'm doing it line by line and its quite slow.
there is no such thing as a "generic" conversion from CSV (a data storage format) to XML (a markup language) so you'll have to be more specific if you expect anyone to know what you're talking about.
I would open the file as an ADO recordset then Save the recordset as XML.