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?
Copyright © 2002-2008 Bean Software. All rights reserved.