Store Procedure

  • Thread starter Thread starter c81
  • Start date Start date
C

c81

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

thx
 
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
 
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
 
Back
Top