How do I convert from a string to an integer? Here\'s what I tried:
Price = CInt(Int(txtPrice.Text))
I took out the Int and I
Int
Convert.ToIntXX doesn't like being passed strings of decimals.
To be safe use
Convert.ToInt32(Convert.ToDecimal(txtPrice.Text))