Create a Visual Studio 2008 ASP .NET Web Site with two Web Forms.
The first Web Form contains one Label server control, two TextBox server controls, and four Button server controls with the Text "Add," "Subtract," "Multiply," and "Divide."
The Label control contains the Text, "Enter numbers in the text boxes and then click a button to perform the calculation".
Use a Try...Catch code block to display an error message if the user tries to divide by zero. Use validator server controls to validate each TextBox server control to verify whether the user entered something into each TextBox and that the entered value can be converted to a number.
Use cross-page posting to display the results in a Label server control on the second Web Form when the user clicks one of the calculation Button server controls on the first Web Form.
For example, when the user enters "4" and "5" in the TextBox server controls on the first Web Form and then clicks the "Add" Button server control, the second Web Form will display with the statement "4 + 5 = 9" displayed in the Text property of the Label server control.
The statement must include the values input by the user, the selected mathematical operation and the calculated result. Use a decision structure to assign different fonts to the Label server control based on the calculated value.
If the calculated value is a negative number, display the answer in Times New Roman font. If the calculated value is zero, display the answer in Courier font.
If the result is a positive number, display the answer in Arial font. The Label server control should also display an error message to the user if they tried to divide by zero on the first Web Form.