Checkout
checkout
view
Your Cart Your Cart: item(s)
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Software Design and Architecture
Year 3

Payroll


•  Save and execute the file named Ch09Ex1.exe. Set the drive designator as necessary. For the solution to run, the database Payroll.mdb, which can be downloaded in the following zip file named Pavroll.zip, must exist in the same folder as the executable file. (Download the zip and extract the database file to the folder) The input form contains a list box, and a DataGrid control instance. Select employee names in the ListBox control instance. The corresponding payroll information appears in the DataGrid. As you select different employees, the payroll totals are recalculated for the selected employee.
•  Start VB .NET and create a new solution named YourName_Unit3.sln, setting the drive designator as necessary.
•  Configure the form so that it appears on the center of the desktop when the solution is run. Also, configure the form so that the user cannot resize it.
•  Using the OleDbConnection and OleDbDataAdapter controls, create a connection to the database. Use two OleDbDataAdapter control instances to get the data from the two respective tables. Generate one DataSet based on the two DataAdapters. Write the necessary statements in the frmMain_Load event handler to populate the DataSet.
•  Using the XML Designer, define a DataRelation to link the field named fldEmployeelD between the two tables.
•  Create an instance of the ListBox control. Set the necessary properties so that the ListBox control will display the field fldName in the table named tblEmplovees.
•  Create an instance of the DataGrid control on the form. Configure the DataGrid control instance so that it displays records from the table named tblPavroll. Use the DataRelation object to accomplish this task. Make sure that the DataGrid control instance displays the payroll records for the currently selected employee.
•  Format the DataGrid so that the column header names are the same as the ones shown in the Figure. Make the background color of the selected row light blue. Also, make sure that the rows have an alternating color.
•  Write the necessary code to calculate the number of transaction, total gross pay, total withholding, and total net pay for the currently selected employee. Display the results in Label control instances at the bottom at the form. Format the output as currency. Right-justify the output in the Label control instances.
•  Create an Exit button for the solution. In the Click event handler for the button, display a message box to get confirmation from the user before exiting the solution.
•  Create an Update button that will allow the user to save any changes made to the DataGrid back to the database. Write the necessary code for the button. Allow the user to add, change, and delete records.

Attachments
Payroll.zip  View File
Ch09Ex1.exe  View File
IP3.doc  View File

By OTA:  Suraj Joshi, PhD (IP)

OTA Rating:  4.7/5

Your Price:  $2.19  (original value ~$27.93)

What's included:

  • Plain text response
  • Attachment(s):
    • YourName_Unit3.zip
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download
Please answer the following - Describe the advantages and challenges of using a team to develop an Access database.
The base rate for the room depends on the room type - Set the drive designator as necessary. Enter the values shown, and then click the Calculate button. The cost of the reservation appears in the output section of the form. Exit the solution. Create a new solution named YourName_Unit01.sln. (will Be given when the problem is signed out.) Create the control instances on the form as shown.Note ...
Components and Classes- VB.net - In this solution, you will create a Class Library project that will count the number of characters, words, sentences, and paragraphs contained in a text file or a multi-line text box. You will also create a Windows Application to test the Class Library project you create. The Class Library project will have one class module. The class will have one method that will...
Communications Protocols Standards - Your manager has asked you to describe the frame format of a typical Ethernet packet. Prepare a written report. Be sure to discuss Manchester encoding, and Ethernet performance as more hosts are added to a network.
Project Management - Project life cycle consists of different phases. Identify the major IT project management tasks associated with the concept, development, implementation, and closeout phases of the project life cycle. For each of the identified tasks, list the necessary project management skills to accomplish those tasks. Make sure that you briefly describe why each of the listed tasks is ...

Page generated in 0.0399 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples