How do I create a module to parse a XML file and then populate differnt drop down menues?
Posted on 2009-03-30
I am very new to XML specially when it comes to software developing. I've work with it before but in web development. A frind of mine asked me to create a program using VB.NET to control his store and I thought that using XML was the best choice because of performance and it's easy to update.
I've created a XML file which holds the items he sells but trully, I don't know how to create a function inside a module to handle that file and then use it to populate different fields (text boxes, combo boxes, etc.) in a form.
The structure I'm using within XML is this:
<?xml version="1.0" encoding="utf-8"?>
I would like for example, to be able to display all food items in a grid or whatever, only when the Food cathegory is selected in a dropdown menu.
How can I do this?
Thanks in advance!