Reference no: EM132134672
Extend the AdWorks application
I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly.
1. The user should be able to select a specific customer from the DataGrid and click the edit, read or delete buttons to perform those functions (Edit an existing customer, read [NOT change] the details of the customer, and delete the customer from the database.).
2. If there are no users in the data grid, the user should not be able to click the Edit read or delete buttons. When the customer object is edited or deleted, the data grid should be refreshed with the new data.
3. Irrespective of selection, the user should be able to add a new customer and the new customer should appear in the data grid.
II. All user entered values that will be stored in the data base (for example, in the Add and Edit dialogs) need to be validated for structure form and length.
For example, I should not be able to type "4ahul" as a name; or "abcdefghijkl" as my email address. Use your judgement and discretion for what user inputs to allow and disallow.
III. For controls that allow selection (such as a combo-box), allow the user to enter new values. For example, I should be able to enter the title "Dr." in the combo-box for title.
IV. Add a button on the customer form to read and edit addresses for customers. The user should be able to select a customer and edit their address(es) You can implement this using a dialog or using the customer form or using a new form.
Attachment:- Assignment.zip