08 2020 档案

摘要:参考地址:https://www.cnblogs.com/loveleaf/p/9923970.html 阅读全文
posted @ 2020-08-30 16:34 留下成长的足迹 阅读(119) 评论(0) 推荐(0) 编辑
摘要:MAC:底层为Unix Linux:基于Unix发展而来。是父子关系。 阅读全文
posted @ 2020-08-29 21:26 留下成长的足迹 阅读(129) 评论(0) 推荐(0) 编辑
摘要:VSCode: Ctrl + Shift + }. VS:Ctrl + } 参考地址:https://blog.csdn.net/qq_43056536/article/details/89258652 阅读全文
posted @ 2020-08-28 13:24 留下成长的足迹 阅读(2582) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://blog.csdn.net/hzh_csdn/article/details/53244125 官方文档:https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debug.writeline?redir 阅读全文
posted @ 2020-08-27 11:33 留下成长的足迹 阅读(441) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://blog.csdn.net/wu1020300665/article/details/82958455 阅读全文
posted @ 2020-08-26 19:11 留下成长的足迹 阅读(134) 评论(0) 推荐(0) 编辑
摘要:1.如何将基础信息表,导入到另一些张表中 表A存在: insert into A(a,b,c)(select a,b,c from B); 表A不存在: select a,b,c into A from B 2.如何将基础信息表,导入另一个数据库的表中 insert into 表A所在数据库名.[d 阅读全文
posted @ 2020-08-24 14:46 留下成长的足迹 阅读(294) 评论(0) 推荐(0) 编辑
摘要:javascript: 5/2 2.5 1.取整 parseInt(5/2) 或 Math.floor(5/2) 2 2.取余 5%2 1 3.进一 Math.ceil(5/2) 4.四舍五入 Math.round(5/2) C# %:取余数 整形和整形相处,自动得到整形, 整形和浮点类型,或浮点类 阅读全文
posted @ 2020-08-21 18:11 留下成长的足迹 阅读(1307) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://www.cnblogs.com/shiliang199508/p/7365312.html /// <summary> /// create 2016-11-30 by sly /// 将DataTable数据导入到excel中 此方法直接返回文件给浏览器下载 /// </ 阅读全文
posted @ 2020-08-18 11:31 留下成长的足迹 阅读(170) 评论(0) 推荐(0) 编辑
摘要:数据库索引分为聚集索引和非聚集索引, 1.索引的作用? 2.聚集和非聚集区别是什么?分别用在什么样的场景? 3.使用索引应该注意的地方. 阅读全文
posted @ 2020-08-18 11:24 留下成长的足迹 阅读(97) 评论(0) 推荐(0) 编辑
摘要:委托,就是有相同的参数和相同的返回值的函数,作用就是把函数当做参数来传递, 阅读全文
posted @ 2020-08-18 11:22 留下成长的足迹 阅读(78) 评论(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 留下成长的足迹 阅读(106) 评论(0) 推荐(0) 编辑
摘要:MVC中RouteConfig是用来配置路由的,name其他几个是干什么的? Layout中的Bundle可能就和这个BundleConfig有关系 阅读全文
posted @ 2020-08-14 13:32 留下成长的足迹 阅读(217) 评论(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 留下成长的足迹 阅读(497) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://blog.csdn.net/m15527097561/article/details/76640796 阅读全文
posted @ 2020-08-14 11:08 留下成长的足迹 阅读(1615) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://www.cnblogs.com/OpenCoder/p/4229723.html 亲端页面使用UEditor富文本,导致保存富文本中的内容有HTML标签,在调用Controller时会被检查不通过.无法调用到Controller.如下图: 可以通过修改Controller的 阅读全文
posted @ 2020-08-13 15:01 留下成长的足迹 阅读(286) 评论(0) 推荐(0) 编辑
摘要:问题:Controller中Response的用法.日后搞明白再更新. 阅读全文
posted @ 2020-08-06 17:08 留下成长的足迹 阅读(519) 评论(0) 推荐(0) 编辑
摘要:1.$:在字符串插入值 int a = 1;int b = 2;string c = $"{a} + {b} = {a + b}";//使用$string d = string.Format("{0} + {1} = {2}", a, b, a + b);//使用Format 2.@符号.让转移字符 阅读全文
posted @ 2020-08-06 15:53 留下成长的足迹 阅读(4629) 评论(0) 推荐(1) 编辑
摘要:参考地址:https://www.cnblogs.com/bianlan/archive/2013/01/11/2857105.html ViewData:字典类型,foreach中需要强制转换,使用时 ViewData["key"] ViewBag:动态类型, 使用时:ViewBag.key 阅读全文
posted @ 2020-08-06 12:00 留下成长的足迹 阅读(545) 评论(0) 推荐(0) 编辑
摘要:Session在Controller类中的成员,是一个HttpSessionStateBase类.在System.Web中 Cache为System.Web.Caching中 阅读全文
posted @ 2020-08-05 19:19 留下成长的足迹 阅读(393) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://www.cnblogs.com/OpenCoder/p/6208284.html using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace Exc 阅读全文
posted @ 2020-08-05 14:33 留下成长的足迹 阅读(548) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://blog.csdn.net/yiyelanxin/article/details/72778972 在Global.asax中,添加Application_Error如下代码. protected void Application_Error() { var e = Ser 阅读全文
posted @ 2020-08-03 14:38 留下成长的足迹 阅读(367) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示