SlideShare a Scribd company logo
4
Most read
Library Management System
This web application is used to handle typical operations in a library system.

This application is developed for librarians. Issuing book, returning book, adding member, and searching for
books are some of the major operations of this application.

Technologies and Products used

         ASP.NET 2.0
         C# language
         Visual Web Developer 2005 Express Edition
         SQL Server 2005 Express Edition

File Structure

The following is the directory structure of this application.
exam
 |- App_Data
 |      |-Database.mdf
 |- App_Code
 |      |-Database.cs
 |- App_Themes
 |      |-style.css
 |- all
 |      |-LibraryService.asmx
 |- photos (this directory contains .jpg files of members)
 |- default.aspx
 |- login.aspx
 |- addtitle.aspx
 |- addmember.aspx
 |- Masterpage.master
 |- memberinfo.aspx
 |- members.aspx
 |- changepassword.aspx
 |- deletemember.aspx
 |- issue.aspx
 |- returnbook.aspx
 |- memberslist.aspx
 |- searchbooks.aspx
 |- web.config
 |- web.sitemap
 |- updatemembers.aspx
 |- logout.aspx


Operations and related files

The following table lists operations and associated objects and files.
    Operation                  Files
Login                  login.aspx
Logout                 logout.aspx
Delete Member          deletemember.aspx
Master page of all     Masterpage.master
Home Page              Default.aspx
Change password        changepassword.aspx
Add Title              addtitle.aspx
Add Member             addmember.aspx
Iseue of book          issue.aspx
Return of book        returnbook.aspx
Search books          searchbooks.aspx
Update Members        updatemembers.aspx
Member Information memberinfo.aspx
List of books         books.aspx


Structure of Tables

USERS Table

uname - varchar(10)
pwd - varchar(10)
fullname - varchar(30)

SUBJECTS Table

subcode - varchar(10)
subname - varchar(30)
di - datetime

MEMBERS Table

mid - int
mname - varchar(30)
depositamt - int
djoin - datetime
email - varchar(40)
occupation - varchar(50)

TITLES Table


tid - int
title - varchar(30)
subcode - varchar(10)
authors - varchar(50)
price - int
dp - datetime
publishers - varchar(30)
status - char(1)

ISSUES Table

tid - int
mid - int
di - datetime
issuedby - varchar(10)

RETURNS Table

tid - int
mid - int
di - datetime
dr - datetime
issuedby - varchar(10)
returnedto - varchar(10)
fineamt - int

