Store Procedure

C

c81

Hello,
can i make to read in my dotnet application "RETURN @MaVar" of my store
procedure ?

thx
 
A

Adamz5

Hello,
can i make to read in my dotnet application "RETURN @MaVar" of my store
procedure ?

thx


Assuming the @MaVar is an out output from your stored procedure,

..NET would read the return from the stored procedure as below:



MYVALUE = CType(sqlCommand.Parameters("@MaVar").Value, String)

Regards

Adam
 
C

c81

Adamz5 a écrit :
Assuming the @MaVar is an out output from your stored procedure,

.NET would read the return from the stored procedure as below:



MYVALUE = CType(sqlCommand.Parameters("@MaVar").Value, String)

Regards

Adam
thx, i look that
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top