摘要: 当Session保存有值,id才不会改变,没有值每次刷新都会变 阅读全文
posted @ 2019-01-06 17:12 Microestc-zl 阅读(2584) 评论(4) 推荐(0) 编辑
摘要: namespace ConsoleApp1 { class Program { static void Main(string[] args) { var list = new HashSet(101); for (int i = 0; i { ... 阅读全文
posted @ 2018-11-03 20:26 Microestc-zl 阅读(2761) 评论(0) 推荐(0) 编辑
摘要: sql 阅读全文
posted @ 2018-09-01 12:10 Microestc-zl 阅读(324) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { var list = new List(... 阅读全文
posted @ 2018-08-20 11:30 Microestc-zl 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 直接上图 阅读全文
posted @ 2018-01-25 00:14 Microestc-zl 阅读(606) 评论(0) 推荐(0) 编辑
摘要: ControllerContext.IsChildAction 来判断,如果用Html.Action或Html.RenderAction方法,这个属性返回true,否则返回false 阅读全文
posted @ 2018-01-08 18:46 Microestc-zl 阅读(477) 评论(0) 推荐(0) 编辑
摘要: More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for do 阅读全文
posted @ 2017-12-30 13:42 Microestc-zl 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 为您推荐 .Ui_Ct_Line { -ms-flex-align: center !important; align-items: center !important; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap;... 阅读全文
posted @ 2017-12-28 14:39 Microestc-zl 阅读(1732) 评论(0) 推荐(1) 编辑
摘要: 1.OnActionExecuting 在Action方法调用前使用,使用场景:如何验证登录等。 2.OnActionExecuted 在Action方法调用后,result方法调用前执行,使用场景:异常处理。 3.OnResultExecuting 在result执行前发生(在view 呈现前), 阅读全文
posted @ 2017-12-21 19:33 Microestc-zl 阅读(833) 评论(0) 推荐(0) 编辑