Home All Groups Group Topic Archive Search About
Author
20 May 2006 6:19 AM
Michael Bohman
Hi
How can I select and also deselect items in a listbox? I retrieve my
data from a database (some names), after that i want to select some
names or deselect the selected names.

//Mike

Author
20 May 2006 6:39 AM
Ankit Aneja
string x=ListBox1.SelectedValue;

Response.Write(x.ToString());

Show quoteHide quote
"Michael Bohman" <michael_boh***@telia.com> wrote in message
news:eyybg.852$E02.202@newsb.telia.net...
> Hi
> How can I select and also deselect items in a listbox? I retrieve my data
> from a database (some names), after that i want to select some names or
> deselect the selected names.
>
> //Mike



Post Thread options