You are on page 1of 40

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELAGAVI-590018

An Internship/Professional work Reporton

LIBRARY MANAGEMENT SYSTEM


Submitted in partial fulfillment of the requirements for the final year degree in
Bachelor of Engineering in Computer Science and Engineering
of Visvesvaraya Technological University, Belagavi
Submitted by
SRIDEVI S KANACHUR 1RN19CS153
SHARANYA G 1RN19CS133

Carried out at
TechieAid
Under the Guidance of:

Internal Guide: External Guide:


Mrs. Rekha B Mr. Rames h Kumar Mr.
Gir is h Ku mar
Assistant Professor TechieAid
Dept. of CSE Bengaluru

Department of Computer Science and Engineering


RNS Institute of Technology
(Accredited by NBA upto 30-06-2025)
Channasandra, Dr.Vishnuvardhan Road, Bengaluru-560098

2022-2023
RNS INSTITUTE OF TECHNOLOGY
Dr. Vishnuvardhan Road, Rajarajeshwari Nagar post, Channasandra, Bengaluru - 560098

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


(NBA Accredited for academic years 2018-19, 2019-20,2020-21, 2021-22)

CERTIFICATE
Certified that the Internship/Professional Practice work entitled “Library Management
System” has been successfully carried out at “TechieAid” by Sharanya G (1RN19CS133),
Sridevi S Kanachur(1RN19CS153). Bonafide student of RNS Institute of Technology,
Bengaluru in partial fulfillment of the requirements of Final year degree in Bachelor of
Engineering in Computer Science and Engineering of Visvesvaraya Technological
University, Belagavi during academic year 2022-2023. The internship report has been
approved as it satisfies the academic requirements in respect of internship work for the said
degree.

Mrs. Rekha B Dr. Kiran P Dr. M K Venkatesha


Internal Guide Professor and HoD Principal
Assistant Professor Department of CSE RNSIT
Department of CSE RNSIT

External Viva
Name of the Examiners Signature with Date

1.

2.
ABSTRACT
The Library Management System is a system which maintains the information about the books present in the
library, their authors, the members of library to whom books are issued and all. This is very difficult to organize
manually. Maintenance of all this information manually is a very complex task. Owing to the advancement of
technology, organization of an Library becomes much simple. The Library Management System has been
designed to computerize and automate the operations performed over the information about the members, book
issues and returns and all other operations. This computerization of library helps in many instances of its
maintenances. It reduces the workload of management as most of the manual work done is reduced.

i
ACKNOWLEDGEMENT

At the very onset, I would like to place on record my gratitude to all those people who have helped
me in making this Internship work a reality. Our Institution has played a paramount role in guiding
in the right direction.

I would like to profoundly thank Sri. Satish R Shetty, Managing Director, RNS Group of
Companies, Bengaluru for providing such a healthy environment for the successful completion of
this Internship Project work.

I would like to thank our beloved Principal, Dr. M K Venkatesha, for providing the necessary
facilities to carry out this work.

I am extremely grateful to Dr. Kiran P, Professor and Head, Department of Computer Science and
Engineering for having accepted to patronize me in the right direction with all his wisdom.

I would like to express my sincere thanks to our Coordinator, Mrs. Chethana H R, Assistant
Professor, and guide , Rekha B, Assistant Professor for their constant encouragement that motivated
me for the successful completion of this work.

Last but not the least, I am thankful to all the teaching and non-teaching staff members of the
Computer Science and Engineering Department for their encouragement and support throughout this
work.

SHARANYA.G SRIDEVI S KANACHUR

1RN19CS133 1RN19CS153

ii
TABLE OF CONTENTS

Sl. No . Chapter Name Page No.

Abstract i
Acknowledgment ii
Table of Contents iii
List of Tables iv
List of Figures v
List of Abbreviations vi

1. INTRODUCTION 01

ORGANIZATION/ INDUSTRY 01

Company Profile 01

Domain/ Technology 01

PROBLEM STATEMENT 02

Existing System and their Limitations 02

Proposed Solution 02

Problem formulation 03

