阅读背景:

检测IDataReader是否为空的最佳方法是什么?

来源:互联网 

It seems like IDataReader.Read() is always true at least one time (If I'm wrong about this let me know.) So how do you tell if it has no records without just wrapping it in a try/catch?It seems like IDataReader.Read() is always true




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: