如何更改ASP.NET 2.0 FileUpload控件的上载位置? [英] how to change the upload location for the ASP.NET 2.0 FileUpload control?

查看:62
本文介绍了如何更改ASP.NET 2.0 FileUpload控件的上载位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要更改ASP.NET 2.0 FileUpload控件的上载位置吗?
任何人都可以提出建议吗?

I need to change the upload location for the ASP.NET 2.0 FileUpload control?
Can anyone give Suggestion Please?

推荐答案

默认情况下,没有上传位置:您对文件在客户端系统上的位置没有任何影响(并且确实出于安全原因无法指定或检索它),并且直到您告诉它将其放在代码后的位置之后,它才会存储它.
因此,无论如何,上载位置完全取决于您...
MSDN有一个示例: http://msdn.microsoft.com/en-us/library/aa479405.aspx [ ^ ]
There is no Upload location by default: you don''t have any influence on where on the client system the file comes from (and indeed can''t specify or retrieve it for security reasons) and it doesn''t store it until you tell it where to put it in your code behind code.
So where the Upload location is, is totally down to you anyway...
MSDN has an example: http://msdn.microsoft.com/en-us/library/aa479405.aspx[^]


这篇关于如何更改ASP.NET 2.0 FileUpload控件的上载位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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