Purchase Solution

Error Handling: Visual Studio Project

Not what you're looking for?

Ask Custom Question

Create a Visual Studio 2005 project with two aspx forms. The form contains a Label control, two TextBox controls, and Button controls labeled "Add," "Subtract," "Multiply," and "Divide." 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 tries to divide by zero. Use Validation controls to verify the user entered a number in each TextBox control before clicking a Button control.

Display the appropriate results on the second form when the user clicks a Button control. For example, suppose the user enters 4 and 5 in the initial form and then clicks the "Add" button. The result, "4 + 5 = 9," is displayed on the form. Use different fonts to display the results. If the result is negative, display the answer in Arial font. If the result is zero, display the answer in Verona font. If the result is positive, display the answer in Times New Roman font.

Place the entire project folder in a zip file before submission.

Base the name of your Visual Studio project on your last name. For example, if your last name is Jones, then assign the name, Jones_IP2.

Deliverable Length: A Visual Studio 2005 project with two forms

Attachments
Purchase this Solution

Solution Summary

Create a Visual Studio 2005 project with two aspx forms.

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

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

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.

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.

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.

Javscript Basics

Quiz on basics of javascript programming language.