cast string to int vb.net code example
Example: vb string to int32
Convert.toInt32(txtNumber.Text)
____________Ex.__________
Dim txtNumber As String = "6"
Dim intNumber As Integer = Convert.toInt32(txtNumber)
Convert.toInt32(txtNumber.Text)
____________Ex.__________
Dim txtNumber As String = "6"
Dim intNumber As Integer = Convert.toInt32(txtNumber)