SlideShare a Scribd company logo
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
Ad

More Related Content

What's hot (20)

Project online library management
Project online library managementProject online library management
Project online library management
Prem Prasun
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Faculty of Science , portsaid Univeristy
 
Library and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaLibrary and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharma
Vikas Sharma
 
Online library management system
Online library management systemOnline library management system
Online library management system
Bharat Kunwar
 
Library management system
Library management systemLibrary management system
Library management system
Arman Ahmed
 
Library management system
Library management systemLibrary management system
Library management system
Ni
 
Srs library m s
Srs library m sSrs library m s
Srs library m s
karthik venkatesh
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
Smit Patel
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Ranjan Ranjan
 
Library Management System
Library Management System Library Management System
Library Management System
Ankita Jangir
 
Library management system
Library management systemLibrary management system
Library management system
Kamal Krish
 
Library management system
Library management systemLibrary management system
Library management system
wethecodershelp
 
The library management system
The library management systemThe library management system
The library management system
Munem Shahrear
 
Library management system using java technology
Library management system using java technologyLibrary management system using java technology
Library management system using java technology
Pragati Startup Presentation Designer firm
 
Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM
binrehmat
 
[[Srs]] online shopping website for TYBSC IT
[[Srs]] online shopping website for TYBSC IT[[Srs]] online shopping website for TYBSC IT
[[Srs]] online shopping website for TYBSC IT
YogeshDhamke2
 
Library Management System - LMS
Library Management System - LMSLibrary Management System - LMS
Library Management System - LMS
Hasibul Haque Hira
 
Library management system
Library management systemLibrary management system
Library management system
techlike
 
Library Management system
Library Management systemLibrary Management system
Library Management system
Tayyab Hussain
 
Library Management Project Presentation
Library Management Project PresentationLibrary Management Project Presentation
Library Management Project Presentation
Sanket Kudalkar
 
Project online library management
Project online library managementProject online library management
Project online library management
Prem Prasun
 
Library and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaLibrary and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharma
Vikas Sharma
 
Online library management system
Online library management systemOnline library management system
Online library management system
Bharat Kunwar
 
Library management system
Library management systemLibrary management system
Library management system
Arman Ahmed
 
Library management system
Library management systemLibrary management system
Library management system
Ni
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
Smit Patel
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Ranjan Ranjan
 
Library Management System
Library Management System Library Management System
Library Management System
Ankita Jangir
 
Library management system
Library management systemLibrary management system
Library management system
Kamal Krish
 
Library management system
Library management systemLibrary management system
Library management system
wethecodershelp
 
The library management system
The library management systemThe library management system
The library management system
Munem Shahrear
 
Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM
binrehmat
 
[[Srs]] online shopping website for TYBSC IT
[[Srs]] online shopping website for TYBSC IT[[Srs]] online shopping website for TYBSC IT
[[Srs]] online shopping website for TYBSC IT
YogeshDhamke2
 
Library Management System - LMS
Library Management System - LMSLibrary Management System - LMS
Library Management System - LMS
Hasibul Haque Hira
 
Library management system
Library management systemLibrary management system
Library management system
techlike
 
Library Management system
Library Management systemLibrary Management system
Library Management system
Tayyab Hussain
 
Library Management Project Presentation
Library Management Project PresentationLibrary Management Project Presentation
Library Management Project Presentation
Sanket Kudalkar
 

Viewers also liked (6)

Library Management System Project
Library Management System ProjectLibrary Management System Project
Library Management System Project
stoeli
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Aditya Shah
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management System
kataria Arvind
 
Library management system
Library management systemLibrary management system
Library management system
Raaghav Bhatia
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
Soumili Sen
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
jimmykhan
 
Library Management System Project
Library Management System ProjectLibrary Management System Project
Library Management System Project
stoeli
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Aditya Shah
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management System
kataria Arvind
 
Library management system
Library management systemLibrary management system
Library management system
Raaghav Bhatia
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
Soumili Sen
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
jimmykhan
 
Ad

Similar to Library management system (20)

Data herding
Data herdingData herding
Data herding
unbracketed
 
Data herding
Data herdingData herding
Data herding
unbracketed
 
CodeIgniter & MVC
CodeIgniter & MVCCodeIgniter & MVC
CodeIgniter & MVC
Jamshid Hashimi
 
Day 1 - Technical Bootcamp azure synapse analytics
Day 1 - Technical Bootcamp azure synapse analyticsDay 1 - Technical Bootcamp azure synapse analytics
Day 1 - Technical Bootcamp azure synapse analytics
Armand272
 
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) kerenTutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Sony Suci
 
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Roman Zenner
 
Sql lite android
Sql lite androidSql lite android
Sql lite android
Dushyant Nasit
 
Tango with django
Tango with djangoTango with django
Tango with django
Rajan Kumar Upadhyay
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
tutorialsruby
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
tutorialsruby
 
SetFocus Portfolio
SetFocus PortfolioSetFocus Portfolio
SetFocus Portfolio
Frank Stepanski
 
Django 1.10.3 Getting started
Django 1.10.3 Getting startedDjango 1.10.3 Getting started
Django 1.10.3 Getting started
MoniaJ
 
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial EnEjb3 Struts Tutorial En
Ejb3 Struts Tutorial En
Ankur Dongre
 
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial EnEjb3 Struts Tutorial En
Ejb3 Struts Tutorial En
Ankur Dongre
 
Kelis king - introduction to software design
Kelis king -  introduction to software designKelis king -  introduction to software design
Kelis king - introduction to software design
KelisKing
 
Prg421
Prg421Prg421
Prg421
john roy
 
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
TAISEEREISA
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
Andres Baravalle
 
06 Java Language And OOP Part VI
06 Java Language And OOP Part VI06 Java Language And OOP Part VI
06 Java Language And OOP Part VI
Hari Christian
 
Intro to Rails 4
Intro to Rails 4Intro to Rails 4
Intro to Rails 4
Kartik Sahoo
 
Day 1 - Technical Bootcamp azure synapse analytics
Day 1 - Technical Bootcamp azure synapse analyticsDay 1 - Technical Bootcamp azure synapse analytics
Day 1 - Technical Bootcamp azure synapse analytics
Armand272
 
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) kerenTutorial mvc (pelajari ini jika ingin tahu mvc) keren
Tutorial mvc (pelajari ini jika ingin tahu mvc) keren
Sony Suci
 
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Roman Zenner
 
Django 1.10.3 Getting started
Django 1.10.3 Getting startedDjango 1.10.3 Getting started
Django 1.10.3 Getting started
MoniaJ
 
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial EnEjb3 Struts Tutorial En
Ejb3 Struts Tutorial En
Ankur Dongre
 
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial EnEjb3 Struts Tutorial En
Ejb3 Struts Tutorial En
Ankur Dongre
 
Kelis king - introduction to software design
Kelis king -  introduction to software designKelis king -  introduction to software design
Kelis king - introduction to software design
KelisKing
 
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
Chapter 3.pptx Oracle SQL or local Android database setup SQL, SQL-Lite, codi...
TAISEEREISA
 
06 Java Language And OOP Part VI
06 Java Language And OOP Part VI06 Java Language And OOP Part VI
06 Java Language And OOP Part VI
Hari Christian
 
Ad

Recently uploaded (20)

Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 

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