Did you do the cast where the error is happening?
Where do you use the bet1 variable? You set bet1 to the value of bet before you assign a value to bet.
Don't you want to use the current value...
Type: Posts; User: Norm
Did you do the cast where the error is happening?
Where do you use the bet1 variable? You set bet1 to the value of bet before you assign a value to bet.
Don't you want to use the current value...
Can you post the text of the error message that shows the source line with the problem?
You can get rid of some of the error messages by using a cast to tell the compiler that you want to convert...