Home
    Shop
    Advertise
    Write For Us
    Affiliate
    Newsletter
    Contact


How To Convert Text Box Value To Integer?

You can easily convert string value from TextBox Control with this line of code:

[ C# ]

int MyInteger = Convert.ToInt32(TextBox1.Text);

[ VB.NET ]

Dim MyInteger As Integer = Convert.ToInt32(TextBox1.Text)



Related articles:

1. How To Find Web Site Visitor IP Address?

FAQ toolbar: Submit FAQ  |  Tell A Friend  |  Add to favorites  |  Feedback



Copyright © 2002-2008 Bean Software. All rights reserved.