This project is a Windows Forms application for managing student information and grades within a school grading system. The application is designed to interact with a MySQL database, allowing users to add, view, update, and delete student records based on their assigned sections. It provides a user-friendly interface for school administrators or teachers to manage student data effectively.
- Student Information Management: Retrieve student data based on last name, first name, and middle name.
- Grade Management: Calculate and update quiz, activity, and exam scores for each student.
- Dynamic Updates: Automatically refresh the displayed data when changes are made.
- User Authentication: Secure login functionality for accessing the application.
- Data Persistence: Save and retrieve data from a MySQL database.
-
Clone the Repository:
git clone https://github.com/your-username/school-grading-system.git cd school-grading-system -
Setup the Database:
- Create a MySQL database and import the provided SQL script to set up the
studentinfoandstudentgradestables. - Update the
connectionStringin the application to match your MySQL database configuration:private string connectionString = "Server=your-server;Database=your-database;User ID=your-username;Password=your-password;";
- Create a MySQL database and import the provided SQL script to set up the
-
Open the Project:
- Open the solution file (
.sln) in Visual Studio. - Restore NuGet packages if prompted.
- Open the solution file (
-
Build and Run the Application:
- Build the solution by clicking on Build > Build Solution.
- Run the application by pressing F5 or clicking on Start.
-
Select a Student:
- Use the dropdown list to select a student by their full name.
-
Select a Quarter:
- Choose a quarter (e.g., "Quarter 1", "Quarter 2") from the dropdown to display or update the grades for that period.
-
Calculate Grades:
- Enter the scores for quizzes, activities, and exams in the appropriate textboxes.
- Click the Calculate button to compute the total average grade.
-
Update Grades:
- After calculating, click the Update button to save the calculated grades to the database.
-
Clear Fields:
- Use the Clear buttons to reset input fields for quizzes, performance tasks, and exams.
-
Refresh DataGridView:
- The DataGridView is updated automatically after each calculation and database update.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature/your-feature-name. - Open a pull request.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
For any questions or suggestions, feel free to open an issue or reach out to the repository maintainer <( ̄︶ ̄)>
Thank you for using the School Grading System! (* ^ ω ^)


