E
Ethan V
I have a few options regarding populating the state combo box
1. On page load, get the 50 states from the database
2. On application start, get the 50 states from the database and cache them
in application cache. On page load, get the states from application cache
3. Create a class in App Code folder, declare a public string array
property, hard code the 50 states. On page load, call this property to get
the 50 states
4. Create a states user control which contain a combo box, with 50 states
hard coded in design time
Please share with me how you usually bind your states combo box. Your
thoughts and recommendations are greatly appreciated.
1. On page load, get the 50 states from the database
2. On application start, get the 50 states from the database and cache them
in application cache. On page load, get the states from application cache
3. Create a class in App Code folder, declare a public string array
property, hard code the 50 states. On page load, call this property to get
the 50 states
4. Create a states user control which contain a combo box, with 50 states
hard coded in design time
Please share with me how you usually bind your states combo box. Your
thoughts and recommendations are greatly appreciated.