Click here to Skip to main content
15,860,844 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please give me the program to upload file in classic asp without using any component and also tell me how to retreive the name of file in classic asp which is passed from previous page please help me . i have to upload three files from same page This much code i have pasted below .

<form name=productupload method=post enctype=multipart/form-data action="addproduct.asp?confirm=Y" onsubmit="return validate()">

XML
<table>
<tr>
         <td>UploadProduct LargeImage</td>
         <td><input type="file" name="prodlimage"></td>
      </tr>
       <tr>
         <td>UploadProduct MediumImage</td>
         <td><input type="file" name="prodmimage"></td>
      </tr>
       <tr>
         <td>UploadProduct SmallImage</td>
         <td><input type="file" name="prodsimage"></td>
      </tr>
       <tr>
         <td></td>
         <td><input type=submit  name=submit  value="ADD"></td>
      </tr>
</table>
</table>







</form>
</BODY>
</HTML>[]&&&&&<code><code><code><small></small>
Posted
Comments
Sandeep Mewara 26-May-11 10:37am    
Not clear - you here for code or some issue that you are facing ?

1 solution

using the FileUpload from the toolbox will create a browse box so you can search for the file and a small "textbox" so you can see what file is uploaded

you will need buttons that will link to the file and upload them

altho the below link is not exactly what you're lookin for, it may be able to help you a little

http://www.shiningstar.net/aspnet_articles/DataSet/DataSetProject2.aspx[^]

i hope it helps, its just helped me to create a whole project to be used in my company :-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900