Check the condition before assigning it to a variable. If the Value is greater than or equal to 0 then proceed with the things else show him some error message and more over use return val.
Thanks,
Hitesh Kumar Vyas S.
"Nobody can do everything, but everyone can do something."
hitesh s
Participant
1278 Points
303 Posts
Re: Store Procedure Return Value -3, but C#.Net always return value is Convert into 0Xffffff Val...
Sep 24, 2010 09:26 AM|LINK
Hi,
Check the condition before assigning it to a variable. If the Value is greater than or equal to 0 then proceed with the things else show him some error message and more over use return val.
Hitesh Kumar Vyas S.
"Nobody can do everything, but everyone can do something."