Purchase Solution

Visual Studio project with two aspx forms.

Not what you're looking for?

Ask Custom Question

Create a Visual Studio project with two aspx forms. The first form contains a Label control, two TextBox controls, and Button controls labeled "Compute Area" and "Compute Perimeter." The Label control contains the text, "Enter numbers in the text boxes and then click a button." Use Try...Catch blocks to display an error message if the user enters a dimension that is less than or equal to zero. Use Validation controls to verify the user entered a number in each TextBox control before clicking a Button control.

When the user clicks a button, display the appropriate results on the second form. For example, suppose the user enters 4 and 5 in the initial form and clicks the "Compute Area" button. The result, "The area is 20," is displayed on the second form. If the results are greater than 100, the output should use a red font. If the results are greater than 50 and less than 100, the output should use a green font. If the results are less than 50, the output should use a blue font.

Name the file P_U2

Purchase this Solution

Solution Summary

Create a Visual Studio project with two aspx forms.

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Networking Questions

This quiz consists of some basic networking questions.