A modern desktop application designed to streamline library operations, including book inventory, reader management, loans, reservations, user roles, and reporting. Built using C# WinForms on .NET 8, with SQL Server as the backend database.
FINAL_dotNetTechnology/
├── Database/
│ ├── LibraryManagement.mdf # SQL Server database file
│ └── LMS.sql # SQL script to initialize the database
├── LibraryManagementSystem/
│ ├── LibraryManagementSystem/ # Main application source code
│ ├── LibraryManagementSystem.sln # Solution file
│ └── Resources/ # Image assets for UI (icons, images, etc.)
- 🔐 Authentication: Secure login/register with role-based access (Admin/Reader).
- 📖 Book Management: Add, update, and delete books in the inventory.
- 👤 Reader Management: Register and view reader profiles.
- 📆 Reservations & Loans: Manage book reservations and borrowing requests.
- 📊 Reporting: Generate reports for loan history, reservations, and overdue books.
- 👨💼 Admin Panel: Comprehensive control over users and data.
- 🖼️ Rich UI: Professional, image-enhanced interface for an intuitive user experience.
| Layer | Technology |
|---|---|
| UI | C# WinForms (.NET 8) |
| Backend | ADO.NET, Custom C# Classes |
| Database | SQL Server (.mdf + .sql) |
| Reporting | FastReport (.dlls included) |
| Extras | iTextSharp for PDF export |
- Operating System: Windows 10 or later
- IDE: Visual Studio 2022 or later
- Framework: .NET 8 SDK
- Database: SQL Server Express or LocalDB
-
Clone the Repository:
git clone https://github.com/realthdat/Library_Management_System.git
-
Set Up the Database:
- Option 1: Open
Database/LMS.sqlin SQL Server Management Studio and execute the script to create the database. - Option 2: Attach
Database/LibraryManagement.mdfto your SQL Server instance.
- Option 1: Open
-
Configure the Connection String:
- Open
Connection.csin theLibraryManagementSystemproject. - Update the connection string to match your SQL Server instance:
private string connectionString = "Data Source=.;Initial Catalog=LibraryManagement;Integrated Security=True;";
- Open
-
Run the Application:
- Open
LibraryManagementSystem.slnin Visual Studio. - Set
LibraryManagementSystemas the startup project. - Press F5 or click Start to launch the application.
- Open
- Developed by: DatDev
- Purpose: Project for .NET Technology Course
- Date: November 2024
This project is licensed under the MIT License.
- .NET
- WinForms
- Library Management
- C#
- SQL Server
- Desktop Application
- FastReport
- iTextSharp