asp.net中的OpenFileDialog [英] OpenFileDialog in asp.net
问题描述
大家好,
我有一个将文件上传到服务器的应用程序,我们不需要文件上传控件,因为我们的代码本身将负责将文件上传到服务器(通过读写文件字节).我需要的是浏览器"按钮.
由于文件上载控件不适用于Firefox(仅显示文件名而不显示完整文件路径:(),因此我必须以某种方式提供浏览器按钮.
1)除了在asp.net中使用文件上传控件和html输入文件之外,是否有其他方法可以获取openfile对话框(例如我们在Windows appln中的操作)?
或
我们如何在firefox 3.0中获得完整的文件路径?
请帮忙..
谢谢
Hi all,
I have an application where we upload files to the server.We dont need file upload control because our code itself will take care of uploading the files to the server(by reading and writing file bytes).The only thing that I need is the Browser button.
Since File upload control is not working with Firefox(showing only the filename not the full file path :( ),I have to somehow come up with a browser button.
1)Is there any way to get the openfiledialog(like how we do in windows appln) other than using file upload control and html input file in asp.net?
or
how do we get the full file path in firefox 3.0?
Please help..
Thanks
推荐答案
您看到了吗?
使用ASP.NET上传文件 [
Did you see this?
File Upload with ASP.NET[^]
这篇关于asp.net中的OpenFileDialog的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!