|
 |
asp_databases thread: Re: submitting form
Message #1 by jiwilliams_27262@y... on Tue, 5 Mar 2002 14:51:21
|
|
Is this a Listbox or a Combobox? Where are you getting your data to
populate the list? SQL? If it is a Combobox using a database this might
work?
<SELECT name="NAME" size="1">
<%
DO while not oDBr.EOF
Response.write "<Option value='" & oDBr("FieldName") & "'>"
Response.write oDBr("FieldName") & "</Option>"
oDBr.movenext
Loop
oDBr.close
Set oDBr=nothing
%>
</Select></p>
Then when you choose one in the list, your next asp page can catch your
choice thru : Variable = Request.form("NAME")
Hope this helps.
James Williams
Message #2 by arshad siddiqui <ash_arshad@y...> on Tue, 5 Mar 2002 00:31:37 -0800 (PST)
|
|
Hi,
I am using a dynamic drop down in my form.If I uses
<form ACTION="ProductUpload.asp" METHOD="post"
enctype="multipart/form-data" name="formTest">
Then the things from the textboxes gets submitted to
the ProductUpload.asp and finally it is uploaded with
the picture into the database but the problem is that
then Dynamic dropdown doesnot work it shows the first
entry only.
And if I uses:
<form ACTION="ProductUpload.asp" METHOD="post"
name="formTest">
Then Dynamic dropdown works properly but the data from
the textboxes and select boxes is not passes to
ProductUpload.asp
I think there is some problem with
enctype="multipart/form-data"
can any one tell me what is the solution of this
problem.
Thank you
Regards
--Arshad--
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
|
|
 |