|
-
Jun 18th, 2001, 08:20 AM
#1
Thread Starter
Lively Member
Why list box does not work
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???
-
Jun 18th, 2001, 09:00 AM
#2
Could you send me your asp page so that I can check the code that you have written?
abhijit
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Jun 19th, 2001, 02:45 AM
#3
Frenzied Member
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.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|