2. REQUIREMENT ANALYSIS, TOOLS & TECHNOLOGIES 04

Hardware & Software Requirements 04

Functional Requirements 04

Tools/ Languages/ Platform 05

3. DESIGN AND IMPLEMENTATION 06

Schema of the database 06

Block Diagram 07

Database description 08
iii
TABLE OF CONTENTS
User Interface Description 11

Method/ Implementation 14

3.6 Code segments 16

4. OBSERVATION AND RESULTS 25

Testing 27

Results 28

5. CONCLUSION AND FUTURE WORK 30

Conclusion 31

Limitations and Future work 31

REFERENCES 32

iii
LIST OF TABLES

Table No. Description of the Table Page No.

2.1.1 Software Requirements 04


2.1.2 Hardware Requirements 04

v
LIST OF FIGURES

Fig No. Figure Description Page No.

3.1.1 Block Diagram of Librarian 06


3.2.1 Block Diagram of Student 07
3.3.1 Schema of Librarian 09
3.4.1 Schema of Student 10
Tables
3.5.1 Table Schema 11
User Interface Description 12
Database Implementation 14
SQL Process Architecture Diagram 15
Code Segment/ Algorithm 16

Observation And Results


4.1.1 Invalid Email Address or password indication 25
4.2.1 Valid Email Address and password 26
4.3.1 Add Student Page 27
4.4.1 Home Page 27
4.5.1 My Account 28
4.6.1 Student Report 28

4.7.1 Add New Book Page 29

Conclusion and Future Work 30

v
ABBREVIATIONS
Acronym Description

MSSQL Microsoft SQL Server


HTML Hypertext Markup Language
CSS Cascading Style Sheets
CLR Common Language Runtime
IE Internet Explorer
VB Visual Basics
ISO International Organization of Standardization
ANSI American National Standard Institutes

vi
CHAPTER 01
1. INTRODUCTION

ORGANIZATION
Company Profile

TechieAid is a software company based in Banashankari, Bengaluru. They specialize


in Software Development, Software Testing, Technology Training, Leadership Training,
and Staffing Solutions. They are IT services company registered under Govt. of India,
Ministry of Micro, Small & Medium Enterprises.
We offer IT Staffing Solutions, Technology Trainings, Leadership & Soft Skills Training,
Software Development Services and Coaching & Mentoring. Our clients are reputed
MNC companies and leading academic institutions.

Domain/Technology
The project is a Full stack web development project in C#, ASP. Net. The project
also uses HTML, CSS, JavaScript, jQuery, and AJAX for frontend development and for
the connectivity between frontend and backend. The project uses MS-SQL database for
the storage of data.
C# is a general-purpose, object-oriented programming language that is structured and
easy to learn. It runs on Microsoft’s .Net Framework and can be compiled on a variety of
computer platforms.
C# is a boon for developers who want to build a wide range of applications on the

.NET Framework Windows applications, Web applications, and Web services—in


addition to building mobile apps, Windows Store apps, and enterprise software. It is thus
considered a powerful programming language and features in every developer’s cache of
tools.
ADO.NET is a set of classes (a framework) to interact with data sources such as
databases and XML files. ADO is the acronym for ActiveX Data Objects. It allows us to
connect to underlying data or databases. It has classes and methods to retrieve and
manipulate data.
The following are a few of the .NET applications that use ADO.NET to connect to a
database, execute commands and retrieve data from the database.

i
Chapter 01 INTRODUCTION

● ASP.NET Web Applications

● Console Applications

● Windows Applications

Merits of C#:
● Being an object-oriented language, C# allows you to create modular, maintainable
applications and reusable codes.
● Easy to develop as it has a rich class of libraries for smooth implementation of
functions.
● Enhanced integration as an application written in .NET will integrate and interpret
better when compared to other NET technologies
● As C# runs on CLR, it makes it easy to integrate with components written in other
languages.
● It’s safe, with no data loss as there is no type-conversion so that you can write
secure codes.
● The automatic garbage collection keeps the system clean and doesn’t hang it
during execution and cross-platform support as it requires to run on NET
Framework.

