IF condition message based on sql temp variable not displaying
-
17. dubna 2012 0:58
I'm trying to check if username exists on textbox changed event.I've a stored procedure that does this checking and returns the output variable @proceed which I call in my code behind file.How do I handle the if condition based on output parameter in my stored procedure.Like
@ proceed == 1
{
print 'record exists'
}
- Upravený SQLProgramming 17. dubna 2012 2:39
- Upravený SQLProgramming 17. dubna 2012 2:40
- Upravený SQLProgramming 17. dubna 2012 15:12
- Upravený SQLProgramming 17. dubna 2012 20:27
Všechny reakce
-
17. dubna 2012 11:16
hi, below given link may help you.
http://dev.mysql.com/doc/refman/4.1/en/server-system-variables.html
-
19. dubna 2012 6:04
Hi SQLProgramming,
Please have a look at the following links to work with output parameters in ADO.NET:
http://www.codeproject.com/Articles/15403/Calling-Stored-procedures-in-ADO-NET
http://ketakikode.blogspot.com/2009/07/adonet-output-parameter-in-vb.html
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Get or Request Code Sample from Microsoft
If you have any feedback, please tell us.- Označen jako odpověď KJian_ 23. dubna 2012 6:05