you need to do something like this:
<asp:dropdownlist runat=server id="something" SelectedIndex="<%#intIndex%>" />
where intIndex is declared as public and set on the backend. (You must use selectedIndex as selectedValue isn't accessible through the tag like this)
--Stole this from a moderator
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
|