Bot quite sure what you are asking. However, if you make 1 proc call that
returns 5 result sets, you need to call NextResult() on your DataReader to
advance to the next result set. Pseudo code below:
//initialise connection and command
DataReader reader = cmd.ExecuteReader();
if (reader.Read())
{
//now in 1st result set
//process 1st
if (reader.NextResult())
{
//2nd
}
//etc.
}
If you want 5 separate data readers, call the process separately.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.