Steps to download, deploy and run this project
The following are the steps to related to be taken to run the existing part of the application :
1. Download lm.zip and unzip it into any directory in your system. (For example if you extract to d: then
    it will create a directory lm in d:.
2. Open Visual Web Developer 2005 Express Edition.
3. Open the project from the directory into which you extracted project.For example, d:lm
4. Add SQL Database file to your project and create necessary tables as shown above.
5. Create issuebook and returnbook procedures as shown below.
6. ALTER PROCEDURE IssueBook
7.     (
8.     @tid int,
9.     @mid int,
10.              @di datetime,
11.              @issuedby varchar(10)
12.              )
13. AS
14. declare @nbooks int
15. /* check titles availablity */
16.
17. if not exists( select * from titles where tid = @tid and status = 'a')
18.      begin
19.        raiserror('Title is not present or not available',15,1)
20.        return
21.      end
22.
23. /* check members availablity */
24. if not exists (select * from members where mid = @mid )
25.       begin
26.        raiserror('Invalid member id!',15,1)
27.        return
28.      end
29.
30.
31. ALTER PROCEDURE ReturnBook
32.              (
33.              @tid int,
34.              @dr datetime,
35.              @user varchar(10)
36.              )
37. AS
38. declare @fine int
39. declare @mid int
40. declare @issuedby varchar(10)
41. declare @di datetime
42.
43.
44. /* check tid is valid */
45. if not exists (select * from issues where tid = @tid)
46.       begin
47.          raiserror('Title is not in the issued titles!',15,1)
48.          return
49.       end
50.
51. /* calculate fine */
52. select @fine=case
53.                 when datediff(dd,di,getdate()) > 15 then datediff(dd,di,getdate())-15
54.                 else 0
55.                end
56. from issues where tid = @tid;
57.
58. select @mid = mid, @di = di, @issuedby=issuedby
59. from issues where tid = @tid;
60.
61. /* insert a row into returns */
62.
63. begin tran
64. insert into returns
65.       values(@tid,@mid,@di,@dr,@issuedby,@user,@fine);
66.
67. delete from issues where tid = @tid;
68.
69. update titles set status ='a'
70. where tid = @tid
71.
   72. commit tran
   73.
   74. Goto Solution Explorer and make default.aspx the startup page.
   75. Run project from VWD 2005 Express Edition.
   76. You should see login.aspx page.




                                               Librarian Module
This is an intranet application that is used to by Librarian to do the following:

        Login
        Search for books on title and author
        Issue books to members
        Handle return of book
        Generate issues report
        Displaying book's issues history
        Displaying member's issues history

The following are the topics of ASP.NET used in this project.

        Asp.Net 4.0
        C# Language
        SQL Server 2005 Express Edition
        Visual Studio.NET 2010
        Layered Architecture with Presentation Layer (ASP.NET Pages) and Data Access Layer (C# Classes)
        All database manipulations are done with stored procedures.
        Stored procedures are accessed using classes in DAL - Data Access Layer.
        ObjectDataSource is used in presentation layer to talk to DAL.
        Master page and themes are used
        Treeview and sitemap features
        ADO.NET is used to access database
        Forms authentication

The following are the major operations in this application.

Steps to download, deploy and run this project

The following are the steps to be taken to run the existing part of the application.

   1. Download librarianmodule.rar and unzip it into any directory in your system. For example, if you extract
      to c: then it will create a directory c:librarianmodule.

        The project comes with its own database, which is Database.mdf in App_Data folder. It contains
        required tables and stored procedures.

   2. Open Visual Studio.NET 2008/2010
   3. Open the project from the directory into which you extracted project. For example, c:librarianmodule
   4. Run project from Visual Studio.NET.
   5. You should see login.aspx page.
   6. The database that is present in App_Data folder contains some sample data. It has user a with
      password a.
   7. Test the rest of the options.




                                                More on: net and project
                                        File uploaded by Go FTP FREE Client

More Related Content

PDF
online library management system
POTX
Library Management System
DOCX
Synopsis of Library Management System
PPT
Library management system
DOCX
Library Management System Project in PHP with BlackBook & Source Code
PPT
Library Management System
PPTX
Library management system
 
PPT
Library and member management system (lamms) by vikas sharma
online library management system
Library Management System
Synopsis of Library Management System
Library management system
Library Management System Project in PHP with BlackBook & Source Code
Library Management System
Library management system
 
Library and member management system (lamms) by vikas sharma

What's hot (20)

PPTX
Software Development Methodologies Library Management System (Part-1)
PPTX
Online Library management system proposal by Banuka Dananjaya Subasinghe
PDF
Library Management System
PPT
Library management system presentation
PPTX
Library management system
PPTX
Library Management System PPT
PPTX
Project online library management
PPTX
Library Management system
PPTX
Library management system project
PPTX
Library Management Project Presentation
PDF
HOSPITAL MANAGEMENT SYSTEM PROJECT
PPTX
Presentation LIBRARY MANAGEMENT SYSTEM
PPSX
Library Management System
PDF
Library management system
PDF
Srs for library
DOCX
Library Management System Project Report
DOC
A database design_report_for_college_library final
PPTX
Final Presentation on Online Library Management
DOC
School management System
PPT
Abstract of Library Management System
Software Development Methodologies Library Management System (Part-1)
Online Library management system proposal by Banuka Dananjaya Subasinghe
Library Management System
Library management system presentation
Library management system
Library Management System PPT
Project online library management
Library Management system
Library management system project
Library Management Project Presentation
HOSPITAL MANAGEMENT SYSTEM PROJECT
Presentation LIBRARY MANAGEMENT SYSTEM
Library Management System
Library management system
Srs for library
Library Management System Project Report
A database design_report_for_college_library final
Final Presentation on Online Library Management
School management System
Abstract of Library Management System
Ad

Viewers also liked (6)

PPT
Library Management System Project
DOCX
Library Management System
DOCX
SRS for Hospital Management System
PPT
Library management system
DOCX
Software requirements specification of Library Management System
PDF
Library mangement system project srs documentation.doc
Library Management System Project
Library Management System
SRS for Hospital Management System
Library management system
Software requirements specification of Library Management System
Library mangement system project srs documentation.doc
Ad

Similar to Library management system (20)

PDF
Data herding
PDF
Data herding
PPTX
CodeIgniter & MVC
PPTX
Day 1 - Technical Bootcamp azure synapse analytics
DOCX
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
PDF
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
ODP
Sql lite android
PPTX
Tango with django
PDF
os-php-wiki5-a4
PDF
os-php-wiki5-a4
DOCX
SetFocus Portfolio
PDF
Django 1.10.3 Getting started
PDF
Ejb3 Struts Tutorial En
PDF
Ejb3 Struts Tutorial En
PPT
Kelis king - introduction to software design
PPT
Data structure and problem solving ch01.ppt
DOCX
Prg421
PPTX
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
PPT
Introduction to jQuery
PPTX
06 Java Language And OOP Part VI
Data herding
Data herding
CodeIgniter & MVC
Day 1 - Technical Bootcamp azure synapse analytics
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Sql lite android
Tango with django
os-php-wiki5-a4
os-php-wiki5-a4
SetFocus Portfolio
Django 1.10.3 Getting started
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial En
Kelis king - introduction to software design
Data structure and problem solving ch01.ppt
Prg421
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
Introduction to jQuery
06 Java Language And OOP Part VI

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
project resource management chapter-09.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
OMC Textile Division Presentation 2021.pptx
Encapsulation theory and applications.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
A comparative study of natural language inference in Swahili using monolingua...
A novel scalable deep ensemble learning framework for big data classification...
cloud_computing_Infrastucture_as_cloud_p
DP Operators-handbook-extract for the Mautical Institute
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Unlocking AI with Model Context Protocol (MCP)
project resource management chapter-09.pdf
Web App vs Mobile App What Should You Build First.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Heart disease approach using modified random forest and particle swarm optimi...
Programs and apps: productivity, graphics, security and other tools
Chapter 5: Probability Theory and Statistics
SOPHOS-XG Firewall Administrator PPT.pptx
1 - Historical Antecedents, Social Consideration.pdf
WOOl fibre morphology and structure.pdf for textiles
OMC Textile Division Presentation 2021.pptx

Library management system

  • 1. Library Management System This web application is used to handle typical operations in a library system. This application is developed for librarians. Issuing book, returning book, adding member, and searching for books are some of the major operations of this application. Technologies and Products used ASP.NET 2.0 C# language Visual Web Developer 2005 Express Edition SQL Server 2005 Express Edition File Structure The following is the directory structure of this application. exam |- App_Data | |-Database.mdf |- App_Code | |-Database.cs |- App_Themes | |-style.css |- all | |-LibraryService.asmx |- photos (this directory contains .jpg files of members) |- default.aspx |- login.aspx |- addtitle.aspx |- addmember.aspx |- Masterpage.master |- memberinfo.aspx |- members.aspx |- changepassword.aspx |- deletemember.aspx |- issue.aspx |- returnbook.aspx |- memberslist.aspx |- searchbooks.aspx |- web.config |- web.sitemap |- updatemembers.aspx |- logout.aspx Operations and related files The following table lists operations and associated objects and files. Operation Files Login login.aspx Logout logout.aspx Delete Member deletemember.aspx Master page of all Masterpage.master Home Page Default.aspx Change password changepassword.aspx Add Title addtitle.aspx Add Member addmember.aspx Iseue of book issue.aspx
  • 2. Return of book returnbook.aspx Search books searchbooks.aspx Update Members updatemembers.aspx Member Information memberinfo.aspx List of books books.aspx Structure of Tables USERS Table uname - varchar(10) pwd - varchar(10) fullname - varchar(30) SUBJECTS Table subcode - varchar(10) subname - varchar(30) di - datetime MEMBERS Table mid - int mname - varchar(30) depositamt - int djoin - datetime email - varchar(40) occupation - varchar(50) TITLES Table tid - int title - varchar(30) subcode - varchar(10) authors - varchar(50) price - int dp - datetime publishers - varchar(30) status - char(1) ISSUES Table tid - int mid - int di - datetime issuedby - varchar(10) RETURNS Table tid - int mid - int di - datetime dr - datetime issuedby - varchar(10) returnedto - varchar(10) fineamt - int Steps to download, deploy and run this project The following are the steps to related to be taken to run the existing part of the application :
  • 3. 1. Download lm.zip and unzip it into any directory in your system. (For example if you extract to d: then it will create a directory lm in d:. 2. Open Visual Web Developer 2005 Express Edition. 3. Open the project from the directory into which you extracted project.For example, d:lm 4. Add SQL Database file to your project and create necessary tables as shown above. 5. Create issuebook and returnbook procedures as shown below. 6. ALTER PROCEDURE IssueBook 7. ( 8. @tid int, 9. @mid int, 10. @di datetime, 11. @issuedby varchar(10) 12. ) 13. AS 14. declare @nbooks int 15. /* check titles availablity */ 16. 17. if not exists( select * from titles where tid = @tid and status = 'a') 18. begin 19. raiserror('Title is not present or not available',15,1) 20. return 21. end 22. 23. /* check members availablity */ 24. if not exists (select * from members where mid = @mid ) 25. begin 26. raiserror('Invalid member id!',15,1) 27. return 28. end 29. 30. 31. ALTER PROCEDURE ReturnBook 32. ( 33. @tid int, 34. @dr datetime, 35. @user varchar(10) 36. ) 37. AS 38. declare @fine int 39. declare @mid int 40. declare @issuedby varchar(10) 41. declare @di datetime 42. 43. 44. /* check tid is valid */ 45. if not exists (select * from issues where tid = @tid) 46. begin 47. raiserror('Title is not in the issued titles!',15,1) 48. return 49. end 50. 51. /* calculate fine */ 52. select @fine=case 53. when datediff(dd,di,getdate()) > 15 then datediff(dd,di,getdate())-15 54. else 0 55. end 56. from issues where tid = @tid; 57. 58. select @mid = mid, @di = di, @issuedby=issuedby 59. from issues where tid = @tid; 60. 61. /* insert a row into returns */ 62. 63. begin tran 64. insert into returns 65. values(@tid,@mid,@di,@dr,@issuedby,@user,@fine); 66. 67. delete from issues where tid = @tid; 68. 69. update titles set status ='a' 70. where tid = @tid
  • 4. 71. 72. commit tran 73. 74. Goto Solution Explorer and make default.aspx the startup page. 75. Run project from VWD 2005 Express Edition. 76. You should see login.aspx page. Librarian Module This is an intranet application that is used to by Librarian to do the following: Login Search for books on title and author Issue books to members Handle return of book Generate issues report Displaying book's issues history Displaying member's issues history The following are the topics of ASP.NET used in this project. Asp.Net 4.0 C# Language SQL Server 2005 Express Edition Visual Studio.NET 2010 Layered Architecture with Presentation Layer (ASP.NET Pages) and Data Access Layer (C# Classes) All database manipulations are done with stored procedures. Stored procedures are accessed using classes in DAL - Data Access Layer. ObjectDataSource is used in presentation layer to talk to DAL. Master page and themes are used Treeview and sitemap features ADO.NET is used to access database Forms authentication The following are the major operations in this application. Steps to download, deploy and run this project The following are the steps to be taken to run the existing part of the application. 1. Download librarianmodule.rar and unzip it into any directory in your system. For example, if you extract to c: then it will create a directory c:librarianmodule. The project comes with its own database, which is Database.mdf in App_Data folder. It contains required tables and stored procedures. 2. Open Visual Studio.NET 2008/2010 3. Open the project from the directory into which you extracted project. For example, c:librarianmodule 4. Run project from Visual Studio.NET. 5. You should see login.aspx page. 6. The database that is present in App_Data folder contains some sample data. It has user a with password a. 7. Test the rest of the options. More on: net and project File uploaded by Go FTP FREE Client