M
Mike
Greeting,
i receive from db parameter in bit format
and tried to convert it to boolean:
bool boolBhcg=(bool)prmBhcg.Value;
as result i receive msg:
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
does anyone meet this problem before?
i receive from db parameter in bit format
and tried to convert it to boolean:
bool boolBhcg=(bool)prmBhcg.Value;
as result i receive msg:
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
does anyone meet this problem before?