M
MattB
I have some drop-down lists I'd like to pre-populate from values in a
database. I've found that if I just blindly assign the SelectedValue, I run
into problems if what I'm trying to assign isn't a choice for that dropdown.
So what I need to know, is how do I test for the existence of a value in
a dropdown list? Seems like it should be easy, but I haven't been able to
make it work yet.
Thanks!
Matt
database. I've found that if I just blindly assign the SelectedValue, I run
into problems if what I'm trying to assign isn't a choice for that dropdown.
So what I need to know, is how do I test for the existence of a value in
a dropdown list? Seems like it should be easy, but I haven't been able to
make it work yet.
Thanks!
Matt