hello!
I need to show all the listbox items in a div tag in order to build an SQL statement we're going to use for webservices.
I can show the count of the items in this listbox, but can't seem to get exactly the syntax to print each to a div tag.
Below is what I've got so far (wrong of course) in the Page_Load event:
divSI.InnerHtml = ""
Dim i As Integer
For i = 0 To ListBox2.Items.Count - 1
divSI.InnerHtml = ListBox2.Items.Add()
Next
Thanks!
I need to show all the listbox items in a div tag in order to build an SQL statement we're going to use for webservices.
I can show the count of the items in this listbox, but can't seem to get exactly the syntax to print each to a div tag.
Below is what I've got so far (wrong of course) in the Page_Load event:
divSI.InnerHtml = ""
Dim i As Integer
For i = 0 To ListBox2.Items.Count - 1
divSI.InnerHtml = ListBox2.Items.Add()
Next
Thanks!