会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
紫藤球球
博客园
首页
新随笔
联系
管理
订阅
2020年9月25日
SQLserver 表锁住已经锁住表所执行的语句
摘要: 查找锁住的表已经相关的进程 select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_lockswhere resource_type = 'O
阅读全文
posted @ 2020-09-25 15:11 紫藤球球
阅读(341)
评论(0)
推荐(0)
2020年7月13日
MSSQL表锁住,怎么查看锁住表和解锁表
摘要: 查看被锁表:select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' spid 锁表进
阅读全文
posted @ 2020-07-13 09:47 紫藤球球
阅读(684)
评论(0)
推荐(0)
2019年8月16日
Quartz 自动定时任务
摘要: class job1:IJob { async Task IJob.Execute(IJobExecutionContext context) { await Console.Out.WriteLineAsync("作业执行1!"); //await new Task(() => { // Cons
阅读全文
posted @ 2019-08-16 16:24 紫藤球球
阅读(536)
评论(0)
推荐(0)
2019年4月29日
创建线程并且启用
摘要: 1、创建线程(全局) private Thread LookPictureThread; 2 创建启动线程的方法 (放在一起方便管理) private void StartThread() { if (LookPictureThread == null) { LookPictureThread =
阅读全文
posted @ 2019-04-29 11:11 紫藤球球
阅读(117)
评论(0)
推荐(0)
跨线程给窗体的控件赋值
摘要: 1、创建委托 private delegate void AddImageToPicturboxCallBack(string imageAddress); 2、 创建委托的方法 private void AddImageToPicturbox(string imageAddree) { if (p
阅读全文
posted @ 2019-04-29 11:09 紫藤球球
阅读(290)
评论(0)
推荐(0)
2019年4月16日
Dev TreeList 某一列进行格式化显示
摘要: private void treeList1_GetNodeDisplayValue(object sender, GetNodeDisplayValueEventArgs e) { if (e.Column.FieldName == "State") { if (Convert.ToString(
阅读全文
posted @ 2019-04-16 16:57 紫藤球球
阅读(551)
评论(0)
推荐(0)
C#winform窗体利用系统抓取关闭按钮事件
摘要: const int WM_SYSCOMMAND = 0x112; const int SC_CLOSE = 0xF060; const int SC_MINIMIZE = 0xF020; const int SC_MAXIMIZE = 0xF030; protected override void
阅读全文
posted @ 2019-04-16 09:43 紫藤球球
阅读(1013)
评论(0)
推荐(0)
公告