SqlDataReader.Read() is a method which returns a bool but adva开发者_C百科nced to the next record in a recordset.
What factors influence whether true or false is returned?
Thanks
From the help of SqlDataReader.Read:
returns true if there are more rows; otherwise false.
From the documentation:
true if there are more rows; otherwise false.
精彩评论