标签:xlsx erp dir .net 如何 app style color director
今天在做项目时,有一个需求:获取从控制器返回的数组对象,方法如下
public ActionResult GetAllFiles() { string dir = Server.MapPath("../Upload/InterpAct_xlsx"); string[] files = Directory.GetFiles(dir); return Json(files, JsonRequestBehavior.AllowGet); }
标签:xlsx erp dir .net 如何 app style color director
原文地址:http://www.cnblogs.com/zhengwei-cq/p/7428526.html