J
John Baro
I have a query that returns an Int32 that I execute with
Command.ExecuteScalar
when I try (float)Command.ExecuteScalar
it throws a
Specified cast is not valid
exception.
When I try (float)(int)Command.ExecuteScalar
it works.
Why?
TIA
JB
Command.ExecuteScalar
when I try (float)Command.ExecuteScalar
it throws a
Specified cast is not valid
exception.
When I try (float)(int)Command.ExecuteScalar
it works.
Why?
TIA
JB