I set my list box multiple choice option = true, but why this code is not working.
I insert two fields in the listbox.
<P>request.form("select1")(0)<P/>
I got error message: index is out of range.
Can someone explain???
Printable View
I set my list box multiple choice option = true, but why this code is not working.
I insert two fields in the listbox.
<P>request.form("select1")(0)<P/>
I got error message: index is out of range.
Can someone explain???
Could you send me your asp page so that I can check the code that you have written?
:o abhijit
First off, make sure you are enclosing that Request.Form part in <% and %>. (Dunno if you just ommitted them here or not)
If only one item is SELECTED, it will be a single item and not a collection item.