09 2019 档案

摘要:来自 : http://www.softwhy.com/article-6078-1.html 阅读全文
posted @ 2019-09-29 17:30 enych 阅读(21429) 评论(0) 推荐(0) 编辑
摘要:select * INTO #A_A from A --查询A中数据; 把查询的数据创建为 临时表 select * from #A_A --查询临时表 DROP TABLE #A_A; --删除临时表 阅读全文
posted @ 2019-09-28 10:07 enych 阅读(3302) 评论(0) 推荐(0) 编辑
摘要://定义委托 ; 参数为方法名称 public delegate void UpdateLabel(string label); //control.invoke(参数delegate)方法:在拥有此控件的基础窗口句柄的线程上执行指定的委托。 //timeElapsedInstring 是UpdateUI方法的参数。 //lbl... 阅读全文
posted @ 2019-09-27 11:09 enych 阅读(233) 评论(0) 推荐(0) 编辑
摘要:Hashtable ht = new Hashtable(); ht["标题"] = 10; ht["B"] = ht["标题"]; ht.Remove("标题"); 阅读全文
posted @ 2019-09-27 08:50 enych 阅读(501) 评论(0) 推荐(0) 编辑
摘要:use my_temp CREATE VIEW V_temp --创建视图 AS SELECT * FROM A select *from V_temp 阅读全文
posted @ 2019-09-26 16:11 enych 阅读(150) 评论(0) 推荐(0) 编辑
摘要:select col from [dbo].[GetInPara]('101,102,103',',') USE [xxx] GO /****** Object: UserDefinedFunction [dbo].[GetInPara] Script Date: 2019/9/26 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFI 阅读全文
posted @ 2019-09-26 11:07 enych 阅读(991) 评论(0) 推荐(0) 编辑
摘要:SELECT LEN('SQL Server LEN') length, LEN('SQL Server LEN ') length_with_trailing_blanks; SELECT (CASE WHEN LEN('')=0 THEN '001' ELSE '1线' END) --执行001 SELECT (CASE WHEN LEN('1线')=0 THEN '001' ELSE '1线 阅读全文
posted @ 2019-09-26 10:41 enych 阅读(731) 评论(0) 推荐(0) 编辑
摘要:<html> 阅读全文
posted @ 2019-09-25 15:44 enych 阅读(965) 评论(0) 推荐(0) 编辑
摘要:代码 输出 \' 单引号 \" 双引号 \& 和号 \\ 反斜杠 \n 换行符 \r 回车符 \t 制表符 \b 退格符 \f 换页符 1个 反斜杠 2个反斜杠 3个反斜杠 4个反斜杠 总结 字符串 中出现 两个斜杠, js 自动转义为1个斜杠; 1个斜杠 转 json对象时候 报错 是因为 就是报 阅读全文
posted @ 2019-09-23 11:23 enych 阅读(7478) 评论(0) 推荐(0) 编辑
摘要:if (that == null || "undefined" == typeof that) { return; } var bcd; //未定义 undefined function Check_data_type(obj) { if ("undefined" == typeof obj) { 阅读全文
posted @ 2019-09-22 11:52 enych 阅读(1511) 评论(0) 推荐(0) 编辑
摘要:二改 三 改.... //table .js d.render = function (e, callback) { var t = new F(e); callback = callback || new Function(); win_handle_data = callback; callba 阅读全文
posted @ 2019-09-20 22:08 enych 阅读(1114) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/charleswone/p/10228699.html https://segmentfault.com/a/1190000008723632 https://www.cnblogs.com/tv151579/archive/2013/01/06/28 阅读全文
posted @ 2019-09-20 17:11 enych 阅读(363) 评论(0) 推荐(0) 编辑
摘要://AA(); //可执行 function AA() { test(); //报错 var test = function test() { console.log(11); } } AA(); //可执行 //AA(); //可执行 function AA() { test(); //可执行 function test() { console.log(11); } } AA(); //可执行 阅读全文
posted @ 2019-09-20 16:52 enych 阅读(508) 评论(0) 推荐(0) 编辑
摘要:var head001 =true; var head002 = true; var head003 = true; for (;h < 10; h++) { console.log(h); } h=0; for (var z=10;h < 10; h++) { console.log(h)... 阅读全文
posted @ 2019-09-20 16:18 enych 阅读(407) 评论(0) 推荐(0) 编辑
摘要://第二次增加 属性 或方法 阅读全文
posted @ 2019-09-20 15:52 enych 阅读(199) 评论(0) 推荐(0) 编辑
摘要://获取对象 console.log(obj)//字符串转对象 var ob = JSON.parse(data); //对象转为字符串 console.log(JSON.stringify(obj)) //创建按钮 var body = document.body; var input = document.createElement("input"); input.t... 阅读全文
posted @ 2019-09-19 13:51 enych 阅读(2958) 评论(0) 推荐(0) 编辑
摘要:<script type="text/javascript"> window.onload = function () { //var content = getParameter('content'); //search: "?param1=2" var t = window.location; 阅读全文
posted @ 2019-09-19 10:12 enych 阅读(700) 评论(0) 推荐(0) 编辑
摘要:private void test(string[] sortkey_list, string[] list_temp) { //打开excel到dt; string[] strlist = { "4", "2", "3", "1" }; string[] rowws; rowws = new string[] { "AA", "BB", "CC", "DD" }; //第一行加入数组完成; Di 阅读全文
posted @ 2019-09-17 19:37 enych 阅读(722) 评论(0) 推荐(0) 编辑
摘要:function test_001() { var t =0; return t || out_str("t未定义"), //1 // 执行1句;在执行2句; t||null //2 } var obj = test_001(); function out_str(obj) //定义一个函数... 阅读全文
posted @ 2019-09-16 22:03 enych 阅读(259) 评论(0) 推荐(0) 编辑
摘要:A -> B 带参数进去B页面, 刷新B页面还 保持状态 单机下一页, 改变请求参数, A->B 不带参数进去B页面 (不存在)当前状态保存在cookies中, 刷新页面,判断cookies是否存在,存在使用cookies, 保持状态 单机下一页, 请求修改DOM,(实现 局部 更新数据) A跳转B 阅读全文
posted @ 2019-09-11 22:34 enych 阅读(1436) 评论(0) 推荐(0) 编辑
摘要:PageCount = personInfodb.get_count(selected_id); //数据总数 PageCount = (int)Math.Ceiling(PageCount / (PageSize * 1.0)); //总数据数/每页分的数据数 /// <summary> /// 阅读全文
posted @ 2019-09-11 17:10 enych 阅读(1153) 评论(0) 推荐(0) 编辑
摘要:这是H1 阅读全文
posted @ 2019-09-11 08:35 enych 阅读(1059) 评论(0) 推荐(0) 编辑
摘要:/* IFormFileCollection Files 再Request对象下的From对象下的Files对象 public interface IFormFileCollection : IReadOnlyList, IEnumerable, IEnumerable, IReadOnlyCollection publ... 阅读全文
posted @ 2019-09-10 16:25 enych 阅读(542) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <head> </head> <body> <input type="button" id="btn1" value="get请求" > <script> ;!function(win) { var o = { modules: {}, status: {}, timeout: 10, event: {} } , t = document, n = function 阅读全文
posted @ 2019-09-07 13:51 enych 阅读(2625) 评论(0) 推荐(0) 编辑
摘要:javascript中防止重复点击、防止点击过快实用方法 转自i https://blog.csdn.net/jiangwei1994/article/details/80774214 阅读全文
posted @ 2019-09-06 18:05 enych 阅读(198) 评论(0) 推荐(0) 编辑
摘要:window.onload = function () { var lis = document.getElementById("list").getElementsByTagName("li"); for (var i = 0; i < lis.length; i++) { lis[i].addE 阅读全文
posted @ 2019-09-06 10:36 enych 阅读(1168) 评论(0) 推荐(0) 编辑
摘要:A a = new A(); var t = a?.ToString(); //t = WebApplication1.Controllers.A //获得命名空间和类名 var t1 = (A)null; var t = t1?.ToString(); // //t = null; pdfView 阅读全文
posted @ 2019-09-06 08:38 enych 阅读(628) 评论(0) 推荐(0) 编辑
摘要:注册后报错 详细 自定义ActionResult https://blog.csdn.net/u014690615/article/details/85999853 阅读全文
posted @ 2019-09-05 21:41 enych 阅读(1116) 评论(0) 推荐(0) 编辑
摘要:第一种 报错 var t = JSON.parse(""); console.log(t); 第二种 正常 var t = JSON.parse('{"AA":"BB"}'); console.log(t); 第三种 报错 var t = JSON.parse('{AA:"BB"}'); console.log(t); 第四种 报错 var t = JSON.parse('{"AA":BB}'); 阅读全文
posted @ 2019-09-04 19:17 enych 阅读(354) 评论(0) 推荐(0) 编辑
摘要://继承 可以使用父类属性 阅读全文
posted @ 2019-09-04 12:56 enych 阅读(963) 评论(0) 推荐(0) 编辑
摘要:public static string GetPostParams(HttpContext context) { string param = string.Empty; if (context.Request.Method.ToLower().Equals("post")) { ... 阅读全文
posted @ 2019-09-04 12:00 enych 阅读(3015) 评论(0) 推荐(0) 编辑
摘要:需要新建error控制器 //输入错误的URL路径, 将请求到 Error404()方法 阅读全文
posted @ 2019-09-04 09:35 enych 阅读(1842) 评论(0) 推荐(0) 编辑
摘要:public class cehsimodelManager : DbContext<cehsimodel> {} //类 public class cehsimodel { public string btnname { get; set; } public string btnid { get; 阅读全文
posted @ 2019-09-03 15:55 enych 阅读(4171) 评论(0) 推荐(0) 编辑
摘要:var t = document.getElementById("provid"); console.log(t.value); console.log(t.text); //未定义 console.log(t.selectedIndex); //有效 var text = t.options[t.selectedIndex].text; // 选中文本 var value = t.o... 阅读全文
posted @ 2019-09-03 13:48 enych 阅读(8232) 评论(0) 推荐(0) 编辑
摘要:var sheng = document.getElementById("sheng"); var falge =0; sheng.onclick = function() { if(this.parentNode.classList.contains('linkage-selected')){ //... 阅读全文
posted @ 2019-09-03 11:18 enych 阅读(674) 评论(0) 推荐(0) 编辑
摘要://倒叙排列 string temp=""; for (int i = 0; i < strlist.Length / 2; i++) { temp = strlist[i]; strlist[i] = strlist[strlist.Length-1 - i]; strlist[strlist.Length - 1 - i] = temp; } 阅读全文
posted @ 2019-09-02 21:12 enych 阅读(1838) 评论(0) 推荐(0) 编辑
摘要:public class A { public A() { } public A(string str) { } } 阅读全文
posted @ 2019-09-02 16:57 enych 阅读(1315) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; u 阅读全文
posted @ 2019-09-02 16:25 enych 阅读(597) 评论(0) 推荐(0) 编辑
摘要:Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]"NC_IpStateChecking"=dword:00000000"NC 阅读全文
posted @ 2019-09-01 13:13 enych 阅读(216) 评论(0) 推荐(0) 编辑

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