Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 stored procedure and its client

Author  Topic 

needforhint
Starting Member

12 Posts

Posted - 2009-04-16 : 18:14:32
hello,
I have read many tutorials on creating stored procedures and sending data to client. But there is no mention on how actualy client "gets" theese sent data. I have learned about SqlContext.Pipe.Send() method that sends data to client,.. but how in the world my client receives them actualy? no clue about that. I have a C# program and I have no clue about this:
1. how my C# program invokes stored procedure? (having connection to the database server and all )
2. How my C# program that invoked stored procedure receives the data that stored procedure sent down the pipe?
Thanks for helping a silly like me :)

robvolk
Most Valuable Yak

15732 Posts

Posted - 2009-04-16 : 20:41:56
Have you tried using a SQLCommand with a DataReader or DataSet object? Any of these can execute a stored procedure and receive the data it returns.
Go to Top of Page
   

- Advertisement -