troubleshooting Question

Help with loading data from one xml file to multiple Listboxes

Avatar of vcharles
vcharles asked on
.NET ProgrammingASP.NETVisual Basic.NET
2 Comments1 Solution271 ViewsLast Modified:

If I have an xml file with the following data. I am tryin to minimize the number of xml files in my project.


How do I load Listbox1 with CountryTable data and Listbox2 with ItemTable data?

Currently I ma using the following approach to load the components when they are in separate xml files.

        Dim CountryUser As New DataSet
        C1ACountryUser.DataSource = CountryUser.Tables(0)
        C1ACountryUser.DataMember = "Country"
        C1ACountryUser.DataTextField = "Country"
        C1ACountryUser.DataValueField = "Country_ID"

Rose Babu
Senior Head Of Enterprise Architecture

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros