upload in asp.net
Hi,
I had a table for my pictures to upload.
when modifying them I used one form for each row to retrieve that row data and put a hidden value for that row
but how can I do this in asp.net
because asp.net does not accept more than 1 form?
here was the code:
<FORM name=form1 action=add.asp?mode=useralbum method=post encType=multipart/form-data>
<INPUT type=hidden value="0" name=pic>
<TD align=middle width=196 bgColor=#bdd3ef><IMG src="noimage_male.gif" width=100 height=80 border=1>
<BR> #1<BR>
<INPUT type=file size=15 name="File1" class=field><BR>
<INPUT type=submit value="Upload" name=submit class=field></TD></FORM>
<FORM name=form2 action=add.asp?mode=useralbum method=post encType=multipart/form-data>
<INPUT type=hidden value="0" name=pic>
<TD align=middle width=196 bgColor=#bdd3ef><IMG src="noimage_male.gif" width=100 height=80 border=1>
<BR> #2<BR>
<INPUT type=file size=15 name="File1" class=field><BR>
<INPUT type=submit value="Upload" name=submit class=field></TD></FORM>
|