Em Andamento

Working with Database Tables

Save executable file named _Ch09Ex1.exe_. Must also download the database named _Payroll.mdb_, which must exist in the same folder as the executable file. 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.

Create new solution named [url removed, login to view]

Make form appear on the center of the desktop. Also, configure the form so that the user cannot resize.

Using the OleDbConnection and OleDbDataAdapter controls, create a connection to the database. Use two Old DbDataAdapter 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 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.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

VB.Net 2002

Habilidades: .NET, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Visual Basic

Ver mais: sure payroll, populate xml from database, list of designer names, download payroll software, download package designer, designer names list, currency table list, payroll number, get the label, visual c software code update, sln-, populate data in tables using xml, payroll so, object designer, datagrid, database employee, currency source code, write payroll, employee payroll source code, write payroll program, payroll solution, php connection select, write program will calculate gross pay set employees, php generate label, database connection php

Acerca do Empregador:
( 9 comentários ) United States

ID do Projeto: #2973332

Premiar a:

vw957170vw

See private message.

$7 USD em 14 dias
(32 Avaliações)
6.3

2 freelancers estão ofertando em média $8 para este trabalho

coder100vw

See private message.

$8.5 USD in 14 dias
(2 Comentários)
0.0