01 2017 档案
摘要:页面对应的类是动态编译的,所以不会出现在 Assembly 中,也无法通过反射取得。除了用上面的方法加载页面,也可以在 @Page 指令中指定 ClassName,然后可以直接 new 这个page(当然前提是页面要已经访问过了precompiled)
阅读全文
摘要:工作项目中需要用到zip压缩解压缩文件,一开始看上了Ionic.Zip.dll这个类库,操作方便,写法简单 对应有个ziphelper类 使用方法: string path = Request.MapPath("/"); string[] files = Directory.GetFiles(pat
阅读全文