ArrayList.ToArray(Type) Or ArrayList.CopyTo(Array)
摘要:转自:http://blogs.geekdojo.net/richardhsu/archive/2003/11/08/268.aspxI was using ArrayList.CopyTo(Array) to convert arraylist to a type[] array. I thought ArrayList.ToArray(Type) was for intrinsic types...
阅读全文
Using Delegates with Data Readers to Control DAL Responsibility[转]
摘要:原文:http://aspalliance.com/articleViewer.aspx?aId=526&pId=-1 Why People Don't Use Data Readers A problem with data readers is their connected nature. Every data reader has one database connection t...
阅读全文