ASP.net dropdown lists

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to select the item in the dropdown list the matches a value
pulled from the database and set this matching item's selected property to
true so that it is the selected item in the combo box(dropdown list). How
would I do this in C#? It seems like it should be real easy but I can't make
it work. Thanks in advance
 
I too am having this problem. However I tried the solution mentioned here and
it doesn't work. Where should this code be placed? I have tried putting it as
part of the control's databinding event but it doesn't work. I am stepping
through a data set and redisplaying the page on each row of the data set.
 
Back
Top