multiple selection in listbox

Discussion in 'ASP .Net Building Controls' started by Arvid, Mar 13, 2007.

  1. Arvid

    Arvid Guest

    I would like to select and use multiple records in a listbox .

    Is this possible?

    I use ASP.NET 2.0, VS2005
    Arvid, Mar 13, 2007
    1. Advertisements

  2. Sure thing. Keep in mind though, when you look at the documentation for
    properties such as Selected Item, it is selecting the item with the lowest
    index in the list, not all selected items. You'll need to iterate through
    the list to determine which items are selected.

    The dropdownlist is the single select version.
    Mark Fitzpatrick, Mar 14, 2007
    1. Advertisements

  3. Arvid

    Arvid Guest

    found it, thank you


    Arvid, Mar 16, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.