Vb string to int32

In this article let’s discuss about Vb string to int32. Let’s go through the following methods without any delay 🙂

Method 1:

Dim txtNumber As String = "6"
Dim intNumber As Integer = Convert.toInt32(txtNumber)

Method 2 :


Hope the above methods works for you. Happy Learning and get back to us Anytime.

Realted Posts : Mongodb command remove by _id