**In this exercise, I need a solution that utilizes a menu to locate, add, change, and delete records from a database table.** The attached Figure shows the completed form for the solution at run time.
• Start VB NET and create a new solution named [login to view URL] setting the drive designator as necessary. This is a trivial step but very important in the labeling.
• Create the form’s user interface with the necessary labels and text boxes to display the fields from the underlying table.
• Create a main menu for the form. Create a menu title having a menu item named Exit to exit the solution. On the Edit menu, create menu items to add, edit, and cancel editing of the current record, and to update and delete database records. On the Navigate menu, create menu items to locate the first, previous, next, and last record in the database table.
• Using the Data tab on the Toolbox, create an instance of the OleDbConnection control, and configure it so that you establish a connection with the database attached, setting the drive designator as necessary.
• Generate a DataSet for the DataAdapter you just created. Set the DataSet name to dsParts.
• Write the necessary code to bind the fields in the underlying DataSet to the text boxes that you just created. Perform this task when the form loads.
• Create the code for the Add, Edit, Update, Cancel, and Delete menu items. So that the user cannot add or delete a record while the current record is being edited, create a sub procedure named EditState to enable and disable menu items as necessary. Enable or disable the text boxes also.
• Your solution should calculate the gross profit for the current item by subtracting the cost from the sales price. The total inventory at cost is calculated by multiplying the cost by the quantity on hand. You should display these output values whenever tile user locates a different record, or updates a record. I-lint: Create a sub procedure and call that procedure from the navigation menu [login to view URL] that for the solution to run, the database attached must reside in the same folder as the executable file.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition,3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
VB.Net 2003