参考: http://blog.csdn.net/zhouqinghe24/article/details/8649346 参考下载http://www.cnblogs.com/dyllove98/archive/2013/08/06/3241515.html 参考多个sheethttp://www.cnblogs.com/jicheng/p/5961257.html 参考列表写入 1.nuget搜索安装Npoi 2.代码 public class UserInfo { public strin
上传文件通过webApi html端调用时包含(form提交包含 enctype="multipart/form-data",才可以启作用获取到文件) public class UploadController : ApiController{ public async Task<HttpResponseMessage> PostFile() { // Check if the request contains multipart/form-data. if (!Reque