Thursday, September 20, 2007

We Were asked in clas to create a pay roll applictation that will take in hours worked for 2 weeks work. It also had to claculate the amount of over time pay that should be recieved if a person worked more than 40 hours per week. this rate of overtime was calculated at 1.2 times the usual rate of pay, which can be changed at any time.

We then ahd to do several extension to which i have managed to get the first 3 done.


1) Add a button which when clicked outputs a wage slip as a simple text file.
a. Try using Intellisense to insert the code for creating a text file (Edit >
Intellisense > Insert Snippet)
b. Something like: Streamwriter.(“wageslip.txt”,true)
2) Improve on this by creating a .html file instead of plain text (uses the same
process)
3) Have the program create a file using the employee name & current date as
part of the filename.
4) *Work out how to read in the employee timesheet data from a text / csv file*
5) **Implement this as a batch system (process a list of employee timesheet
records from a csv file.

If anyone has any idea how to do the last 2, please comment.

1 comment:

Mr E Barr said...

Good so far. Keep up the blogging, but you could try to add in more screenshots of what you have done in class.