How to get Items from ListBox in asp.net?

li dude

New member
I have a listbox that Binds to data source (SQL Server)...
How can i dynamically get items' text?

i have this code but doesn't work:
For i as integer = 0 to 10
id1.Text = listbox1.Items(i).Text.ToString
Next

Thanks a Million
 
Back
Top