config file

M

Mike

I am trying to develop a small app that will populate a pulldown from
information that is stored in a application config or settings file.
This info can be stored in XML but I need to get it to poulate my
form.

I am using vb.net and visual studio 2005


Any links or help would be greatly appreciated.


Thanks
Mike
 
C

Cor Ligthert[MVP]

Mike,

I think that the most simple one is


\\\
dim ds as dataset
ds.readXML(path)
Combobox.DataSource = ds (please keep normal control names and not a kind of
fancy pulldown, now I have to assume you call a combobx a pulldown)
Combobox.DislplayMemver = "The displayname"
Combobox.Value Member = "The value member can be the same as the
displaymember"
///

Cor
 
M

Mike

Thanks to you both for your replies I will be giving them a try shortly.
It's been a long time since I wrote any code so it's slower going than I had
thought.

Cheers,
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top