阅读背景:

使用SQL Command对象,如何检查结果集是否为空?

来源:互联网 

Using the ExecuteScalar method in the SQL Command object, how can you check to see if the result set is empty? I am using ASP.net, C#, and MS SQL 2008. Right now when I run the following code the Response.Write returns a Using the ExecuteScalar method in the SQL Comma




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

分享到: