Convert string to int in c# properly [Answered] RSS
Shortcuts
tugberk_ugur.
Convert string to int in c# properly
Jun 13, 2010 03:39 AM | tugberk_ugurlu_ | LINK
hi ! I cannot get textbox value to int. like that;
int muvalue = Textbox1.Text;
Mikesdotnett.
Re: Convert string to int in c# properly
Jun 13, 2010 04:44 AM | Mikesdotnetting | LINK
int myvalue = Int32.Parse(Textbox1.Text);
mudassarkhan
Re: Convert string to int in c# properly
Jun 13, 2010 04:54 AM | mudassarkhan | LINK
Re: Convert string to int in c# properly
in C# you must do typecasting in such a situation ..
This tutorial might be helpful to you
Re: Convert string to int in c# properly
you can get a clear idea from here:
Re: Convert string to int in c# properly
Jun 13, 2010 09:34 AM | SGWellens | LINK