POS 409 POS/409 Week 5 Assignment

POS 409 POS/409 Week 5 Assignment

Author: Alon Padson


Assignment: Design, implement, test, and debug a C# program to demonstrate input validation using regular expressions. The program should contain input fields for a customer name, a part number, an order quantity, and a unit cost. It may contain other fields that you might see on a typical order entry form, if you like. Please note that the use of masked textboxes is not acceptable. The program should validate at least one type of data of your choice - you are free to choose a commonly used data format such as Social Security Number (999-99-9999), or phone number (999-999-9999), or a custom format that you design. The program should also validate the part number in the following format: an 8 digit prefix consisting of capital letters or numbers followed by a dash followed by a two digit suffix that can only be zeroes or ones. Last the program should also perform a "sanity check" on one of the input fields. For instance, you could validate the order quantity to ensure it is not too large (such as greater than 500). This program must be a Windows Forms application. Be sure the interface is professional looking and intuitive to use for the novice end user.
Include identifying information in the form of block comments at the top of each class in the project (programmer name, date, program description). Include adequate comments throughout the program, utilize meaningful names for controls, variables, fields, and forms. Include white space for readability purposes in the code. Refer to the Individual Assignment grading form to view grading criteria. 

See More
Introduction to Psychology

Analyze this:
Our Intro to Psych Course is only $329.

Sophia college courses cost up to 80% less than traditional courses*. Start a free trial now.