I'm trying to convert the value entered to decimal. So for example I enter 38.99, I want to conver it to decimal format in code behind but obviously I'm not doing this right:
private decimal cardAmount;
cardAmount = Convert.ToDecimal(txtCreditCardAmount);
I get that error on cast.
...
Go to the complete details ...