PROBLEM STATEMENT
Existing System

• Early days Libraries are managed manually. It required lot of time to record or to
retrieve the details. The employees who have to record the details must perform their
job very carefully. Even a small mistake would create a lot of problems. Security of
information is very less. Report generations of all the information is very tough task.

• Maintenance of Library catalogue and arrangement of the books to the catalogue is very
complex task. In addition to its maintenance of member details, issue dates and return
dates etc. manually is a complex task.

• All the operations must be performed in perfect manner for the maintenance of the library
with out any degradation which may finally result in the failure of the entire system.

Dept. of CSE, RNSIT 2022-23 Page 2


Chapter 01 INTRODUCTION

Proposed Solution

To solve the inconveniences as mentioned in the existing system, a Library Management

System is proposed. The proposed system contains the following features:

• The students will register in the Library.

• Individually each member will have his account through which he can access the

information he needs.

• Book details like authors, number of copies totally maintained by library, present

available number of books, reference books, non-reference books etc. all this

information can be made handy.

• Regarding the members designation, number of books was issued.

• Issue dates and returns of each member is maintained separately and fine charged

if there is any delay in returning the book.

• Administrator can add, update the books.

• Time consuming is low, gives accurate results, reliability can be improved with

the help of security.

Dept. of CSE, RNSIT 2022-23 Page 3


CHAPTER 02

2. REQUIREMENTS ANALYSIS, TOOLS, AND TECHNIQUES

Hardware and Software Requirements


Software Requirements

Name of Components Specification


Operating System Windows 10
Language HTML, CSS, Asp.Net ,Web Forms
Database MSSQL
Browser Google Chrome
Integrated Development
Microsoft Visual Studio 2019, Microsoft SQL Server 2019
Environment

Hardware Requirements

Name of Components Specification


Processor 10TH Gen CORE i5 Processor
RAM 8GB
Hard Disk 512 GB SSD

Functional Requirements

● Input: The user should register himself. The admin who is already registered will allocate

the role to the user at the backend. The staff can manage the users’ details while the users

can take available books, return books, get details.

● Output: The user will be able to get details about available books etc.

● User Interface: The user interface is in HTML and Web Forms are often used

Dept. of CSE, RNSIT 2022-23 Page 4


, Chapter 02 REQUIREMENTS ANALYSIS, TOOLS, AND TECHNIQUES

for defining functions. The interface is user friendly and hence can be used even by
noviceusers.

Tools, Languages and Platform


The project uses ASP.Net ,Web Forms languages as a base. HTML, CSS are used
for the frontend experience. The project uses MS-SQL for storing data in the database that is
obtained through the user at the frontend. The whole project was done on Microsoft Visual
Studio 2019 and Microsoft SQL Server.

Dept. of CSE, RNSIT 2022-23 Page 5


CHAPTER 03
3. SYSTEM DESIGN
BLOCK DIAGRAM :

Fig 3.1.1 : Block Diagram Of Librarian

Dept. of CSE, RNSIT 2022-23 Page 6


Chapter 03 DESIGN AND IMPLEMENTATION

Block Diagram :

Fig 3.2.1: Block diagram of Student

Dept. of CSE, RNSIT 2022-23 Page 7


Chapter 03 DESIGN AND IMPLEMENTATION

This diagram shows the entire flow of the working of the program. If it is a
Librarian, then they need to enter user id and password. If the credentials are right then we
will be able to get into librarian page. In that we have add publication , add book , add
branch , add student…etc . In add student we can add new student details then that student
will be able to purchase book. If it is a student then they need to enter user id and password
if it is a registered student then we will get into student page. There we can see details of
student and details can be edited , book report…etc.

Dept. of CSE, RNSIT 2022-23 Page 8


Chapter 03 DESIGN AND IMPLEMENTATION

Schema Diagrams :

Fig 3.3.1 : Schema Of Librarian

Dept. of CSE, RNSIT 2022-23 Page 9


Chapter 03 DESIGN AND IMPLEMENTATION

Schema Diagram :

