本文介绍了在FileUpload的SaveAs()和HttpPostedFile.SaveAs()中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨 FileUpload1.SaveAs()和HttpPostedFile.SaveAs()有什么区别.我知道两者都用于将一个或多个文件上传到Web服务器,但我想了解更多.请帮助我解决方案
和
.
不要忘记一个是控件,而另一个不是.实际上, FileUpload .SaveAs()将基础HttpPostedFile对象用于通过
.
谢谢!!!
hi What is the difference between FileUpload1.SaveAs()and HttpPostedFile.SaveAs().I know that both are using for uploading file or files to the web server but I want to know more.Please help me
解决方案
and
.
Not to forget that one is a Control and other isn''t. Infact FileUpload.SaveAs() uses the underlying HttpPostedFile object for a file that is uploaded by using the
.
Thanks!!
这篇关于在FileUpload的SaveAs()和HttpPostedFile.SaveAs()中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!