I am new in creating applications using Visual Studio 2010. I am creating an application where it calculates the difference of a two values. I have two textboxes where the user will input 2 numbers. What I want is that it will calculate the difference of two values then display the difference in another textbox. Is this even possible? If yes, how can I do this? Please help.
Share
First get two values from their textboxes and convert them into numbers.
Calculate the result
Store it in the 3rd textbox.
You should use
Exceptionsto catch situation when someone has entered an incorrect value in one of the textboxes.