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);
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with