数据库访问的对象DataReader,包括SqlDataReader,OleDbDataReader等有个NextResult方法,返回一个布尔值,true。鼠标指到NextResult代码上显示这些东东:Advances the data reader to the next result , when reading the results of batch Transact-SQL statement . :)下面是个简单的例子。 } 看了这篇文章你就不用每条select语句占用一个command了。^_^ 相关文章: