Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: David L.   on Jul 10 In Asp.net Category.

  
Question Answered By: Erin Dunn   on Jul 10

This is exactly what I was looking for.
As an alternative, which is a bit more complicated, I found the
following example that does the same thing.

Country.SelectedIndex = Country.Items.IndexOf
(Country.Items.FindByValue("USA"))

THANK YOU again. This is a GREAT place for ASP.NET coders.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How to set a SelectedItem in a ASP:DropDownList Or get search suggestion and latest updates.


Tagged: