Purchase Solution

Create a 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.

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.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.