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

database schema, which has two tables


For this project you will use the following database schema, which has two tables.
Start VB .NET

Table 1 -- Schema for the tblEmployees table

Column Name Data Type
fldEmployeeID Integer
fldName String
fldAddress String
fldCity String
fldState String
fldZipCode String


Table 2 -- Schema for table named tblPayroll

Column Name Data Type
fldEmployeeID Integer
fldPayrollID Integer
fldPayDate Date
fldGrossPay Single
fldWithholding Single
fldNetPay Single


• 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

By OTA:  Nitu Singal, MBA

OTA Rating:  4.8/5

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

What's included:

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

Add to Shopping Cart
$2.19 Instant Download
Please fix minicalc using visual basic.Net - The MiniCalc application was designed to perform basic math calculations: +, -, *, /. However, in its present form, this application needs some improvements. 1. Test all operators with the values 8 and 2 to make sure it works as expected. 2. Test the program with 99999 + 99999. This should raise a 'System.OverflowException' exception. 3. Mod...
Please create this application using visual basic .net - Design and develop a program that validates the value a user enters into a TextBox control to ensure that the entry is a valid telephone number. The application should accept a maximum of 12 characters. When the user clicks a button, the program should determine if the entry is of the form 999-999-9999, where the character 9 represents any n...
create a solution that utilizes a menu to locate, add, change, and delete records from a database table - • Start VB NET and create a new solution named YourName_Unit02.sln setting the drive designator as necessary. • 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 ...
cost of a hotel room - Save and execute the file attached. If you have not yet installed the software, single right click on the file and choose save target as, then run the file from your desktop. 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...
Enhance the payments database - Professional Litigation User Services (PLUS) creates all types of visual aids for judicial proceedings. Raj Jawahir is working with the Payments database to track and analyze the payment history of PLUS clients. He again needs your help. He would like you to enhance the Payments database by completing the following: Make a copy of the database called suppor...

Page generated in 0.0413 seconds

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

©2008 SolutionLibrary.com

Search for Solutions About Us Samples