摘要: ::-webkit-scrollbar { /*滚动条整体样式*/ height: 13px !important; /*高宽分别对应横竖滚动条的尺寸*/ width: 13px !important; } ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ borde 阅读全文
posted @ 2022-04-15 16:22 点滴一言 阅读(380) 评论(0) 推荐(0)
摘要: 1.当数组Int类型(采用Linq写法) int[] str_num = { 3, 2, 1, 5, 4 }; var str_numCount = str_num.Length; for (int i = 0; i < str_numCount; i++) { var aa= str_num.To 阅读全文
posted @ 2022-03-23 11:30 点滴一言 阅读(33) 评论(0) 推荐(0)
摘要: var date = DateTime.Parse("2022-03-30"); for (int i = 1; i < 8; i++) { Console.WriteLine(i+":"+ date.AddDays(i - (int)date.DayOfWeek).ToString("yyyy-M 阅读全文
posted @ 2022-03-21 14:52 点滴一言 阅读(81) 评论(0) 推荐(0)
摘要: select count(*) from 表名 where 列='列条件' and 时间 between 开始时间 and 结束时间 查询结果大于0就是命中,否则没有 指定一个时间,查询是否在开始时间与结束时间之间 select count(*) from 表名 where 列='列条件' and 阅读全文
posted @ 2022-03-09 14:14 点滴一言 阅读(2755) 评论(0) 推荐(0)
摘要: 第一步:声明 1 DataTable recordsToShow = new DataTable(); 2 recordsToShow.Columns.Add("ResultID", typeof(string)); 3 recordsToShow.Columns.Add("Username", t 阅读全文
posted @ 2021-11-29 15:23 点滴一言 阅读(250) 评论(0) 推荐(0)
摘要: click事件 浅度 $('.userscore').click(function () { }); 深度 $(document).on("click", ".btnScoring", function () { }); change事件 浅度 $('.userscore').change(func 阅读全文
posted @ 2021-05-31 15:11 点滴一言 阅读(48) 评论(0) 推荐(0)
摘要: 第一步:查询已安装的数据集和修改: 1.查询当前数据库的排序规则(编码) select * from ::fn_helpcollations() 2.修改方法 alter database xxx collate yyy xxx - DB name--数据库名称 yyy - 字符集 name--排序 阅读全文
posted @ 2021-04-12 13:53 点滴一言 阅读(1343) 评论(0) 推荐(0)
摘要: 在SQL Server中运行大容量脚本,系统提示“内存不足,没有足够的内存继续执行程序”,该如何解决呢? 1. 提示如图: 2.我们可以通过命令行来进行导入,命令如下图: osql -E -i D:\脚本文件.sql 以上命令即可运行脚本了,如果要记录运行过程中的脚本执行日志,则可以使用-o参数来保 阅读全文
posted @ 2021-03-25 18:08 点滴一言 阅读(1970) 评论(0) 推荐(0)
摘要: string[] str5 = { "2", "2", "6", "8", "8" }; var list = str5.Select(s => new { s, c = str5.Count(c => c == s) }).Distinct().Where(w => w.c > 1).ToList 阅读全文
posted @ 2021-03-11 13:45 点滴一言 阅读(595) 评论(0) 推荐(0)
摘要: with peopleInfo as( select row_number() over(order by Username) rn,* from 表 where Username='321026196902232852' ) delete from peopleInfo where rn>1 阅读全文
posted @ 2021-03-09 13:55 点滴一言 阅读(300) 评论(0) 推荐(0)