Professional Documents
Culture Documents
Project Report
BCA Sem V
AY 2020-21
Project Guide by :
Prof.Nidhi Desai
1
LibraryManagementSystem
INDEX
1 Introduction
1.1 Project Summary
1.2 Project Technical Profile
2 Scope & Planning
2.1 Requirement Analysis
2.2 Technology Details
3 Designing
3.1 Data Flow Diagram
3.2 Use Case Diagram
3.3 ER Diagram
3.4 Database Design
3.5 Data Dictionary
3.6 User Interface & Coding
4 Testing
4.1 Unit Testing
4.2 Integration Testing
4.3 System Testing
5 Conclusion
6 Bibliography & Reference
1.Introduction
2
LibraryManagementSystem
Library management system allows the librarian to maintain library resources in a more
operative manner that will help to save their time. ... Library management system is also useful
for students as well as a librarian to keep the constant track of the availability of all books in a
store.
A Library management system is a software that uses to maintain the record of the library. It
contains work like the number of available books in the library, the number of books are issued or
returning or renewing a book or late fine charge record, etc .
A library management system is the most proficient and easy to use system for managing all the
processes involved in a Library in the most effective ways.
This system will reduce all the manual work and the whole process can be managed just through
single clicks and edits.
Librarian can update the information of books and manage availability and arriver record of the
books.
Designing tools:-
Html Css
3
LibraryManagementSystem
Any library member should be able to search books by their title, author, subject
category as well by the publication date.
Each book will have a unique identification number and other details including a rack
number which will help to physically locate the book.
There could be more than one copy of a book, and library members should be able to
check-out and reserve any copy. we will call each copy of a book, a book item.
The system should be able to retrieve information like who took a particular book or
what are the books checked-out by a specific library member.
Hardwar Requirements :-
Processor: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx, 2500 Mhz, 2 Core(s), 4 Logical
Processor(s)
Memory : 8 GB
Software Requirements :-
3. Designing
4
LibraryManagementSystem
5
LibraryManagementSystem
6
LibraryManagementSystem
Customer level
7
LibraryManagementSystem
8
LibraryManagementSystem
9
LibraryManagementSystem
10
LibraryManagementSystem
3.3 ER Digram
11
LibraryManagementSystem
12
LibraryManagementSystem
13
LibraryManagementSystem
Order record
pid uname
pname email
pprice pass
pqua cpass
mnumber
gender
14
LibraryManagementSystem
Description:
This is login page of our website .login page in enter a valid email id and
password to login in the website of home page otherwise give the invalid
login error.
Code:
ImportsSystem.Data.OleDb
PartialClassloginpage
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
15
LibraryManagementSystem
DimobjconAsOleDbConnection = Nothing
DimobjcmdAsOleDbCommand = Nothing
Ifreader.ReadThen
Session("email") = txtemail.Text
Response.Redirect("home.aspx")
MsgBox("Login success")
Else
MsgBox("invalid login")
EndIf
cn.Close()
Catch ex AsException
EndTry
EndSub
EndSub
EndClass
16
LibraryManagementSystem
Description:
This is interface of register page .if user is come in website in first time so
requires the register the all user details.
While user register all details and enter email and password to login the website.
Code:
ImportsSystem.Data.OleDb
ImportsSystem.Data.OleDb.OleDbException
PartialClasslogi
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
Try
Dim str AsString
DimansAsInteger
17
LibraryManagementSystem
cn.Open()
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
MsgBox("Welcome Successfull:"&ans)
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
EndClass
Home page:-
18
LibraryManagementSystem
Product page:-
description:
This is product page of client side .this page is show all product details like product id,
name, type, price and image of product.
This page is redirect to order page and add to cart page in blow buttons and enter the
product id to add in add to cart page directly.
Coding:
ImportsSystem.Data.OleDb
PartialClassbookproduct
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("")
Dim s AsString
19
LibraryManagementSystem
ProtectedSub Button3_Click(ByVal sender AsObject, ByVal e AsSystem.EventArgs)
Handles Button3.Click
Session("pid") = txtid.Text
Response.Redirect("order.aspx")
EndSub
EndClass
Product add to cart
Description:
Product page in input the product id and click the add to cart button to redirect to add cart page
to add, update, delete the product in add to cart.
Code:
ImportsSystem.Data.OleDb
PartialClasscart
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
20
LibraryManagementSystem
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
str = " update cart set quantity= "&txtquantity.Text&" , price= "&txtprice.Text&" where pid
= "&txtid.Text&""
cn.Open()
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
MsgBox("record updated succesfully :"&ans)
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
21
LibraryManagementSystem
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
Order page:-
22
LibraryManagementSystem
Description:
This order page in order the product details like product id, quantity of product and price of
the item and total fields are in order page.
Code:
ImportsSystem.Data.OleDb
PartialClassorder
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
Dim s AsString
ProtectedSub Button1_Click(ByVal sender AsObject, ByVal e AsSystem.EventArgs)
Handles Button1.Click
EndSub
23
LibraryManagementSystem
txtname.Text = dr.Item(1).ToString
txtprice.Text = dr.Item(3).ToString
cn.Close()
EndSub
EndClass
Code:
ImportsSystem.Data.OleDb
PartialClassclient
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
Try
Dim str AsString
DimansAsInteger
24
LibraryManagementSystem
str = "Insert into client values
('"&txtname.Text&"','"&txtemail.Text&"', '"&txtaddr.Text&"',' "&txtmno.Text&"
','"& DropDownList1.Text &"')"
cn.Open()
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
MsgBox("Welcome Successfull:"&ans)
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
EndSub
EndClass
25
LibraryManagementSystem
Admin side:
Description:
This is login page of admin .admin user enter the valid username and password and login to
admin side in website.
Admin can be add the new user in admin side in the website.
Code:
ImportsSystem.Data.OleDb
PartialClassadmin_Adminlogin
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
26
LibraryManagementSystem
DimobjconAsOleDbConnection = Nothing
DimobjcmdAsOleDbCommand = Nothing
Ifreader.ReadThen
Response.Redirect("Admin.aspx")
MsgBox("Login success")
Else
MsgBox("invalid login")
EndIf
cn.Close()
Catch ex AsException
EndTry
EndSub
EndClass
27
LibraryManagementSystem
Description:
This is user page to add to user in admin side in website. Admin can add the user by user page.
User page in requires the field like Userid, username, emailed, password and fill the all fields
and user in admin side.
Code:
ImportsSystem.Data.OleDb
PartialClassadmin_member
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
28
LibraryManagementSystem
str = "insert into member values
("&txtid.Text&",'"&txtname.Text&"','"&txtemail.Text&"','"&txtpass.Text&"','"&
txtmobile.Text&"')"
cn.Open()
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
EndClass
29
LibraryManagementSystem
Description:
This is product page in admin add, delete products and update the products details like
products id, product name, product type, product price and image of products.
This page in any kind of update and delete the products will show in client side in products
page.
Code:
ImportsSystem.Data.OleDb
PartialClassadmin_product
InheritsSystem.Web.UI.Page
DimcnAsNewOleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\
Users\HP\Documents\Visual Studio 2010\Projects\book\librarybook.mdb")
ProtectedSubbtninsert_Click(ByVal sender AsObject, ByVal e
AsSystem.EventArgs) Handlesbtninsert.Click
Try
Dim str AsString
DimansAsInteger
FileUpload1.SaveAs(Server.MapPath("\book\") &
FileUpload1.FileName)
str = "insert into book values
("&txtid.Text&",'"&txtname.Text&"','"&txttype.Text&"','"&txtprice.Text&"','"&
FileUpload1.FileName &"')"
cn.Open()
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
30
LibraryManagementSystem
FileUpload1.SaveAs(Server.MapPath("\book\") &
FileUpload1.FileName)
str = "Update book set
bname='"&txtname.Text&"',btype='"&txttype.Text&"',bprice='"&txtprice.Text&"',
bimage='"& FileUpload1.FileName &"' where bid= "&txtid.Text&" "
cn.Open()
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
31
LibraryManagementSystem
DimcmdAsNewOleDbCommand(str, cn)
ans = cmd.ExecuteNonQuery
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
DimcmdAsNewOleDbCommand(str, cn)
DimdrAsOleDbDataReader
dr = cmd.ExecuteReader
Whiledr.Read
txtname.Text = dr.Item(1).ToString
txttype.Text = dr.Item(2).ToString
txtprice.Text = dr.Item(3).ToString
EndWhile
cn.Close()
Catch ex AsException
MsgBox(ex.ToString)
EndTry
EndSub
32
LibraryManagementSystem
4. Testing
A Unit is the smallest testable part of software. It usually has one or few inputs and usually a
single output.
In procedural programming a unit may be an individual program, function, procedure, etc.
Name User login on client side
Description This test will check email and password is valid or not. if not then it
will not allow the user will login.
Description This test will check username and password is valid or not. if
not then it will not allow the admin to login.
33
LibraryManagementSystem
Admin Clients
Library
management
products Order
System testing is a level of the software testing. Where complete and integrated software is
tested.
The purpose of this test is to evaluate the system’s compliance with the specified requirements.
Firefox Browser , internet explorer and chrome consider testing for environment operability of
software.
Database –Microsoft access
OS -windows
Browser –Firefox / chrome
Visual studio – 2010
It give authenticate access to the authorized users depending upon their user type.
The system has adequate scope for modification in future if it is necessary.
5 Conclusion
34
LibraryManagementSystem
After we have completed the project we are sure the problems in the existing system would
overcome. The “LIBRARY MANAGEMENT SYSTEM” process made computerized to reduce human
errors and to increase the efficiency. The main focus of this project is to lessen human efforts. The
maintenance of the records is made efficient, as all the records are stored in the ACCESS database,
through which data can be retrieved easily. The navigation control is provided in all the forms to
navigate through the large amount of records. If the numbers of records are very large then user has
to just type in the search string and user gets the results immediately. The editing is also made
simpler. The user has to just type in the required field and press the update button to update the
desired field.
The Books and Students are given a particular unique id no. So that they can be accessed correctly
and without errors. Our main aim of the project is to get the correct information about a particular
student and books available in the library.
The problems, which existed in the earlier system, have been removed to a large extent. And it is
expected that this project will go a long way in satisfying users requirements. The computerization
of the Library Management will not only improves the efficiency but will also reduce human stress
thereby indirectly improving human recourses.
35
LibraryManagementSystem
You Tube
Microsoft Asp,Net 4
Microsoft .Net Framework Tutorials
36