Home » FAQ » ASP.NET » TextBox » How to cast the value entered in a textbox to integer
VB.NET
Int32.Parse(TextBox1.Text)
C#
Int32.Parse(TextBox1.Text);
Share with