You use a DbDataReader to access a single result set. As you iterate through the result set, you need to check whether you have read all the rows in the result set.

What should you do?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 2974 | Points: 40
Select from following answers:
  1. Examine the return value of the DbDataReader.NextResult method.
  2. Call the DbDataReader.GetValue method and check that it does not return an exception.
  3. Examine the return value of the DbDataReader.Read method.
  4. All Above

Show Correct Answer

Source: | | Alert Moderator 

Comments or Responses

Login to post response