摘要: public class DemoModel { public static string Content() { return "aaaaaa"; } } @MvcApplication1.Models.DemoModel.Content() @(new HtmlString(... 阅读全文
posted @ 2017-06-16 15:21 初吻给了糖 阅读(378) 评论(0) 推荐(0)
摘要: #region 读取文件 //返回指定目录中的文件的名称(绝对路径) string[] files = System.IO.Directory.GetFiles(@"D:\Test"); //获取Test文件夹下所有文件名称 string[] files2 = System.IO.Direct... 阅读全文
posted @ 2017-06-16 14:39 初吻给了糖 阅读(1043) 评论(0) 推荐(0)