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
Please try this, VB.NET 2010:
Integer.TryParse(txtPrice.Text, decPrice)
decPrice = Convert.ToInt32(txtPrice.Text)
From Mola Tshepo Kingsley (WWW.TUT.AC.ZA)