sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2021年4月13日

摘要: https://www.cnblogs.com/qixuejia/archive/2015/02/09/4281079.html ThreadStart: ThreadStart这个委托定义为void ThreadStart(),也就是说,所执行的方法不能有参数。 ThreadStart threa 阅读全文
posted @ 2021-04-13 21:11 sunny123456 阅读(317) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/veling/article/details/109481078 有A B C 三个数据库操作语句,利用C#事务处理进行多重操作,如果任何一个语句发生问题,则所有语句都不执行。 C# code SqlCommand sqlCmd = new SqlComm 阅读全文
posted @ 2021-04-13 21:04 sunny123456 阅读(330) 评论(0) 推荐(0) 编辑

摘要: http://cache.baiducontent.com/c?m=BSl37ENFidjcv62duqhBNPyxQdFlxKAG2nco0JbV7TG7OfCyY_0aPbOo5NLl2ITMF_RwLsp2btw4gu3NAZQrJsi5BQvmSVIuiLVtUFdn098ApVGHqR8A 阅读全文
posted @ 2021-04-13 21:02 sunny123456 阅读(284) 评论(0) 推荐(0) 编辑

摘要: js将表格数据转换成json var materia = document.getElementById('material');//表格id var sendName = new Array(); var trs = materia.getElementsByTagName("tr"); var 阅读全文
posted @ 2021-04-13 20:27 sunny123456 阅读(655) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/yeyazhishang/article/details/90445330 定义 单例模式是比较常见的一种设计模式,目的是保证一个类只能有一个实例,而且自行实例化并向整个系统提供这个实例,避免频繁创建对象,节约内存。 单例模式的应用场景很多, 比如我们电脑 阅读全文
posted @ 2021-04-13 20:17 sunny123456 阅读(182) 评论(0) 推荐(0) 编辑

摘要: https://www.cnblogs.com/mcyushao/p/9671357.html 1、简单实现 C# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 public sealed class Singleton 阅读全文
posted @ 2021-04-13 20:15 sunny123456 阅读(170) 评论(0) 推荐(0) 编辑