Fig 3.4.1 : Schema of Student

Tables:

Table Schema: The Schema generated in Microsoft SQL Server Management Studio

Dept. of CSE, RNSIT 2022-23 Page 10


Chapter 03 DESIGN AND IMPLEMENTATION

Fig 3.3.3.1 Tables

User Interface Description

The front-end is built using a combination of technologies such as


Hypertext Markup Language (HTML) and Cascading Style Sheets (CSS). Front-end
developers design and construct the user experience elements on the web page or app
including buttons, menus, pages, links,graphics and more.

Dept. of CSE, RNSIT 2022-23 Page 11


Chapter 03 DESIGN AND IMPLEMENTATION

Hypertext Markup Language


Hypertext Markup Language (HTML) is the standard markup language for
creating web pages and web applications. With Cascading Style Sheets (CSS) it forms a
triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML
documents from a web server or from local storage and render them into multimedia web
pages, HTML, describes the structure of a web page semantically and originally included
cues for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML constructs,
images, and other objects, such as interactive forms, may be embedded into the rendered
page. It provides a direct link. means to create structured documents by denoting structural
semantics for text such as headings, paragraphs, lists, links, quotes, and other items.
HTML elements are delineated by tags, written using angle brackets. Tags such as <img>
and <input/> introduce content into the page Others such as <p>...</p> surround and
provide information about document text and may include other tags as sub -elements.
Browsers do not display the HTML tags but use them to interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript which
affect the behavior and content of web pages. Inclusion of CSS defines the look and layout
of content.

Cascading Style Sheets


Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language. Although most often used to set

the visual style of web pages and user interfaces written in HTML and XHTML, the
language can be applied to any XML. document, including plain XML, SVG and XUL,
and is applicable to rendering in speech, or on other media. Along with HTML and
JavaScript, CSS is a cornerstone technology used by most websites to create visually
engaging web pages, user interfaces for web applications, and user interfaces for many
mobile applications.
CSS is designed primarily to enable the separation of presentation and content,
including aspects such as the layout, colors, and fonts. This separation can improve
content accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple HTML pages to share formatting by
specifying the relevant CSS in a separate CSS file, and reduce complexity and repetition
in the structural content.

Dept. of CSE, RNSIT 2022-23 Page 12


Chapter 03 DESIGN AND IMPLEMENTATION

JavaScript
JavaScript is the Programming Language for the Web. It can update and change
both HTML and CSS. JavaScript can calculate, manipulate, and validate data.
JavaScript is a dynamic computer programming language. It is lightweight and
most used as a part of web pages, whose implementations allow client-side script to
interact with the user and make dynamic pages. It is an interpreted programming
language with object-oriented capabilities.
JavaScript was first known as LiveScript, but Netscape changed its name to
JavaScript, possibly because of the excitement being generated by Java. JavaScript made
its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-
purpose core of the language has been embedded in Netscape, Internet Explorer, and
other web browsers.

Dept. of CSE, RNSIT 2022-23 Page 13


Chapter 03 DESIGN AND IMPLEMENTATION

DATABASE IMPLEMENTATION
The data store has been designed and developed by creating the entity relation
diagram and schema design. The table structure and its underlying backend layer has
been implemented using Structured Query Language using MSSQL Server.

MSSQL Server
Microsoft SQL Server is a relational database management system developed by
Microsoft. As a database server, it is a software product with the primary function of
storing and retrieving data as requested by other software applications—which may run
either on the same computer or on another computer across a network (including the
Internet). Microsoft markets at least a dozen different editions of Microsoft SQL Server,
aimed at different audiences and for workloads ranging from small single-machine
applications to large Internet-facing applications with many concurrent users.

