convert label text as integer invb.net code example Example: convert string to int vb.net Convert.toInt32(txtPrice.Text)