摘要:
1.定义一个 "代表"如: public delegate void DisconnectedEventHandler(object sender,ClientEventArgs e); 2.定义事件参数如: public class ClientEventArgs : EventArgs { public IPAddress IP { ... 阅读全文
摘要:
I have implented the IDataErrorInfo interface on the BaseEntity class. Thiis interface provides the functionality to offer custom error information that a user interface can bind to. Controls like t... 阅读全文
摘要:
USE AdventureWorks;GOCREATE TABLE #temptable (col1 int);GOINSERT INTO #temptableVALUES (10);GOSELECT * FROM #temptable;GOIF OBJECT_ID(N'tempdb..#temptable', N'U') IS NOT NULL DROP TABLE #temptable;GO-... 阅读全文