SQL
SQL is a short-form of the structured query language, and it is pronounced as S-Q-L
or sometimes as See-Quell. This database language is mainly designed for maintaining
the data in relational database management systems. It is a special tool used by data
professionals for handling structured data (data which is stored in the form of tables). It is
also designed for stream processing in RDSMS.
You can easily create and manipulate the database, access, and modify the table rows
and columns, etc. This query language became the standard of ANSI in the year of 198 6
and ISO in the year of 1987.If you want to get a job in the field of data science, then it is
the most important query language to learn. Big enterprises like Facebook, Instagram, and
LinkedIn, use SQL for storing the data in the back end.
● The basic use of SQL for data professionals and SQL users is to insert, update,
and delete the data from the relational database.
● SQL allows the data professionals and users to retrieve the data from the
relational database management systems.

● It also helps them to describe the structured data.

● It allows SQL users to create, drop, and manipulate the database and its tables.
● It also helps in creating the view, stored procedure, and functions in the relational
database.

Dept. of CSE, RNSIT 2022-23 Page 14


Chapter 03 DESIGN AND IMPLEMENTATION

● It allows you to define the data and modify that stored data in the relational
database.
● It also allows SQL users to set the permissions or constraints on table columns,
views, and stored procedures.
SQL architecture that is used to depict the query execution by the SQL engine.

Fig 3.5.1 SQL Process Architecture diagram

Dept. of CSE, RNSIT 2022-23 Page 15


Chapter 03 DESIGN AND IMPLEMENTATION

CODE SEGMENT/ALGORITHM

Web Config: The below code defines how the database should be rendered onto the
website. The code also includes the connection string that is used to connect the
controllers from Visual Studio to one of the databases from MSSQLserver.

Views: The Views are coded to design the webpage. Each view usually consists of pages
each for- Index, Create, Details, Edit and Delete.
Below is the code snippets for different views of the Library Management System table:

1. My Account.aspx:

<%@ Page Title="" Language="C#" MasterPageFile="~/Student/MasterPage.master"


AutoEventWireup="true" CodeFile="MyAccount.aspx.cs" Inherits="Student_MyAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.style1
{
width: 465px;
}
.style2
{

Dept. of CSE, RNSIT 2022-23 Page 16


Chapter 03 DESIGN AND IMPLEMENTATION
}
.style3
{
text-align: right;
color: black;
width: 200px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="tbl">
<tr>
<td class="tblhead">
MY ACCOUNT</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="Button12" runat="server" CssClass="btn" Text="VIEW ACCOUNT"
onclick="Button12_Click" />
&nbsp;<asp:Button ID="Button13" runat="server" CssClass="btn" Text="EDIT ACCOUNT"
onclick="Button13_Click" />
&nbsp;<asp:Button ID="Button14" runat="server" CssClass="btn" Text="CHANGE
PASSWORD"
onclick="Button14_Click" />
</td>
</tr>
<tr>
<td align="center">
&nbsp;</td>
</tr>
<tr>
<td align="center">
<asp:MultiView ID="MultiView1" runat="server">
<asp:View ID="View1" runat="server">
<table align="center" class="style1" style="border: thin solid
#9b9b9b">
<tr>
<td class="tblhead" colspan="2">
MY Account Detail</td>
</tr>
<tr>
<td class="lbl">
Name :</td>
<td align="left">
<asp:Label ID="lblnam" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="lbl">
Mobile :</td>
<td align="left">
<asp:Label ID="lblmobile" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="lbl">
Address :</td>
<td align="left">
<asp:Label ID="lbladd" runat="server"></asp:Label>
</td>
</tr>
<tr>

Dept. of CSE, RNSIT 2022-23 Page 17


Chapter 03 DESIGN AND IMPLEMENTATION
<td class="lbl">
City :</td>
<td align="left">
<asp:Label ID="lblcity" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="lbl">
Pincode :</td>
<td align="left">
<asp:Label ID="lblpincode" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="lbl">
Email :
</td>
<td align="left">
<asp:Label ID="lblemail" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:View>
<asp:View ID="View2" runat="server">
<table align="center" class="style1" style="border: thin solid
#9b9b9b">
<tr>
<td class="tblhead" colspan="2">
Edit Account Detail</td>
</tr>
<tr>
<td class="style3">
Name :</td>
<td align="left">
<asp:TextBox ID="txtname" runat="server"
CssClass="txt"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Mobile :</td>
<td align="left">
<asp:TextBox ID="txtname0" runat="server"
CssClass="txt"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Address :</td>
<td align="left">

Dept. of CSE, RNSIT 2022-23 Page 18


Chapter 03 DESIGN AND IMPLEMENTATION
<asp:TextBox ID="txtname1" runat="server"
CssClass="txt"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
City :</td>
<td align="left">
<asp:TextBox ID="txtname2" runat="server"
CssClass="txt"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Pincode :</td>
<td align="left">
<asp:TextBox ID="txtname3" runat="server"
CssClass="txt"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Email :
</td>
<td align="left">
<asp:TextBox ID="txtname4" runat="server"
CssClass="txt"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
&nbsp;</td>
<td align="left">
<asp:Button ID="btnupdate" runat="server" CssClass="btn"
onclick="btnupdate_Click" Text="UPDATE" Width="100px"
/>
</td>
</tr>
<tr>
<td class="style2">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:View>
<asp:View ID="View3" runat="server">
<table style="border: thin solid #9b9b9b">
<tr>
<td class="tblhead" colspan="2">
Change Password</td>
</tr>
<tr>
<td align="right">
Enter New Password :
</td>
<td align="left">
<asp:TextBox ID="txtpass" runat="server" CssClass="txt"
TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>

Dept. of CSE, RNSIT 2022-23 Page 19


Chapter 03 DESIGN AND IMPLEMENTATION
<td align="right">
Confirm - Password :
</td>
<td align="left">
<asp:TextBox ID="txtcpass" runat="server" CssClass="txt"
TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="left">
<asp:Button ID="Button15" runat="server" CssClass="btn"
Text="Change Password" onclick="Button15_Click" />
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="left">
<asp:Label ID="Label1" runat="server" Font-Size="10pt"
Text="Label"></asp:Label>
</td>
</tr>
</table>
</asp:View>
</asp:MultiView>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Dept. of CSE, RNSIT 2022-23 Page 20


Chapter 03 DESIGN AND IMPLEMENTATION

2) Publiction.aspx:

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"


