I have a stored procedure running in SQL Server 2000 which returns a value
when I run it in SQL Server Management Studio 2008 (SMS). I have also tested
it in SQL Server 2000 Query Analyzer with the same result. However, when I
run it with VB.Net 2010 I get "nothing" as the value of the return parameter:
cmd.Parameters( "@ReturnCount") .Value.
How do I get a value back? The parameter I am testing...
Search Result
Collapse
3 results in 0.0013 seconds.
Keywords
Members
Tags
-
Return value from stored procedure is "nothing"
-
Output parameter read from stored procedure empty
I'm using a stored procedure from an ASP page using a ADODB connection, the sproc returns a value and also has an output parameter.
Both are being read in the page but they are both empty, I profiled the sproc call and tested it directly and the values are being returned correctly.
What could the problem be? quick note: in another server the same code works fine.
The code I'm using to get the values looks like... -
socket() returns -1
I have written a small piece of code in 'c' for a simple server
However when I call the socket function , it returns the value -1.
What could be the problem??
Any help will be appreciated... Thanks in advance.
I am using dev c++ as my IDE, and running the code in windows platform
The code is as follows:
...Code:#include<stdio.h> //#include <ws2tcpip.h> #include <winsock2.h>