Re: Adding List Item Value
- From: "Teemu Keiski" <joteke@xxxxxxxxxxxxxxx>
- Date: Tue, 12 Apr 2005 18:51:55 +0300
Listbox1.Items.Insert(0,New ListItem("Text","Value"))
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"jason" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:05ad01c53f76$4b077d40$a601280a@xxxxxxxxxx
>I know I have seen this somewhere but I can't seem to
> find it. I would like to add the list item value along
> with my list item text. So far I have this:
>
> Listbox1.Items.Insert("0", "All")
>
> How do I add a value for "All"?
>
> Thanks.
.
- Follow-Ups:
- Re: Adding List Item Value
- From: jason
- Re: Adding List Item Value
- References:
- Adding List Item Value
- From: jason
- Adding List Item Value
- Prev by Date: Re: Storing an entire page's Contents in the Session
- Next by Date: Re: ASPX Page loads slowly
- Previous by thread: Adding List Item Value
- Next by thread: Re: Adding List Item Value
- Index(es):
Relevant Pages
|