G
Guest
Hello
txtID.Text contains a 6 digit Integer number with no decimals, no chars...
Dim j As Integer = Cint(txtID.Text)
or
Dim j As Integer = Convert.ToInt32(txtID.Text)
Is there any difference between these 2 statements? Is one statement more
correct than the other?
Thanks,
Rich
txtID.Text contains a 6 digit Integer number with no decimals, no chars...
Dim j As Integer = Cint(txtID.Text)
or
Dim j As Integer = Convert.ToInt32(txtID.Text)
Is there any difference between these 2 statements? Is one statement more
correct than the other?
Thanks,
Rich