Using a value from database on page load in c#
I have a dropdownlist (let's call it combo1) which is databound, now i'd like to use a value from it in other fields such as in a label as well as add it to an href which will be made on page load. Problem is I either have to reload the page before I can use combo1.SelectedValue. Is there a way to get a value from the database to use in the dropdownlist and the href or a statement like combo1.items.selectedindex.text that will give me the value right away without doing some sort of postback?
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Cloud Solutions. All rights reserved.