Home / Software / Tips and Tricks / How to work with multiple result sets using SqlDataReader?

How to work with multiple result sets using SqlDataReader?

Updated:  09/21/2011 07:09 AM
Author:  Shiju Mathews

Status:    Resolved.


When we are displaying data on multiple asp.net Repeater from database using SqlDataReader use the following approach, Otherwise it will endup with the folloring error.
Invalid attempt to call NextResult when reader is closed.



Code Behind