[英]Multiple Optional File Saves
I have 8 file fields in my form and when the user submits the form, I would like to loop through all these fields and 'save' any files to my server.我的表单中有 8 个文件字段,当用户提交表单时,我想遍历所有这些字段并将任何文件“保存”到我的服务器。
Can someone show me how I can do this?有人可以告诉我如何做到这一点吗?
Thank you谢谢
Do like this:这样做:
http://csharptuning.blogspot.com/2007/05/uploading-multiple-files.html http://csharptuning.blogspot.com/2007/05/uploading-multiple-files.html
I hope its help to you.我希望它对你有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.