Simple question from a C# Newbie
I have a textbox , that has a numerical entry and I want to add, say 10, to the value on display.
int i ;
i = (int) txtBox.text + 10; //Is not allowed as the compiler is not sure whether the entry is a number.
Any help would be appreciated




Reply With Quote