没有3rd party组件的经典asp中的文件上传程序

编程入门 行业动态 更新时间:2024-10-23 09:32:36
本文介绍了没有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将创建一个浏览框,以便您可以搜索文件和一个小的文本框",从而可以查看上传了什么文件 您将需要用于链接到文件并上传它们的按钮 尽管下面的链接并不完全是您要查找的内容,它也许可以为您提供一些帮助 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中的文件上传程序

本文发布于:2023-11-26 17:52:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1634577.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:组件   文件上传   程序   经典   party

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!