HttpPostedFile hf = c.Request.Files[0]; 报错:索引超出 怎么办?

解决办法:在from里加上:enctype="multipart/form-data "

告诉表单如何格式化文件信息
原文地址:https://www.cnblogs.com/shanlin/p/2318913.html