请给我一个程序,以不使用任何组件的方式上传经典ASP中的文件,并且还告诉我如何检索上一页中传递的经典ASP中文件的名称,请帮助我.我必须从同一页面上载三个文件.我在下面粘贴了很多代码. < form name = productupload method = post enctype = multipart/form-data action ="addproduct.asp?confirm = Y" onsubmit ="return validate()">
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()">
<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>
</form> </BODY> </HTML>[]&&&&&<code><code><code><small></small>
推荐答案使用工具箱中的FileUpload将创建一个浏览框,以便您可以搜索文件和一个小的文本框",从而可以查看上传了什么文件 您将需要用于链接到文件并上传它们的按钮 尽管下面的链接并不完全是您要查找的内容,它也许可以为您提供一些帮助 www.shiningstar/aspnet_articles/DataSet/DataSetProject2.aspx [ ^ ] 我希望它会有所帮助,它只是帮助我创建了一个可以在公司中使用的整个项目:-) 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 www.shiningstar/aspnet_articles/DataSet/DataSetProject2.aspx[^] i hope it helps, its just helped me to create a whole project to be used in my company :-)
更多推荐
没有3rd party组件的经典asp中的文件上传程序
发布评论