Results 1 to 2 of 2

Thread: Need help with selection list

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    7

    Need help with selection list

    Hello,
    I need help with finding an alternative for selection list. I'm currently developing an application using asp.net mobile web forms and currently using SelectionList.SelectedIndex method. The problem with the method is that it only return the value of the selected list index. This is not very efficient due to the fact that i need to query value from the database. Is there any other method where it returns the value of a field instead of the index of the list. Thanks in advance.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Need help with selection list

    Yes, SelectedItem will give you the item rather than the index. I don't have the documentation installed on this system, so I can't check to see that it is allowed in the CF, but I would expect it to be.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width