摘要:
from https://www.cnblogs.com/wind-ye/articles/5171578.html 在做项目的过程中有时候会遇到“下载几十M甚至过百M的文件”这样的需求,这时候如果还是用老方法直接将文件一次性读取出来然后写入到响应流,这肯定是不行的,不说别的,光是内存的消耗就可能让 阅读全文
摘要:
转自:https://www.cnblogs.com/shenbing/p/5390713.html 一、非强类型:Controller:ViewData["AreId"] = from a in Table select new SelectListItem { Text=a.AreaName, 阅读全文