I have a TextBoxD1.Text and I want to convert it to an int to store it in a database.
TextBoxD1.Text
int
How can I do this?
Enjoy it...
int i = 0; string s = "123"; i =int.Parse(s); i = Convert.ToInt32(s);