Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/input-validation/
- 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. 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.
- Download: http://solutionzip.com/downloads/input-validation/
Add Comment
Please, Sign In to add comment