| | |
getting value of return value of stored procedure to code behined,with patterns prace
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Nov 2008
Posts: 3
Reputation:
Solved Threads: 1
getting value of return value of stored procedure to code behined,with patterns prace
0
#1 Nov 15th, 2008
getting value of return value of stored procedure to code behined,with MicroSoft Patterns and Practices.
Hi all,
I am using Microsoft Patterns and Practices to make a database connection to my application. I am able to get the value of the OUT parameter of the stored procedure to code behind. But not able to find the way how to get the return value of a stored procedure to code behind.
Can anyone plz let me know the way....! The example code snippet is really appriciable.....!
Thanks & Regards,
(Naveen Kumar M)
Hi all,
I am using Microsoft Patterns and Practices to make a database connection to my application. I am able to get the value of the OUT parameter of the stored procedure to code behind. But not able to find the way how to get the return value of a stored procedure to code behind.
Can anyone plz let me know the way....! The example code snippet is really appriciable.....!
Thanks & Regards,
(Naveen Kumar M)
•
•
Join Date: Oct 2007
Posts: 172
Reputation:
Solved Threads: 16
Re: getting value of return value of stored procedure to code behined,with patterns prace
0
#2 Nov 15th, 2008
•
•
Join Date: Nov 2008
Posts: 3
Reputation:
Solved Threads: 1
Re: getting value of return value of stored procedure to code behined,with patterns prace
0
#3 Nov 16th, 2008
•
•
•
•
Why you don' use an UDF user defined function instead of a stored procedure
Hi,
Thanx for the reply and actually that is the clients requirement. if not i could have gone for OUT parameter.
As this is the client's requirement i could not change. So, please let me know the way.
Thanks & Regards,
(Naveen Kumar M)
•
•
Join Date: Oct 2007
Posts: 172
Reputation:
Solved Threads: 16
Re: getting value of return value of stored procedure to code behined,with patterns prace
0
#4 Nov 16th, 2008
Try this link
http://www.sqlteam.com/article/store...returning-data
I think you have to mark the desired value to return with the OUTPUT keyword
http://www.sqlteam.com/article/store...returning-data
I think you have to mark the desired value to return with the OUTPUT keyword
![]() |
Other Threads in the C# Forum
- Previous Thread: any idea how to assign values to specific variables
- Next Thread: Access to a master form, from a component class
| Thread Tools | Search this Thread |
.net access algorithm alignment app application array bitmap box c# c#gridviewcolumn check checkbox client color combo combobox communication concurrency control conversion csharp custom data database datagrid datagridview dataset datatable datetime degrees draganddrop drawing enabled encryption enum excel file focus form format forms function gdi+ getoutlookcontactusinfcsvfile globalization hospitalmanagementsystem image input install java list localization mandelbroth math messagebox microsoftc#visualexpress mono mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox save server sleep socket sql sql-server statistics string stringformatting sun table text textbox thread time timer update usercontrol validate validation visualstudio webbrowser winforms wpf xml





