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
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

26 Sophia partners guarantee credit transfer.

226 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 21 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.