摘要:
Just read a good article to do cross-thread calling in an easy and elegant way.It is amazing for its simplicity and elegancy: 1 static class ControlExtensions 2 { 3 public static void InvokeOnOwnerThread(this T control, Action invoker) where T : Control 4 { 5 if (control.InvokeRequired) 6 ... 阅读全文
摘要:
The way I used to resize/shrink datafile of Database: SELECT a.file#, a.name, a.bytes/1024/1024 CurrentMB, ceil(HWM * a.block_size)/1024/1024 ResizeTo... 阅读全文
摘要:
1. Generate a KeyFile sn-kkeyPair.snk 2. Get the MSIL for the assembly ildasm "D:\Myassembly.dll" /out:D:\Myassembly.il 3. Rename the original assembl... 阅读全文
摘要:
CREATE TABLE "figo"."AAA_LOG" ("AAA_NO" NUMBER(*,0), "LOGS" VARCHAR2(4000 BYTE), "LOG_DT" DATE ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOM... 阅读全文
摘要:
http://orafaq.com/wiki/SQL_Trace Tracing an entire database To enable SQL tracing for the entire database, execute: ALTER SYSTEM SET sql_trace = tru... 阅读全文
摘要:
WSDL的详解笔记 http://blog.csdn.net/guolimin1118/archive/2010/04/24/5522122.aspx 如果看懂一个WSDL文档http://blog.csdn.net/gangbo_5958196/archive/2010/04/10/54664... 阅读全文
摘要:
Thereare times you want to bring transactions in your programs, especially you're doing finicial stuff. I found two good articles tell about the old s... 阅读全文
摘要:
1. Sometimes you may need to tell debugger to break when some variable equals to a value as follows if (MyStringVariable == " LKOH " ) Deb... 阅读全文
摘要:
link1: http://www.codinghorror.com/blog/files/Visual%20Studio%20.NET%202005%20Keyboard%20Shortcuts.htmlink2: http://www.dofactory.com/ShortCutKeys/ShortCutKeys.aspx 阅读全文
摘要:
执行多行命令,只能把命令写在一个批处理文件中,然后通过调用批处理来执行. 1.在Solution explorer中用context meun查看project的property. 2.选择Build Events,可以看到Pre-build 和Post-build event command li... 阅读全文