best way to populate dropdown Lists

R

rbutch

guys, ive got an application. that (when all is said and done)
have over 320 dropdown listboxes.
i was loading these dynamically at page.Load.
i.e. == cboR1.Items.Add("somecode") etc

would it be better to just hard code this in?
they all have the same info, they just populate different textBoxes.

thanks for any advice on this approach.
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
E

Eliyahu Goldin

If they are all the same, why don't you create just one array and databind
all the ddls to it?

Eliyahu

rik butcher said:
guys, ive got an application. that (when all is said and done)
have over 320 dropdown listboxes.
i was loading these dynamically at page.Load.
i.e. == cboR1.Items.Add("somecode") etc

would it be better to just hard code this in?
they all have the same info, they just populate different textBoxes.

thanks for any advice on this approach.
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
 

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

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top