Skip to main content

Payroll System Using C# And MySQL Database with Source Code


This Payroll System Project is a software-based system that is designed in a flat-based desktop application. This system can handle tasks such as managing the employees’ information and their corresponding payroll every week and month. This is a user-friendly system that the user can easily determine what they are going to do. The main goal of the system is to give accurate data to ensure all the employees get paid on time. The payroll features includes also the overtime and holiday pay in the computation. And also, this can also compute the total deduction of the employee. This payroll system generates reports.

These are the following features of the system

  • Manage Employees
  • Manage Payroll
  • Manage Users
  • Generate Weekly Reports
  • Generate Payslip
  • Login and Logout

How to Run



  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Locate the SQL File inside the extracted source code folder. The file is known as "payrolldb.sql".
  3. Open your XAMPP's Control Panel and Start the "MySQL" Server.
  4. Import/Dump the provided SQL file. If you want to use the XAMPP's PHPMyAdmin in importing the SQL file, make sure to start also the "Apache" in the Control Panel of XAMPP.
  5. Locate the solution file in the extracted source code folder. The solution file is known as "PayrollSystem1.1.sln".
  6. Open the solution file with your MS Visual Studio Software.
  7. Configure the database connection string at the "includes/SQLConfig.cs".
  8. Press the "F5" key on the keyboard to run the project.


Username: admin
Password: admin


I hope this C# Project Source Code entitled Payroll System will help you with what you are looking for. Feel Free to modify the source code the way you desire.

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

For more information about the system. You can contact me @
Youtube Channel -
Email – [email protected]
Mobile No. – 09305235027 – TNT
FB Account –

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 byAjit chauhan (not verified)on Wed, 11/20/2019 - 23:45

Good working in this code keep it up you are a good coder

Add new comment