A .net Class for Ctype Function in vb.net

I use Ctype function to convert data from one type to another. e.g.

Dim intRecno as Integer = 0
intRecno = Ctype(Me.txtMyrecord.Text,Integer) where
Me.txtMyrecord.text contains a number fed by the user.

Which .net Class can I use to achieve this instead of using an old fasioned Ctype function, as I want my program to be fully class based.

Kindly give a suitable example.

Dilip Nagle

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!