7
Answers

Convert.ToDecimal(command.ExecuteScalar()) returns nothing

Nel

Nel

12y
4.6k
1
Hi,


Does anybody have an idea why
Convert.ToDecimal(command5.ExecuteScalar())
returns nothing in my C# code?

I have a stored procedure which when tested returns good result, but when I call the procedure from my c# application,
......
.......
decimal saldo=Convert.ToDecimal(command5.ExecuteScalar())

when debugging I can see  that saldo shows no value.
I would appreciate any idea
Answers (7)