Hi there!
I've developed a program in C# that calls a stored procedure in SQL server. Is it possible for a stored procedure to pass back a result set with multiple rows? If so how do I access these values in my application.

Many Thanks!

Recommended Answers

All 3 Replies

Yes, you can hold what returned from your SP in XML object for later processing or DataReader for navigation..
If you need a sample tell me..

Thanks! :) I can now access the result set.

You're welcome, just drop any question at anytime!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.