CodeFile="Publication.aspx.cs" Inherits="Publication" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.style1
{
width: 361px;
}
.style2
{
width: 691px;
}
.style3
{
width: 291px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="tbl">
<tr>
<td class="tblhead">
ADD NEW PUBLICATION</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
<table align="center" class="style1">
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="lbl">
Publication Name :
</td>
<td>
<asp:TextBox ID="txtpub" runat="server"
CssClass="txt"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server"
ControlToValidate="txtpub" ErrorMessage="??" ForeColor="Red"
SetFocusOnError="True"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Button ID="btnadd" runat="server" CssClass="btn"
onclick="btnadd_Click"
Text="ADD Publication" />

Dept. of CSE, RNSIT 2022-23 Page 21


Chapter 03 DESIGN AND IMPLEMENTATION
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Label ID="lblmsg" runat="server" CssClass="lbl"></asp:Label>
</td>
</tr>
</table>
<br />
<table class="style2">
<tr>
<td class="style3">
&nbsp;</td>
<td>
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False"
AutoGenerateDeleteButton="True" CellPadding="2"
DataKeyNames="pid" ForeColor="Black" GridLines="None"
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowdeleting="GridView1_RowDeleting"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating" BackColor="#eaeaea"
BorderColor="#d9d9d9" BorderWidth="1px">
<AlternatingRowStyle BackColor="lightgrey" />
<Columns>
<asp:CommandField CausesValidation="false"
ShowEditButton="true" />
<asp:BoundField DataField="Publication"
HeaderText="Publication" />
</Columns>
<FooterStyle BackColor="Tan" />
<HeaderStyle BackColor="lightgray" Font-Bold="True" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue"
ForeColor="GhostWhite" />
<SortedAscendingCellStyle BackColor="#FAFAE7" />
<SortedAscendingHeaderStyle BackColor="#DAC09E" />
<SortedDescendingCellStyle BackColor="#E1DB9C" />
<SortedDescendingHeaderStyle BackColor="#C2A47B" />
</asp:GridView>
</td>
</tr>
<tr>
<td class="style3">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Content>

Dept. of CSE, RNSIT 2022-23 Page 22


Chapter 03 DESIGN AND IMPLEMENTATION

3) Default.aspx:

