Home All Groups Group Topic Archive Search About

OracleNumber Conversion Issue

Author
9 Nov 2005 2:39 AM
Eric Cota
Running the below code:
convert.toint32(oracle_Command.ExecuteOracleScalar)

Results in the below error:
Run-time exception thrown : System.InvalidCastException - Specified cast is
not valid.

The sql being ran results in:
10438

Any help would be appreciated

Thanks

Author
9 Nov 2005 2:43 AM
Eric Cota
I forgot to state this is using the oracleclient

Show quote
"Eric Cota" wrote:

> Running the below code:
> convert.toint32(oracle_Command.ExecuteOracleScalar)
>
> Results in the below error:
> Run-time exception thrown : System.InvalidCastException - Specified cast is
> not valid.
>
> The sql being ran results in:
> 10438
>
> Any help would be appreciated
>
> Thanks

AddThis Social Bookmark Button