摘要:
string sql = string.Format(@"insert into Table(FileSize,FileType,FilePath,FileExtName,OldFileName,NewFileName,FileHash,CreateTime,DeleteFlag) values(@ 阅读全文
摘要:
//写cookies function setCookie(name, value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); document.co 阅读全文
摘要:
yield是C#为了简化遍历操作实现的语法糖,我们知道如果要要某个类型支持遍历就必须要实现系统接口IEnumerable,这个接口后续实现比较繁琐要写一大堆代码才能支持真正的遍历功能。 using static System.Console; using System.Collections.Gen 阅读全文
摘要:
其他类型数组转化同理 C# string数组转int数组 阅读全文
摘要:
来自:C#对DataTable里数据筛选排序的方法 阅读全文
摘要:
来自->c# 读取图片文件 阅读全文
摘要:
includes() 方法用来判断一个数组是否包含一个指定的值,如果是返回 true,否则false。 JavaScript Array includes() 方法 阅读全文
摘要:
返回值为true/false >【最简单的方法】js判断字符串是否为JSON格式(20180115更新) 阅读全文