<%@ Page Title="" Language="C#" MasterPageFile="~/Student/MasterPage.master"


AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Student_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%">
<tr>
<td class="tblhead" bgcolor="White">
WELCOME TO LIBRARY SYSTEM</td>
</tr>
<tr>
<td bgcolor="White">
&nbsp;</td>
</tr>
<tr>
<td bgcolor="White" style="text-align: center">
<asp:Image ID="Image4" runat="server" ImageUrl="~/img/lib1.jpg" />
</td>
</tr>
</table>
</asp:Content>

4) Home.aspx:

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"


CodeFile="Home.aspx.cs" Inherits="Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.style1
{
width: 100%;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="style1">
<tr>
<td class="tblhead">
Welcome to Digital Library System</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>

Dept. of CSE, RNSIT 2022-23 Page 23


Chapter 03 DESIGN AND IMPLEMENTATION
<tr>
<td style="text-align: center">
<asp:Image ID="Image2" runat="server" ImageUrl="img/images.jpg" />
</td>
</tr>
</table>
</asp:Content>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Home : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{

}
}

Dept. of CSE, RNSIT 2022-23 Page 24


CHAPTER 04

OBSERVATIONS AND RESULTS

UNSUCCESSFUL LOGIN: The error message when the email or


password isnot in correct format at client end .

Fig 4.1.1: Invalid Email Address or password

Dept. of CSE, RNSIT 2022-23 Page 25


SUCCESSFUL LOGIN: Upon providing the correct credentials for login we willbe
redirected to the home page.

Fig 4.2.1 Valid Email Address and password

Dept. of CSE, RNSIT 2022-23 Page 26


Chapter 04 OBSERVATIONS AND RESULTS

ADD NEW STUDENT PAGE:

Fig 4.3.1: Add Student Page

HOME PAGE: The home page where both client and the admin can usetheir
login credential or if it is a new user, they can register themselves first.

Fig 4.4.1: Home Page

Dept. of CSE, RNSIT 2022-23 Page 27


Chapter 04 OBSERVATIONS AND RESULTS

MY ACCOUNT:

This displays the details of the student who has logged in.

Fig 4.5.1: My Account Page

4.6 Student Report: In this page the details of the students who have registered
will be displayed.

Fig 4.6.1: Student Report

Dept. of CSE, RNSIT 2022-23 Page 28


Chapter 04 OBSERVATIONS AND RESULTS

ADD NEW BOOK PAGE: This page allows to add new book.

Fig 4.7.1: Add New Book Page

VIEW BOOK: This page displays the books purchased by the particular
registeredstudent.

Fig 4.8.1: View Book

Dept. of CSE, RNSIT 2022-23 Page 29


CHAPTER 05
1. CONCLUSION AND FUTURE WORK

CONCLUSION

This website provides a computerized version of book house management system which will benefit
the students as well as the staff of the library. It makes entire process online where student can search
books, staff can generate reports and do book transactions. It also has a facility for student login
where student can login and can see status of books issued as well request for book or give some
suggestions.

FURTHER WORK
As a future enhancement we have decided to include a genuine payment system.
Front end will be more attractive. Payment options and document checking such as ID
proofs can be added. Applications can be upgraded by improving performance as per user
feedback.

Dept. of CSE, RNSIT 2022-23 Page 30


REFERENCES
[1] https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-controlle
r?view=aspnetcore-6.0&tabs=visual-studio

[2] https://stackoverflow.com/questions/31224206/predefined-type-system-object-is-not-d
efined-or-imported-net-4-6

[3] https://www.c-sharpcorner.com/article/create-mvc-project-step-by-step-from-scratch-
part-one/

[4] https://docs.microsoft.com/enus/aspnet/mvc/overview/getting-started/introduction/ad
ding-a-view

Dept. of CSE, RNSIT 2022-23 Page 32

You might also like