随笔分类 -  mvc

摘要:目标:用Session和Cookies实现登陆信息保存和展现 Cookies实现: Controller: //把登陆用户名存到cookies中 HttpCookie cook = new HttpCookie("cookusername", UserName.ToString()); Respon 阅读全文
posted @ 2017-05-19 08:48 lang2017 阅读(12144) 评论(2) 推荐(0)
摘要:一、MVCPager异步 model public class Article { [Display(Name = "信息编号")] public int ID { get; set; } [Display(Name = "信息标题")] public string Title { get; set 阅读全文
posted @ 2017-05-13 13:28 lang2017 阅读(195) 评论(0) 推荐(0)