摘要:
查找锁住的表已经相关的进程 select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_lockswhere resource_type = 'O 阅读全文
摘要:
查看被锁表:select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' spid 锁表进 阅读全文
摘要:
class job1:IJob { async Task IJob.Execute(IJobExecutionContext context) { await Console.Out.WriteLineAsync("作业执行1!"); //await new Task(() => { // Cons 阅读全文
摘要:
1、创建线程(全局) private Thread LookPictureThread; 2 创建启动线程的方法 (放在一起方便管理) private void StartThread() { if (LookPictureThread == null) { LookPictureThread = 阅读全文
摘要:
1、创建委托 private delegate void AddImageToPicturboxCallBack(string imageAddress); 2、 创建委托的方法 private void AddImageToPicturbox(string imageAddree) { if (p 阅读全文
摘要:
private void treeList1_GetNodeDisplayValue(object sender, GetNodeDisplayValueEventArgs e) { if (e.Column.FieldName == "State") { if (Convert.ToString( 阅读全文
摘要:
const int WM_SYSCOMMAND = 0x112; const int SC_CLOSE = 0xF060; const int SC_MINIMIZE = 0xF020; const int SC_MAXIMIZE = 0xF030; protected override void 阅读全文