没有3rd party组件的经典asp中的文件上传程序 [英] fileuploading program in classic asp without 3rd party component

查看:95
本文介绍了没有3rd party组件的经典asp中的文件上传程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我一个程序,以不使用任何组件的方式上传经典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将创建一个浏览框,以便您可以搜索文件和一个小的文本框",从而可以查看上传了什么文件

您将需要用于链接到文件并上传它们的按钮

尽管下面的链接并不完全是您要查找的内容,它也许可以为您提供一些帮助

http://www.shiningstar.net/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

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 :-)


这篇关于没有3rd party组件的经典asp中的文件上传程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