I have about 20 dropdown menus that I am creating where I want the same information to show up in each of the dropdown menus. Is there an easy way to bind database info to all 20 dropdown menus?
Yes, but the same data object can be used, so that you only retrieve it one time from the database, and then bind it to each of them (one at a time, as Zarcom has said)
Why don't you create a method that will do the actual binding, and then pass the dropdown object as a parameter. Theoretically, this should work. Then, you would just have 20 calls to the method, instead of repeating the binding lines. ________________________________________
Michael C Flanakin
Indigo Web Systems
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.