You are currently viewing the BOOK: Professional ASP.NET 2.0 Databases ISBN: 978-0-470-04179-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

can we pass a return and control parameter together in sqldatasource control

This is related to listing 4-4 (handling return parameter value from a stored procedure) of the book . i want to know is it possible to pass a control parameter and return data from a stored procedure as well as pass a return parameter to the same procedure using same sql data source control.
I have tried it but only select statement of control parameter gets executed.
And data is shown in grid view. Return Parameter is not passed.
Plz help.
I can post the code.