上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 133 下一页
摘要: 参考网址:https://blog.csdn.net/qq_35077107/article/details/104265496 枚举类型转为字符串: //枚举类public enum UserRoleEnum { /// <summary> /// 系统管理员 /// </summary> Adm 阅读全文
posted @ 2021-09-24 14:26 MaxBruce 阅读(974) 评论(0) 推荐(0)
摘要: 参考网址: https://blog.csdn.net/deng19936/article/details/101967969 我们知道程序在运行的过程中是需要占用一定内存的,一般程序所需要的内存由操作系统来分配,由操作系统分配的,自然需要由操作系统回收。但是在实际开发中,用户可以通过一些函数人为地 阅读全文
posted @ 2021-09-23 14:34 MaxBruce 阅读(678) 评论(0) 推荐(1)
摘要: 参考网址: https://zhuanlan.zhihu.com/p/221840154?ivk_sa=1024320u 据某份数据不完全统计,目前中国市场十大国际PLC品牌如下(避免争议,排名不分先后): 西门子、施耐德、欧姆龙、三菱、罗克韦尔、松下、ABB、倍福、艾默生、GE 再盘点一下中国市场 阅读全文
posted @ 2021-09-22 17:27 MaxBruce 阅读(7146) 评论(0) 推荐(2)
摘要: 参考网址: https://www.jb51.net/article/69869.htm 读写锁的概念很简单,允许多个线程同时获取读锁,但同一时间只允许一个线程获得写锁,因此也称作共享-独占锁。在C#中,推荐使用ReaderWriterLockSlim类来完成读写锁的功能。某些场合下,对一个对象的读 阅读全文
posted @ 2021-09-22 10:20 MaxBruce 阅读(252) 评论(0) 推荐(1)
摘要: 参考网址: https://www.cnblogs.com/enshjiang/archive/2012/02/16/2353599.html 阅读目录 前言 线程堆栈的分配 托管堆上对象的分配 结束语 前言 .Net中的运行时,以及各个类型、对象、线程堆栈以及托管堆之间的关系,在初学者(俺是初学者 阅读全文
posted @ 2021-09-20 19:28 MaxBruce 阅读(202) 评论(0) 推荐(0)
摘要: 四次握手: 阅读全文
posted @ 2021-09-20 11:15 MaxBruce 阅读(49) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/jackiehome/article/details/8668121 问题 : 超时时间已到。在从池中获取连接之前超时时间已过。出现这种情况可能是因为所有池连接都已被使用并已达到最大池大小。 解决办法 1. 在代码里面 , 把未关闭的连接关闭 2. 扩大共享 阅读全文
posted @ 2021-09-20 00:43 MaxBruce 阅读(539) 评论(0) 推荐(0)
摘要: 参考网址:https://www.cnblogs.com/larissa-0464/p/10227483.html 数据绑定: 更新内容:补充在MVVM模式上的TreeView控件数据绑定的代码。 xaml代码: <TreeView Name="syntaxTree" ItemsSource="{B 阅读全文
posted @ 2021-09-18 17:59 MaxBruce 阅读(1527) 评论(0) 推荐(0)
摘要: 参考网址: https://www.cnblogs.com/xuxiaona/p/4000344.html 之前通常都是使用SQL直接从数据库中取出表1和表2关联查询后的数据,只需要用一个JOIN就可以了,非常方便。近日遇到一种情况,两个表中的数据已经取到代码中,需要在代码中将这两个表关联起来,并得 阅读全文
posted @ 2021-09-18 17:06 MaxBruce 阅读(2467) 评论(0) 推荐(0)
摘要: 且返回表的行数。 1、界面设计 2、代码设计 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 阅读全文
posted @ 2021-09-18 00:42 MaxBruce 阅读(695) 评论(0) 推荐(0)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 133 下一页