drop down menu - Selected Index of Dropdownlist? -


How will I set the selected index of the dropdownlist in this function.

Please tell me?

  public IList GetMountainList () {int mountainId = 0; String mountainName = string.Empty; (Using brandconnectionsEntities modelObject = new brandconnectionsEntities ()) {Return (IList) (select from the newObjectId = s.mountainResortId, mountainName = s.mountainResortName, SelectExtensions = s.mountainResortId,}) from modelObject.BC_mountainResortMediaList .toList () ; }}  

thanks Ritz

language and gui library information will be )

: Good for everyone

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -