Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, when reading a number in a TextBox with VB.NET i use: Number = Val(TextBox1.Text). How can this be done in C# Thanks for any answer JF2015
int myNumber = int.Parse(TextBox1.Text); or double myNumber = double.Parse(TextBox1.Text); Just choose the right data type (int, float, double, ...). Then using method Parse.