G
Guest
Hello,
I've a simple windows application and i want to be able to convert a csv
file to xml. So far, i can browse for the csv file from the file structure
and display in a textbox. I want to convert the displayed csv file in the
textbox to Xml and use the first line of the csv file as tags. I know there
will be different ways of doing this but i would like to keep it simple
because i am new to programming and the Visual Basic.Net environment. Any
help will be much appreciated.
Sample Input.csv
"Title", "Firstname", "Surname"
"Miss", "Lisa", "Simpson"
"Mr", "Joe", "Bloggs"
"Mrs", "Maggie", "Simpson"
Sample output.xml
<Data>
<Address>
<Title>Miss</Title>
< Firstname>Lisa</ Firstname>
< Lastname>Simpson</ Lastname>
</Address>
</Data>
Thanks........
I've a simple windows application and i want to be able to convert a csv
file to xml. So far, i can browse for the csv file from the file structure
and display in a textbox. I want to convert the displayed csv file in the
textbox to Xml and use the first line of the csv file as tags. I know there
will be different ways of doing this but i would like to keep it simple
because i am new to programming and the Visual Basic.Net environment. Any
help will be much appreciated.
Sample Input.csv
"Title", "Firstname", "Surname"
"Miss", "Lisa", "Simpson"
"Mr", "Joe", "Bloggs"
"Mrs", "Maggie", "Simpson"
Sample output.xml
<Data>
<Address>
<Title>Miss</Title>
< Firstname>Lisa</ Firstname>
< Lastname>Simpson</ Lastname>
</Address>
</Data>
Thanks........