10 2019 档案
摘要:#region MyRegion StringBuilder sb = new StringBuilder(); sb.Append("{"); foreach (System.Reflection.PropertyInfo p in model.GetType().G...
阅读全文
摘要:var t = new Date().toString(); //t = "Thu Oct 31 2019 11:36:57 GMT+0800 (中国标准时间)" var t1 = new Date(); var data_arry =[]; var that = new Date(); data_
阅读全文
摘要:var reader = MSSQLHelper.ExecuteReader(sb.ToString(), out erro, ConnectionString); //SqlDataReader // 判断数据是否读到尾. while (reader.Read()) { ...
阅读全文
摘要:查询 100w条数据 39列 把100w条数据转换为匿名对象 加入到集合 所用的时间是 32 s 39列 600万条数据
阅读全文
摘要:date_part abbreviations year yy, yyyy quarter qq, q month mm, m dayofyear dy, y day dd, d week wk, ww hour hh minute mi, n second ss, s millisecond ms microsecond ...
阅读全文
摘要:var url_s=["h/a","h/b","h/c"]; function post_test(url,callback) { //请求返回的数据 data callback(data); } //知道请求的数据大于4 终止请求. function get_data(data) { if (data != null) { data_s.push(data); } if (data_s.leng
阅读全文
摘要:出处: https://www.cnblogs.com/intotf/p/10189665.html app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{co...
阅读全文
摘要:public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>(); public static IWebHost
阅读全文
摘要:var numbers = [4, 9, 16, 25]; function myFunction(item, index) { console.log("item:" + item + "__index:" + index); } numbers.forEach(myFunction); console.log("_________________"); for (var i = 0; i <
阅读全文
摘要:出处 :https://www.cnblogs.com/damsoft/p/9529525.html
阅读全文
摘要:标题栏 11-14 菜单 9 -12 消息框 9-12 调色板标题11-14 图标 9-12 工具提示 9-12 Caption 标题 11 的 宽/高 -330 ; 14的宽高 -405 菜单 9 的 宽/高 -285 ; 12 的宽高 -354; 设置 注册表 HKEY_CURRENT_USER
阅读全文
摘要:fetch("../students.json").then(function(response){ if(response.status!==200){ console.log("存在一个问题,状态码为:"+response.status); return; } //检查响应文本 r...
阅读全文
摘要:dynamic data = new System.Dynamic.ExpandoObject(); IDictionary dictionary = (IDictionary)data; dictionary.Add("FirstName", "Bob"); dict...
阅读全文
摘要:1. 主机ping 虚拟机 ping 不通 设置——虚拟机—— 防护墙——入站规则—— 文件和打印共享 (回显请求-ICMPv4-In) 2.主机连接不上虚拟机中的sqlsrver 设置——虚拟机—— 防护墙——入站规则—新建规则 ——端口——下一步——输入1433——允许连接 测试 ·主机IP 1
阅读全文
摘要:出处:https://www.cnblogs.com/strick/p/5155042.html //event.preventDefault(); //阻止click事件的执行 这个事件 会阻止移动端的单击事件
阅读全文
摘要:1.父页面操作子页面; 父页面中嵌入<iframe id="iframe1" src="iframe1.html" width="300" height="200"></iframe>; //获取iframe元素,oIframe.contentWindow就是iframe1.html页面的windo
阅读全文
摘要:html cs string data = request["data"]; ViewBag.Url = data; html
阅读全文
摘要:case 'copy': var B1 = document.getElementById("B1"); //获得B1下的html文本 var copy_dom = document.getElementById("copy_dom"); //获得B1下的html文本 var str = B1.parentNode.innerHTML; var btnstr = '<button class="l
阅读全文
摘要:未知子元素宽高 <li style="width: 33.3%;" data_url="Navig/MatterInfos" data_id="18"><div style="background-color: #F874A4;height: 400px;display: flex;"> <div
阅读全文
摘要:.metro-layout .items-box:first-child a{ background: #00a8ec; } .metro-layout .items-box:nth-child(2){ position: absolute; left: 0px; top: 0px; transform: translate3d(0px, 200px, 0px);...
阅读全文
摘要:alter table HFEventInfo add [_Color] [nvarchar](100) NULL --颜色 alter table HFEventInfo add [_WH] [nvarchar](100) NULL --宽高 alter table HFEventInfo add [_Ico] [nvarchar](max) NULL --图标 alter tabl...
阅读全文
摘要:https://www.cnblogs.com/hhhh2010/p/9821409.html https://www.v2ex.com/t/514710
阅读全文
摘要:子窗体 public event Action> myEvent; myEvent(List); 子窗体调用 父窗体 创建对象 frm.myEvent += Set物料; private void Set物料(List list)() { }
阅读全文
摘要:Adobe Acrobat DCC:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\AdobeGCClient\customhook C:\Program Files (x86)\Common Files\Adobe\AdobeGCClient C:\Program Files (x86)\Common Files\Adobe\OOBE\PDA
阅读全文