Auto Populate DropDownList

C

csgraham74

HI,

ive been trying to find a resolution to problem regrding the population
of drop downlists dynamiclly. ie. i have their name stored in SQL
server and i want to be able to loop through this table and populate
each dropdownlist accordingly. the only method i seem to be able to
find is the method which loops all controls on the page and populates
the appropriate dropdownlists. We have implemented this but it works
way too slowly in our live environment when we hard code the names we
dont have an issue but i would prefer not to do it this way.

Is there any other method ?? i have tried the hashtable method but this
doesnt seem to work with DropDownLists - if someone woud have a working
example it would be greatly appreciated.

thanks

CG
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top