Payroll System in C# and MySQL Database Free Source Code



This Payroll System is an automated system whose main goal is to handle all payroll tasks such as calculating overtime of employees, holidays, deductions, and their total Net Income. This system also contains a Report wherein you the admin can view the Weekly Payroll and Payslip of employees. It’s a user-friendly system that anyone managing it can easily use the features of it. If you have a business this system is ideal in processing the process to help you ensure that all of your employees are paid correctly. You can take a look at the features that are shown below.

About The Payroll System

This Bakery Inventory System was developed using C# and MySQL Database. This project is a software-based application that manages the payroll of the employees of a certain company. The system user is required to enter his/her system credentials in order to manage the information and payroll records of the employees. The user can simply add an employee along with some relevant information including the daily rate of the person. The system automatically computes the Total Income of each employee when creating payroll for them. The user will just select the employee and add the days of present, total hours of overtime, the number of holidays, and the deductions. The system generates a Printable Weekly Payroll Report and Employee's Payslip. It is easy to use and has user-friendly functionalities.


  • Manage Employees
    • List of Employees
    • Add New Employee
    • Update Employee
    • Delete Employee
  • Manage Payroll
    • Create Payroll
    • List of Payroll
  • Manage Users
    • Add New User
    • Update User
    • List of Users
    • Delete Users
  • Reports
    • Weekly Payroll
    • Generate Payslip
  • Login and Logout

How to Run


(Download and Install the Following)


  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Open your XAMPP's Control Panel and start Apache and MySQL.
  3. Open a browser and browse the PHPmyAdmin. i.e. http://localhost/phpmyadmin
  4. Create a new database naming payrolldb.
  5. Import the provided SQL File inside the extracted source code folder. The file is known as payrolldb.sql.
  6. Locate the solution file inside the extracted source code folder. The file is known as PayrollSystem.sln.
  7. Open the Solution File with your MS Visual Studio Software.
  8. Press the F5 key on your keyboard to run this Payroll System Project.

Admin Login Information:

Username: admin
Password: admin


There you go. You can have now actual experience in exploring the features and functionalities of this Payroll System in C# and MySQL Database. I hope this project will help you with what you are looking for. Feel free to modify the source code the way you wanted.

Explore more on this website for more Free Source Codes and Tutorials.

For more information about the system. You can contact me @
Email[email protected]
Mobile No. – 09305235027 – TNT
FB Account –
OR feel free to comment below.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted bySteinheilon Tue, 07/02/2019 - 13:30

Is this different from your other system?
Submitted byGabson (not verified)on Sun, 02/27/2022 - 00:52

I cannot run the report tab, taking me back to microsoft visual studio to the sql query. Kindly assist.
Submitted byYopips (not verified)on Sat, 11/25/2023 - 13:41

hello, I tried your code but there's an error in the frm_reports.Designer.cs in line 34, when i click on result there's an error popping up. Can you help me about this? Thanks!

Add new comment