G
Guest
Hello All!
I have a SP that returns a int value as an alias called "returnvalue". I can
call the SP fine in my code.
conLog = New
SqlConnection("Server=localhost;uid=*****;pwd=*****;database=footbet")
cmdLog = New SqlCommand("loginStore", conLog)
cmdLog.CommandType = CommandType.StoredProcedure
cmdLog.Parameters.IndexOf("@InUse")
conLog.Open()
cmdLog.ExecuteScalar()
myMainfrm.Show()
conLog.Close()
No I can look at my dataAdapter and preview my return value from my store
procedure. So I believe the connection is just fine. I just want to be able
to send that returnvalue to a text box in my program. So all I need is the
output the SP is giving me, and put that value in a textbox.
Can anybody point me in the right direction, and let me know what is the
best way of doing this?
As always, Thank you for your time.
Rudy
I have a SP that returns a int value as an alias called "returnvalue". I can
call the SP fine in my code.
conLog = New
SqlConnection("Server=localhost;uid=*****;pwd=*****;database=footbet")
cmdLog = New SqlCommand("loginStore", conLog)
cmdLog.CommandType = CommandType.StoredProcedure
cmdLog.Parameters.IndexOf("@InUse")
conLog.Open()
cmdLog.ExecuteScalar()
myMainfrm.Show()
conLog.Close()
No I can look at my dataAdapter and preview my return value from my store
procedure. So I believe the connection is just fine. I just want to be able
to send that returnvalue to a text box in my program. So all I need is the
output the SP is giving me, and put that value in a textbox.
Can anybody point me in the right direction, and let me know what is the
best way of doing this?
As always, Thank you for your time.
Rudy