上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页
摘要: 委托,就是有相同的参数和相同的返回值的函数,作用就是把函数当做参数来传递, 阅读全文
posted @ 2020-08-18 11:22 留下成长的足迹 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.cnblogs.com/snow22546/p/6933542.html 1.分页 var datas = con.Users.Tolist().Skip(0).Take(PageCount) 表示第一页跳过0条,每页取PageCount条 2.左联右链接 待补充. 阅读全文
posted @ 2020-08-18 11:20 留下成长的足迹 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.Content 2.View 3.Json 4.重定向 5.return OK //.net Core中好像有这个OK 6.File 文件流. //返回的文件流没有在页面渲染,直接下载了.和Response有点类似.那么为何Json就可以显示在页面上?Content应该也可以.为何就File不行 阅读全文
posted @ 2020-08-14 13:44 留下成长的足迹 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-14 13:34 留下成长的足迹 阅读(221) 评论(0) 推荐(0) 编辑
摘要: MVC中RouteConfig是用来配置路由的,name其他几个是干什么的? Layout中的Bundle可能就和这个BundleConfig有关系 阅读全文
posted @ 2020-08-14 13:32 留下成长的足迹 阅读(214) 评论(0) 推荐(0) 编辑
摘要: public static object CreateReflect( Type type) { return Activator.CreateInstance(type); } 阅读全文
posted @ 2020-08-14 12:00 留下成长的足迹 阅读(102) 评论(0) 推荐(0) 编辑
摘要: var a = new { name = "Jack", Age = 26 } 阅读全文
posted @ 2020-08-14 11:57 留下成长的足迹 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://blog.csdn.net/m15527097561/article/details/76640796 阅读全文
posted @ 2020-08-14 11:08 留下成长的足迹 阅读(1605) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.cnblogs.com/OpenCoder/p/4229723.html 亲端页面使用UEditor富文本,导致保存富文本中的内容有HTML标签,在调用Controller时会被检查不通过.无法调用到Controller.如下图: 可以通过修改Controller的 阅读全文
posted @ 2020-08-13 15:01 留下成长的足迹 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 问题:Controller中Response的用法.日后搞明白再更新. 阅读全文
posted @ 2020-08-06 17:08 留下成长的足迹 阅读(519) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页