Re: Adding List Item Value



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.


.



Relevant Pages