Programatically - Listbox
Wayne Lee <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <000f01c215ee$17015c00$0e631e3e@skywalker> |
Hi All, I have 4 entries in a listbox, when I query the database i return a datareader which i then use to loop through. I then want each item in the listbox to be selected if it exists in the record. how can I programatically select more than one item in the listbox? i can loop through ok and get it to set the selected index property but this is only a single entry and not a recursive list. any ideas please? many thanks Wayne Lee Evident Systems Ltd www.evidentsystems.co.uk <http://www.evidentsystems.co.uk/> This email has been scanned with Norton AntiVirus 2002 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.