kcwallace
Centurion
Can someone tell me why I am getting this error
{"Specified cast is not valid."}
The code:
The returned value from the database is 2776842
{"Specified cast is not valid."}
The code:
C#:
SqlDataReader dr = setDataReader(CntSQL, connection);
long retVal=dr.GetInt64(0);
The returned value from the database is 2776842