数据库访问的对象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了。^_^ 相关文章: 2021-06-24 2021-06-29 2022-12-23 2022-01-22 2022-12-23 2022-12-23 2021-07-30