摘要: 异常{ 无法将 匿名方法 转换为类型“System.Delegate”,因为它不是委托类型 } 委托实际上是把方法名作为参数,但是若有好多个方法时,就要指明是哪个参数 查看如下代码: this.Invoke(delegate { MessageBox.Show("t4"); ... 阅读全文
posted @ 2015-04-01 12:06 359444066 阅读(1122) 评论(0) 推荐(1) 编辑
摘要: I used to see my senior developers use WITH (NOLOCK) when querying in SQL Server and wonder why they use. Now i explored it and found that it's useful to improve the performance in executing the query... 阅读全文
posted @ 2015-04-01 12:03 359444066 阅读(2731) 评论(0) 推荐(0) 编辑