vb.net - How do I convert from a string to an integer in Visual Basic? - Stack Overflow
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 still got an exception. ... Use Convert.toInt32(txtPrice.Text) This is assuming VB.NET. Judging by the name "txtPrice", you really...