Project Document - Library Management System
Project Document - Library Management System
JUNE, 2014.
CERTIFICATION
This is to certify that this project was clearly implemented and
documented by OKEY IKECHUKWU OGBONNAYA of the MATRIC NUMBER
2010/1282, and submitted to the COMPUTER SCIENCE DEPARTMENT OF
INFORMATION AND COMMUNICATION TECHNOLOGY, BELLS UNIVERSITY OF
TECHNOLOGY, OTA, OGUN STATE for the award of a degree.
Engineer Ezike
Supervisor
Professor E.R.
Adagunodo
Head of Department
DEDICATION
I will like to dedicate this project to God Almighty for seeing me through my stay
in the university and my parents, Engr. C. O. Okey and Mrs. J. O. Okey who gave
me the opportunity of becoming a scholar. I will also like to thank my wonderful
siblings Ihuoma and Emmanuel who always show me great support and love
throughout my stay in the university.
ACKNOWLEDGEMENT
All thanks to the Almighty God for his infinite mercy, wisdom, strength and
guidance throughout the course of my academic career.
My profound gratitude to my parents Engr. C. O. Okey and Mrs. J. O. Okey, who
have prayed and cared for me in love right from my birth, May the Almighty God
continue to bless you and grant your heart desires in Jesus Name Amen. For his
guidance and immense support, I will like to thank my supervisor, Engineer Ezike
who guided me on the way and manner of carrying out my project plus
encouraged me to struggle and overcome challenges during the course of my
project.
For their support, I want to thank the Bells University Library Staffs for
supporting me during the process of development of this project.
I will also like to use the opportunity to show gratitude to the entire COLICT staff
for their profound lectures and guidance they bestowed on me during my stay at
the university.
Finally, I want to thank Mr. Augustine Okere [former staff of Fleet Technologies
Limited] for his patience and guidance may God continue to bless you.
ABSTRACT
The main aim of this project is to help solve the current problem of the readers
service
department,
collection
and
development
department,
technical
department and the e-library. The current readers desk management system
automates the basic operations carried out in that department but still has some
limitations and prone to errors that can be caused by the network or the readers
desk.
The online library management system can be seen as a modern innovation that
is expected to help in the registration of users such as the students and teaching
staff of the institution, registration and the classification of books, extracting and
storing the details of e-books, generating reports, accurate calculation of fines,
sending mails to registered users of the system to inform them of the new
collections and remind them to return borrowed materials. This system can
perform two automated tasks with the help of two windows services.
The windows service is a light-weight background program that provides core
operating system functions such as web services, error or report logging etc. In
this project, the purpose of the windows service is to provide web services for
automatically adding defaulters to the defaulters list and deleting user
reservations. The main advantage of using a windows service is that the system
can still carry out its automated functions even when the application is not
running.
TABLE OF CONTENTS
TITL
.......................................................................................................................................... i
CERTIFICATION.................................................................................................................. ii
DEDICATION..................................................................................................................... iii
ACKNOWLEDGEMENT....................................................................................................... iv
ABSTRACT......................................................................................................................... v
LIST OF FIGURES............................................................................................................ viii
CHAPTER ONE................................................................................................................... 1
INTRODUCTION.............................................................................................................. 1
1.0
Library Overview............................................................................................... 1
1.1
Purpose of a Library.......................................................................................... 1
1.2
Evolution of Libraries........................................................................................ 1
1.3
Problem Statement........................................................................................... 3
1.4
Motivation......................................................................................................... 4
1.5
1.5.1
Objectives...................................................................................................... 5
1.6
Methodology..................................................................................................... 5
1.7
Justification of Research.................................................................................... 6
1.8
Scope of Research............................................................................................. 7
1.9
Contribution to Knowledge................................................................................7
CHAPTER TWO.................................................................................................................. 8
LITERATURE REVIEW...................................................................................................... 8
2.0
Library............................................................................................................... 8
2.1
Library Management......................................................................................... 8
2.2
Library Catalog................................................................................................. 9
2.3
2.4
2.5
Related Works................................................................................................. 11
CHAPTER THREE............................................................................................................. 26
SYSTEM DESIGN.......................................................................................................... 26
3.0
System Design................................................................................................ 26
3.1
3.2
3.3
CHAPTER FOUR............................................................................................................... 47
SYSTEM IMPLEMENTATION........................................................................................... 47
4.0
System Implementation.................................................................................. 47
4.1
4.2
Login Page................................................................................................... 48
4.3
Library Administrator................................................................................... 49
4.4
4.5
Acquisition Staff........................................................................................... 62
4.6
Library Users................................................................................................ 64
4.7
Classification Staff....................................................................................... 66
4.8
E-Library Administrator................................................................................ 67
CHAPTER FIVE................................................................................................................. 68
CONCLUSION AND RECOMMENDATION........................................................................68
5.1
Conclusion...................................................................................................... 68
5.2
Recommendation............................................................................................ 69
References...................................................................................................................... 70
APPENDIX 1: SOURCE CODE............................................................................................. 1
APPENDIX 2: TRANSACT-SQL STATEMENTS.....................................................................15
LIST OF FIGURES
Figure 3.1 - Four-Tier System Architecture Of Proposed System [Adapted From N.
Sivakumar, 2009.].......................................................................................................... 30
Figure 3.2 - ER-Diagram for the Proposed Library Management System........................32
Figure 3.3 Use Case Diagram for the Proposed Library Management System
. 33
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
CHAPTER ONE
INTRODUCTION
1.0 Library Overview
A library can be defined as an organized collection of books and periodicals
that are made accessible to the public or members of an institution. It can
also be seen as a building containing collections of information resources
that can be easily accessed by the public for reference or borrowing.
[Wikipedia, 2013], [Oxford Dictionaries, 2013]
materials
or
referral.
4. Libraries
facilitate
informal
self-education
of
all
people
in
the
Libraries from Greece, Asian Minor and Syria were the first Roman libraries as
a result of the conquest in the first and second century. Early Christian
libraries were in the residence of a religious community called monasteries.
From the ninth to fifteenth century, Arabs collected fine libraries also the
Jews and the Byzantines collected fine libraries during the medieval period.
[Infoplease. The Columbia Electronic Encyclopedia, 2013]
1833, then the American Library Association was later formed in the year
1876. Traveling libraries and book mobiles began to take books to people
living in the rural areas in the early twentieth century. [Infoplease. The
Columbia Electronic Encyclopedia, 2013]
By the end of the twentieth century, many resources were made available to
library patrons in electronic formats which could be easily accessed directly
from home or work due to digital revolution. [Infoplease. The Columbia
Electronic Encyclopedia, 2013]
off shelf at the click of a mouse button. This implies computerizing the
process.
In the Collection and Development Department books are registered by
writing down the details of each book such as the date the book was
brought, accession number, author, title, publisher, the year of publication,
number of copies on both the accessions register [a document used in
maintaining the collection of books in the library] and bibliographic data
worksheet [a data entry worksheet that contains the necessary fields to
enter the bibliographic data of each book] before they are later registered
into the system which uses Microsoft Excel worksheet. This form or method
of book registration is inefficient and a duplication of effort because the
details of each book are written down twice both on the accessions register
and the bibliographic data worksheet. Staffs from other departments take
part in class marking the books brought to the library due to the shortage of
staffs in the Technical Department. From the library users point of view the
time taken to search for a book which may or may not be on the bookshelf or
may not be correctly ordered, is time consuming, thereby making the users
frustrated and discouraged.
In the e-library section, the acquired e-books are classified into different
categories using an online catalogue. The e-books are later stored in
different folders for each college and their respective departments. For
example e-books that are related to information technology are stored in the
COLICT [College of Information and Communication Technology] folder. This
folder contains two sub-folders, one for the Computer Science Department
and the other for Information Technology Department. Once the e-books are
stored in their respective folders, hyperlinks are generated manually for each
e-book to enable users have access to them. This method of transaction is
time consuming, inefficient and primitive in a situation whereby 1500 ebooks are acquired per session.
The reason for this research is to automate the manual processes carried out
in the areas of member registration, searching for existing member files,
location of books in the library section, registration of e-books, deleting e4
books, updating details of existing e-books and providing easy access for
users in the e-library section. Failure to resolve the above stated problems in
the existing manual system may lead to a steady decrease of library usage
and over-stretching of existing staff. Thus leading to diminishing returns in
library staff productivity.
1.4 Motivation
The loss of time and money engendered by the inefficient operations in most
section of the library, particularly in record keeping of both hard and soft
copies of books, monitoring the stock and performing daily book transactions
such as issuing books, discharging books, reserving books and downloading
available e-books in both sections of the library motivated me in carrying out
this research.
1.5.1
Objectives
1.6 Methodology
In order to provide solution in achieving the above objectives, using Bells
University library as a case study, the following will be carried out:
1. Carried out a detailed literature review to better understand current
issues in library researches, studies, their operations and
implementation using modern technology.
2. Thorough study of Bells university library will be carried out through
continuous visits and observations of the library environment.
3. Design an Online Library Management System that can be used in
Bells University of Technology Library. The process of designing this
system is listed below:
a. Design the user interface with different views using UML. The UML
diagrams produced will include: Class Diagram, Sequential Diagram,
Activity Diagram and E-R Model.
b. Four-Tier architecture will be employed in the development of the
application and Singleton software design pattern will also be used.
c. Stored procedures and LINQ [Language Integrated Query] will be
used for easy database transactions
such as INSERT, DELETE, UPDATE and SELECT.
d. The application will be developed with a server-side programming
language ASP.NET in C#
4. Implementation of the design in 3 above will require the following
tools:
a.
b.
c.
d.
CHAPTER TWO
LITERATURE REVIEW
2.0 Library
A library can be defined as a depository built to house a collection of books,
literary documents, or records for studying or borrowing. It can also be seen
as a building containing collections of information resources that can be
easily
accessed
by
the
public
for
reference
or
borrowing.
[Oxford
1. Acquisition Control
2. Serials Control
3. Cataloging and Classification
4. Circulation Control
5. Web Cataloguing
6. Metadata Linking
encompasses
normal
freedom, anti-censorship,
management
tasks
as
well
Issues
as intellectual
faced
in
library
borrowing
materials
from
other
libraries
[Wikipedia.
cartographic
materials,
etc.).
[Wikipedia.
Wikimedia
combinations of
6. Library
and
Information
Management
System
(LIMS)
[Wikipedia.
11
MASTERS
11.
MIS REPORTS
12.
ADMINISTRATION
The table below is an overview of the functions carried out in each module.
MODULES
FUNCTIONS
Customization of acquisition reports,
Printing of acquisition reports and order
list, Creating a publisher directory,
Generating accounts reports; Balancing of
budget, Creating outstanding order report
Generating items report
Creation of catalog on Author, Title, Class,
ISBN and Series,
Detect duplicate records,
Importing files downloaded from online
database, Editing cataloguing,
Providing Authority files such as Authors,
ACQUISITION
CATALOGING
13
14
FEATURES
Catalog any type of material such as Books
Articles, Audio and Video Media, Serial
publications etc. This is done based on
AACR2 (Anglo American Cataloguing Rules)
standard.
Member Information,
Registration card with members
photograph and barcode ID,
User specified code of member ID,
Subjects of interest for members,
Loans and reservations data retrieval by
borrower identification,
Inventory/Circulation status,
Physical stock verification,
Transaction logging,
Binding issues or receipts,
Shelf list,
Tracking fines and fees due,
Calendar master for maintaining holidays,
Rules based on computation of fines for
overdue items,
Deferred reservations to ensure availability
of items on shelf at specified future date,
Inter library loan monitoring system,
Prioritized reservation queue
Proposal for acquisition,
Inquiry to book sellers/publishers,
Purchase orders (foreign / local),
Books on approval memos,
Purchase bills,
Payment details of purchase bills,
CATALOGING
CIRCULATION
ACQUISITION
15
Credit notes,
Detailed information about vendors,
Multiple Currencies and conversion rates
Keeping track of receipts of issues, filing
claims for issues not received, preparing
binding orders, etc.
SERIALS CONTROL
BULLETIN PRINTING
STATISTICAL ANALYSIS
details include:
Distribution of loans and overdue loans for
a borrower category,
Distribution of loans and overdue loans for
a subject group,
Reservation queue sizes and
average waiting period Information is
presented in the form of bar charts, pie
charts, etc.
This module provides On-line Public Access
Catalogue [OPAC] facility which offers
powerful on-line search facilities to search
through library
catalogues: Author, Keyword, Subject class,
Title, Publisher, Place of publication, Main
entry, Material type, Place of conference,
Subject name, ISBN / ISSN, Year of
conference, Series Titles, Serials Title and
Year of Publication.
[Tan Chaur Chuan, 2010] points out that library management system is
mainly used by librarian and library administrator. The librarian is able to
manage the following modules: Member maintenance module; Book
maintenance module and Book transaction module. [Tan Chaur Chuan, 2010]
also stated that the library management system allows user [librarian] to
manage the publisher as well as lost book module. The other type of user
which is the admin level staff is able to handle the staff module and view the
report module.
The main objective of this work is to automate the daily transactions that
take place in the library in order to eliminate the traditional paper-work and
to prevent the occurrence of missing records or files. Bar Code and SMS
technology were implemented in this work.
The methodology used in the development of the system is Waterfall Model.
The waterfall model is a software development model that consists of the
following stages which are:
1. Requirement Analysis
17
2.
3.
4.
5.
System Design
Programming
System Testing
System Evaluation
[Tan Chaur Chuan, 2010] explains that the requirement analysis is a stage to
gather the user requirements such as functional requirements. The next
stage is the system design where the design of the user interface and
database will take place. Programming stage is the next stage after the
system design and this stage has to do with coding. After the coding stage is
the system testing, this is carried out in order to minimize system bugs.
System evaluation is the last and final stage of the waterfall model which
involves comparing it with an existing system.
In this work the library management system is divide into two: the online
website and the library system. The project scope of this work is the library
system.
[Tan Chaur Chuan, 2010] divide the library system into different modules and
functions which are listed below:
MODULES
AUTHORIZATION AND AUTHENTICATION
MEMBER MAINTENANCE
BOOK MAINTENANCE
PUBLISHER MAINTENANCE
EMPLOYEE MAINTENANCE
BOOK TRANSACTION
18
FUNCTIONS
ID/Password Checking,
Password Recovery
Add new member,
Edit member,
Print ID card,
Search member
Add new book,
Edit book information,
Generate barcode,
Search book
Add new publisher,
Edit publisher information,
Search publisher
Add new employee,
Edit employee,
Search employee
Rental Module,
Check Reservation,
Return Module,
Fine Module,
Lost Book Module
Transaction Report,
Top 10 Book Report,
Activity Log
REPORT
19
the
form
of
interviews,
questionnaires
and
information
from
borrowed books and available books in the library. An automated system was
developed after the feasibility study to rectify the manual difficulties in
managing the library. The researchers specified the system requirements for
running the application and these requirements include: Windows 98 or NT
4.0 Operating Systems (software requirements) and 486 to 500 MHz
microprocessor with a RAM ranging from 8 MB to 32MB (hardware
requirements).
The
system
implementation
phase
in
the
research
work
involves
research
also
encourages students and staff to develop the system further due to its
limitations.
According to [Maureen and Blessing, 2011] library automation has to do with
the act of computerizing the daily activities of the library system. These
activities include: users and materials registration, issuing and returning
books, locating materials and calculating overdue fines of defaulters. The
researchers pointed out that the manual method of library management
system in most state universities for example Delta State University are
prone to problems in the following areas: Registration of users, Monitoring
the stock of library materials, Waste of energy in searching for a particular
material.
The aim of this project work is to design an automated system that will help
university libraries to keep accurate track of the transactions done by storing
the information about library users. Then giving an accurate location of
library material to ease the search of library users and keeping track of all
borrowed and returned books.
[Maureen and Blessing, 2011] reviewed different literatures related to their
work, carried out a system analysis of the existing library system to
determine the setbacks it has. Design the system through the use of
structured flowcharts. [Maureen and Blessing, 2011] designed the database
23
using the SQL [Structured Query Language] Enterprise Manager. The tables
design for the system are:
1.
2.
3.
4.
5.
[Maureen and Blessing, 2011] explains that there are various tasks carried
out in the implementation phase of the system, these tasks involve program
development; testing and debugging of the program; the acquisition
and
installation of the hardware and the training of the library staff in order to be
able to operate the system. The software architecture employed in the
development of the system is a 2-tier architecture. The system is then tested
for bugs. This involves two program testing which are: The Alpha testing and
The Beta testing.
In conclusion the system [librarysoft] can monitor the operations of the
library, speed up searching processes, validating users and generating
reports for the library staff to assist them in managing the resources of the
library.
facilities
include:
Stock
Maintenance;
Report
Generation
and
Transaction Entry. The scope of this project work is limited to institutions and
offices. The authors of this research work carried out a feasibility study of the
present library system in order to identify and analyze the drawbacks of the
present system plus to understand the flow of operation carried out in the
library.
[Bhupendra etal, 2011] divided the system into three components, the first
component is responsible for maintaining the stock of the library; the second
component is responsible for logging transactions and finally the third
24
[Nair, 2011] stated that a solution developed using the .NET technology was
introduced to improve the accuracy of the information handled in libraries.
This solution helps the administrator accomplish his tasks at ease and allows
users to sign-up or sing-in easily since it is an online library management
system. From the administrators view the system helps him/her to monitor
the stock of the library, manage the library and other related information
from his/her desktop. From the users view the system them to sign-in and
effectively search for books, borrow or reserve books if they are available in
the library. The details of both the library materials and users are stored in
the database.
The aim and objective of this project is to create a library management
system which sorts the administrators, staffs and students separately.
[Nair, 2011] pointed out that a feasibility study is carried out to determine
whether or not a project is worth doing. The researcher also mentioned that
feasibility study is performed in order to determine the feasibility of a project
such that the content and recommendation of the study will be used as a
25
basis for deciding to proceed, postpone, or cancel the project. [Nair, 2011]
classified feasibility into the following types: Technical Feasibility, Operational
Feasibility, Economic Feasibility and Social Feasibility. Through thorough
feasibility study of the present system some problems were identified and
analyzed. The system was divide into three components which are:
1. Stock Maintenance
2. Transaction Entry
3. Report Generation
[Nair, 2011] made use of the following technologies to develop the library
management system: ASP.NET 2.0 in C#, Visual Web Developer Express
Edition and SQL Server Express Edition. The software development model
used in the development cycle of the system is the Waterfall Model.
According to [Nair, 2011] the waterfall model consists of the following stages
which are:
1.
2.
3.
4.
[Nair, 2011] explains that the requirement analysis and design stage has to
do with establishing the systems services and goals by consulting the endusers of the system. The next stage involves establishing the overall system
architecture which includes data structures and algorithm. In the coding
stage, the design is converted into a machine readable form. The final stage
of the software development cycle is the testing stage where the logical
internals of the system are tested to ensure that the system meets up with
the user requirement and to uncover hidden bugs.
26
In conclusion the system was developed using a very friendly GUI [Graphical
User Interface] and the implementation was a success.
CHAPTER THREE
SYSTEM DESIGN
3.0 System Design
This can be defined as the process of defining the architecture, components,
modules, interfaces, and data for a system to satisfy specific requirements. It
can also be defined as the design of systems which implies a systematic and
rigorous approach to design. It is seen as the application of systems theory
27
(as
of
Visual
Studio
2010).
[Wikipedia,
2013]
to browse, select, and act upon any of the objects within the server. Other
features include: Enterprise Manager, Query Analyzer, and Analysis
Manager. [Wikipedia, 2013]
In addition to this, SQL Server Management Studio works with all
components of SQL Server such as Reporting Services and Integration
Services. Fleet Technologies makes use of SQL Server Management Studio
to create databases for the web applications, write stored procedures in
order to perform logic operations, create SQL transactions and crystal
report. [Wikipedia, 2013]
of
computer
that
system
plus customer
System
of
component
blocks
[Themetisfiles,
and
orchestrated
separately
2014]
31
32
33
34
35
Management System
Figure 3.4 - Sequence Diagram for User Login
37
38
39
41
42
43
44
45
46
CHAPTER FOUR
SYSTEM IMPLEMENTATION
4.0 System Implementation
System implementation can be defined as the construction of the new
system and the delivery of that system into production i.e. the day-to-day
business or organization operation. It can also be seen as the process of
defining how the system should be built, ensuring that the system is
operational and used and finally ensuring that the system meets quality
standards i.e. quality assurance. [N.p., 2014], [N.p., 2014]
System implementation covers a broad spectrum of activities from detailed
workflow analysis to the formal go-live of the new system. Therefore the
overall working feature and conditions of the system are to be highlighted
and components are described. [HRSA, 2014]
4.1
4.2
Login Page
The login page serves as an access point for existing users of the system. It
allows users with username and password to access the system and carry
out operations that are relevant to the user. It also allows new users to
register for a username and password in order to gain access into the
system. The username uniquely identifies each user of the system and the
password is a string of characters used to authenticate the user or prove the
identity of the user or access approval to gain access to resources or the
system.
In case of a mismatch in the username and password, the system would
display an error message Login Failed. Please remember that
51
4.3
Library Administrator
The library administrator holds the primary role of leadership in the library. In
the library management system, the library administrator is responsible for
administering user roles to different users of the system. The administrator is
seen as a super user and has a better privilege than regular library staff and
users. Below is a list of pages that can be viewed by the administrator:
1.
2.
3.
4.
5.
USER MANAGEMENT
BOOK MANAGEMENT
TRANSACTION LOG
FINE PAYMENT
CLASSMARK BOOKS
52
55
56
57
4.4
59
The circulation desk staff is responsible for registering users, issuing and
discharging books, attending to the reservation requests of the students and
teaching staff and fine payment. Below is a list of pages that can be viewed
by the circulation desk staff:
1.
2.
3.
4.
5.
REGISTRATION
BOOK TRANSACTION
FINE PAYMENTS
RESERVATIONS
REMINDER
62
FINE PAYMENT: The fine payment page enables the circulation desk staff to
63
64
4.5
Acquisition Staf
ADD BOOKS: The add books page enables the acquisition staff to
register/add new books to the systems database.
66
VIEW STOCK: The view stock page allows the acquisition staff to view the
library stock [list of registered books].
67
Library Users
The library users are those that make use of the library for the purpose of
gaining knowledge and research. For the purpose of this project the library
users are limited to the students and teaching staff of Bells University of
Technology. Below is a list of pages that can be viewed by the teaching staff
and students:
1. SEARCH
2. LIBRARY
SEARCH: The search page allows the students and staff to search for books
in the library by title, subject and author.
68
69
LIBRARY: The library page enables the students and staff to view the entire
book collection in the library.
70
4.7
Classification Staf
The classification staff is responsible for classifying the books in the library.
The CLASSMARK BOOKS page is viewed by the classification staff.
E-Library Administrator
71
CHAPTER FIVE
72
service
department
and
the
collection
and
development
5.2 Recommendation
I hereby recommend the Bells University librarian to employ the use of this
automated software to the University Library. The system will reduce the
errors encountered, and the manual process involved in the library activities;
and also to increase operation speed.
The online library management system only automates the activities carried
out in the readers service department, collection and development
department, technical department and the e-library. Processes like attending
to non-members of the university, getting and arranging important
newspaper clips and keeping record of serials could not be attended to.
I encounter the university to try and encourage the students and staff to
carry out further research in the development of library automated systems
that can overcome the limitation of the present online library management
system.
Upgrade
approach
of
technology
should
be
recognized,
74
References
1. Ashutosh Tripathi and Ashish Srivastava, 2012. Online Library
Management System. IOSR JOURNAL OF ENGINEERING (IOSRJEN). Pg.
180 186
2. Akazue Maureen and Ojeme Blessing, 2011. Design of an Automated
Library Management System for State Universities in Nigeria. ASIAN
JOURNAL OF INFORMATION TECHNOLOGY. Pg. 335 340
3. AllWords.com, 2013. Definition of System Design [Online]:
http://www.allwords.com/word-systems+design.html
4. Bhupendra, Shraddha Panwar and Vijay Vaishnav, 2011. Online Library
Management System. Project Report, November 2011.
5. Bijesh Nair, 2011. Online Library System. Final year project report of
Masters of Computer Application in G.V School of Engineering and
Technology. April 2011.
6. Buena Vista University (2013), Library Mission [Online]:
http://www.bvu.edu/library/about_us/purpose.dot
7. Chelmsford Public Library (2013), Objectives and Purposes of the
Library [Online]:
http://www.chelmsfordlibrary.org/library_info/policies/objectives.html
8. Dictionary.com, 2013. Online Public Access Catalog [Online]:
http://dictionary.reference.com/browse/Online+Public+Access+Catalog
?s=t
9. Darren Adams, Sergey Begun, Andrew Fail, Shawn Halger and Franklin
Lee, 2007. Library Management System: Design and Implementation.
Final year project, April 2007.
10.
Dubberly Design Office, 2013. System Design [Online]:
http://www.dubberly.com/articles/what-is-systems-design.html
11.
Flightsystems, 2013. Purpose of System Design [Online]:
http://flightsystems.org/system_design_definition.htm
75
12.
Grant-Ezeronye G. C., 2011. Development of a Librarys
Readers Desk Management System. Final year project submitted to
the Department of Computer Science, June 2011.
13.
HRSA (Health Resources and Services Administration), 2014.
System Implementation [Online]:
http://www.hrsa.gov/healthit/toolbox/HealthITAdoptiontoolbox/SystemI
mplementation/
14.
Infoplease. The Columbia Electronic Encyclopedia, 6th Ed. Columbia University Press (2013), Library: Evolution [Online]:
http://www.infoplease.com/encyclopedia/entertainment/libraryevolution.html
15.
M. Satish Kumar, 2012. Online Library. Final year project, July
2012.
16.
N. Sivakumar, 2012. International Library Management
Systems. INTERNATIONAL JOURNAL OF LIBRARY AND INFORMATION
SCIENCE RESEARCH AND DEVELOPMENT. Pg. 35 - 47
17.
Neelakandan. B, Duraisekar. S, Balasubramani.R, Srinivasa
Ragavan.S (2010), Implementation of Automated Library Management
System in the School of Chemistry Bharathidasan University using
Koha Open Source Software. INTERNATIONAL JOURNAL OF APPLIED
ENGINEERING RESEARCH, DINDIGUL. Pg. 149 - 167
18.
N.p., System Implementation, 2014. [Online]:
http://web.simmons.edu/~benoit/lis486/SystemsImplementation.html
19.
N.p., System Implementation, 2014. [Online]:
http://www.uky.edu/~dsianita/695A&D/lecture5.html
20.
Oxford Dictionaries, 2013. Definition of Library in English,
Oxford University Press. [Online]:
http://oxforddictionaries.com/definition/english/library
21.
Tan Chaur Chuan, 2010. Library Management System. Final
year project submitted to the Department of School of Arts and
Science, Campbell University, U.S.A
22.
Wikipedia. Wikimedia Foundation (2013), Library [Online]:
http://en.wikipedia.org/wiki/Library
23.
[Online]: http://en.wikipedia.org/wiki/Library_management
24.
Wikipedia. Wikimedia Foundation (2013), Library Catalog
[Online]: http://en.wikipedia.org/wiki/Library_catalog
25.
Wikipedia. Wikimedia Foundation (2013), Online Public Access
Catalog [Online]:
76
http://en.wikipedia.org/wiki/Online_Public_Access_Catalog
26.
Wikipedia. Wikimedia Foundation (2013), Library Management
System [Online]: http://en.wikipedia.org/wiki/Library_management_system
27.
Wikipedia. Wikimedia Foundation (2013), System Design
[Online]: http://en.wikipedia.org/wiki/System_design
77
System;
System.Collections.Generic;
System.Linq;
System.Text;
System.Web;
System.Web.UI;
System.Web.UI.WebControls;
DotNetNuke.Entities.Modules;
DotNetNuke.Entities.Users;
DotNetNuke.Common;
System.Data;
BEL;
BLL;
Utilities;
DotNetNuke.Security.Membership;
DotNetNuke.Security;
DotNetNuke.Security.Roles;
System.Net.Mail;
System.IO;
System.Drawing;
}
}
catch (Exception ex)
{
ErrorMgt.WriteLog(ex);
ClosePanels();
messagePanel.Visible = true;
msgLb.ForeColor = System.Drawing.Color.Red;
msgLb.Text = "An error occured. Please contact administrator if error persists";
}
//Resetting DropDown Lists
public void ResetDropDownList()
{
if(userCategoryDropDown.SelectedValue == "1")
{
studentCollegeDropDown.SelectedIndex = 0;
studentDepartmentDropDown.SelectedIndex = 0;
studentDepartmentDropDown.Enabled = false;
levelDropDown.SelectedIndex = 0;
yoaDropDown.SelectedIndex = 0;
}
else if (userCategoryDropDown.SelectedValue == "2")
{
staffCollegeDropDown.SelectedIndex = 0;
staffDepartmentDropDown.SelectedIndex = 0;
staffDepartmentDropDown.Enabled = false;
statusDropDownList.SelectedIndex = 0;
yoeDropDown.SelectedIndex = 0;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ClosePanels();
messagePanel.Visible = true;
generalDetailsPanel.Visible = true;
studentCollegeDropDown.DataSource = (DataTable)UserBLL.LoadCollege().ReturnObject;
studentCollegeDropDown.DataTextField = "college_name";
studentCollegeDropDown.DataValueField = "college_id";
studentCollegeDropDown.DataBind();
staffCollegeDropDown.DataSource = (DataTable)UserBLL.LoadCollege().ReturnObject;
staffCollegeDropDown.DataTextField = "college_name";
staffCollegeDropDown.DataValueField = "college_id";
staffCollegeDropDown.DataBind();
}
else
{
if (Session["imagepath"] == null)
{
profilePicture.ImageUrl = "~/images/no_avatar.gif";
}
else
{
profilePicture.ImageUrl = Session["imagepath"].ToString();
}
}
UserBEL.Instance.first_name = firstNameTextBox.Text;
UserBEL.Instance.middle_name = middleNameTextBox.Text;
UserBEL.Instance.last_name = lastNameTextBox.Text;
UserBEL.Instance.gender = (maleRadBtn.Checked) ? "Male" : "Female";
UserBEL.Instance.email = emailTextBox.Text;
UserBEL.Instance.phone_number = personalPhoneNumberTextBox.Text;
UserBEL.Instance.home_phone_number = homePhoneNumberTextBox.Text;
UserBEL.Instance.home_address = addressTextBox.Text;
UserBEL.Instance.cos = categoryRadList.SelectedItem.Text;
UserBEL.Instance.user_id = matricNumberTextBox.Text;
UserBEL.Instance.others = (categoryRadList.SelectedItem.Text == "OTHERS") ?
othersTextBox.Text : null;
UserBEL.Instance.college_id = Convert.ToInt32(studentCollegeDropDown.SelectedValue);
UserBEL.Instance.department_id =
Convert.ToInt32(studentDepartmentDropDown.SelectedValue);
UserBEL.Instance.library_department = null;
UserBEL.Instance.user_status = null;
UserBEL.Instance.yoe = null;
UserBEL.Instance.user_level = Convert.ToInt32(levelDropDown.SelectedValue);
UserBEL.Instance.yoa = Convert.ToInt32(yoaDropDown.SelectedValue);
UserBEL.Instance.hostel = hallTextBox.Text;
UserBEL.Instance.room_number = roomNumberTextBox.Text;
UserBEL.Instance.nos = nosRadList.SelectedItem.Text;
UserBEL.Instance.user_picture = profilePicture.ImageUrl;
UserBEL.Instance.dor = dorLabel.Text;
UserBEL.Instance.user_category = userCategoryDropDown.SelectedItem.Text.ToString();
OperationResultInfo result = UserBLL.AddUser(UserBEL.Instance.first_name,
UserBEL.Instance.middle_name,
UserBEL.Instance.last_name, UserBEL.Instance.gender,
UserBEL.Instance.phone_number,
UserBEL.Instance.email, UserBEL.Instance.home_address,
UserBEL.Instance.home_phone_number, UserBEL.Instance.user_picture,
UserBEL.Instance.college_id, UserBEL.Instance.department_id,
UserBEL.Instance.library_department,
UserBEL.Instance.user_level, UserBEL.Instance.user_status,
UserBEL.Instance.user_category,
UserBEL.Instance.user_id, UserBEL.Instance.cos, UserBEL.Instance.nos,
UserBEL.Instance.others,
UserBEL.Instance.yoe,
UserBEL.Instance.yoa, UserBEL.Instance.dor,
UserBEL.Instance.hostel, UserBEL.Instance.room_number);
Session.Clear();
Session.Abandon();
switch (result.Status)
{
case 100:
CreatePortalUser();
ClosePanels();
messagePanel.Visible = true;
generalDetailsPanel.Visible = true;
studentPanel.Visible = true;
msgLb.ForeColor = System.Drawing.Color.Green;
msgLb.Text = "Registration Completed successfully !!!"+ "</br>" +
Session["msg"].ToString();
TransactionLog.Instance.WriteLog(10, dorLabel.Text, DateTime.Now.ToShortTimeString(),
UserInfo.Username, UserInfo.DisplayName,
UserBEL.Instance.first_name, null, null, null);
break;
case -100:
ClosePanels();
messagePanel.Visible = true;
generalDetailsPanel.Visible = true;
studentPanel.Visible = true;
msgLb.ForeColor = System.Drawing.Color.Red;
msgLb.Text = "User ID already in use !!!";
ResetControls(Page.Controls);
ResetDropDownList();
break;
case -99:
ClosePanels();
messagePanel.Visible = true;
generalDetailsPanel.Visible = true;
studentPanel.Visible = true;
msgLb.ForeColor = System.Drawing.Color.Red;
msgLb.Text = "An error occured will processing request. Contact Administrator"+ "</br>"
+ Session["msg"].ToString();;
ResetControls(Page.Controls);
ResetDropDownList();
break;
}
}
catch (Exception ex)
{
ErrorMgt.WriteLog(ex);
ClosePanels();
messagePanel.Visible = true;
generalDetailsPanel.Visible = true;
msgLb.ForeColor = System.Drawing.Color.Red;
msgLb.Text = "An error occured will processing request. Contact Administrator";
}
}
//Saving Staff Details
protected void staffRegisterBtn_Click(object sender, EventArgs e)
{
try
{
UserBEL.Instance.first_name = firstNameTextBox.Text;
UserBEL.Instance.middle_name = middleNameTextBox.Text;
UserBEL.Instance.last_name = lastNameTextBox.Text;
UserBEL.Instance.gender = (maleRadBtn.Checked) ? "Male" : "Female";
UserBEL.Instance.email = emailTextBox.Text;
UserBEL.Instance.phone_number = personalPhoneNumberTextBox.Text;
UserBEL.Instance.home_phone_number = homePhoneNumberTextBox.Text;
UserBEL.Instance.home_address = addressTextBox.Text;
UserBEL.Instance.user_status = statusDropDownList.SelectedValue;
UserBEL.Instance.cos = cosRadList.SelectedItem.Text;
UserBEL.Instance.user_id = staffIDTextBox.Text;
UserBEL.Instance.others = (cosRadList.SelectedItem.Text == "OTHERS") ? othersTextBox2.Text
: null;
UserBEL.Instance.college_id = Convert.ToInt32(staffCollegeDropDown.SelectedValue);
UserBEL.Instance.department_id =
Convert.ToInt32(staffDepartmentDropDown.SelectedValue);
UserBEL.Instance.library_department = null;
UserBEL.Instance.user_level = null;
UserBEL.Instance.yoa = null;
UserBEL.Instance.hostel = null;
UserBEL.Instance.room_number = null;
UserBEL.Instance.nos = null;
UserBEL.Instance.user_status = statusDropDownList.SelectedValue;
UserBEL.Instance.yoe = Convert.ToInt32(yoeDropDown.SelectedValue);
UserBEL.Instance.user_picture = profilePicture.ImageUrl;
UserBEL.Instance.dor = staffDorLb.Text;
UserBEL.Instance.user_category = userCategoryDropDown.SelectedItem.Text.ToString();
//User Category
protected void userCategoryDropDown_SelectedIndexChanged(object sender, EventArgs e)
{
if (userCategoryDropDown.SelectedItem.Text == "---Select---")
{
ClosePanels();
generalDetailsPanel.Visible = true;
}
else if (userCategoryDropDown.SelectedItem.Text == "Student")
{
ClosePanels();
generalDetailsPanel.Visible = true;
studentPanel.Visible = true;
firstNameValidator.ValidationGroup = "StudentDetails";
middleNameValidator.ValidationGroup = "StudentDetails";
lastNameValidator.ValidationGroup = "StudentDetails";
addressValidator.ValidationGroup = "StudentDetails";
emailValidator.ValidationGroup = "StudentDetails";
homePhoneNumberValidator.ValidationGroup = "StudentDetails";
personalPhoneNumberValidator.ValidationGroup = "StudentDetails";
dorLabel.Text = DateTime.Today.ToString("dd/MM/yyyy");
}
else if (userCategoryDropDown.SelectedItem.Text == "Teaching Staff")
{
ClosePanels();
generalDetailsPanel.Visible = true;
staffPanel.Visible = true;
firstNameValidator.ValidationGroup = "StaffDetails";
middleNameValidator.ValidationGroup = "StaffDetails";
lastNameValidator.ValidationGroup = "StaffDetails";
addressValidator.ValidationGroup = "StaffDetails";
emailValidator.ValidationGroup = "StaffDetails";
homePhoneNumberValidator.ValidationGroup = "StaffDetails";
personalPhoneNumberValidator.ValidationGroup = "StaffDetails";
staffDorLb.Text = DateTime.Today.ToString("dd/MM/yyyy");
}
}
protected void studentCancelBtn_Click(object sender, EventArgs e)
{
Response.Redirect(Globals.NavigateURL());
}
protected void staffCancelBtn_Click(object sender, EventArgs e)
{
Response.Redirect(Globals.NavigateURL());
}
protected void studentCollegeDropDown_SelectedIndexChanged(object sender, EventArgs e)
{
if (studentCollegeDropDown.SelectedValue != "0")
{
studentDepartmentDropDown.Enabled = true;
int college_id = Convert.ToInt32(studentCollegeDropDown.SelectedValue);
DataTable table = (DataTable)UserBLL.LoadDepartment(college_id).ReturnObject;
studentDepartmentDropDown.Items.Clear();
studentDepartmentDropDown.DataSource = table;
studentDepartmentDropDown.DataTextField = "department_name";
studentDepartmentDropDown.DataValueField = "department_id";
studentDepartmentDropDown.DataBind();
studentDepartmentDropDown.Items.Insert(0, new ListItem("---Select---", "0"));
}
else
{
studentDepartmentDropDown.Enabled = false;
studentDepartmentDropDown.SelectedValue = "0";
}
}
protected void staffCollegeDropDown_SelectedIndexChanged(object sender, EventArgs e)
{
if (staffCollegeDropDown.SelectedValue != "0")
{
staffDepartmentDropDown.Enabled = true;
int college_id = Convert.ToInt32(staffCollegeDropDown.SelectedValue);
DataTable table = (DataTable)UserBLL.LoadDepartment(college_id).ReturnObject;
staffDepartmentDropDown.Items.Clear();
staffDepartmentDropDown.DataSource = table;
staffDepartmentDropDown.DataTextField = "department_name";
staffDepartmentDropDown.DataValueField = "department_id";
staffDepartmentDropDown.DataBind();
staffDepartmentDropDown.Items.Insert(0, new ListItem("---Select---", "0"));
}
else
{
staffDepartmentDropDown.Enabled = false;
staffDepartmentDropDown.SelectedValue = "0";
}
//Resetting Controls
protected void studentResetBtn_Click(object sender, EventArgs e)
{
ResetControls(Page.Controls);
ResetDropDownList();
Session.Clear();
Session.Abandon();
}
//Resetting Controls
protected void staffResetBtn_Click(object sender, EventArgs e)
{
ResetControls(Page.Controls);
ResetDropDownList();
Session.Clear();
Session.Abandon();
}
/*Creating DNN User*/
public void CreatePortalUser()
{
UserInfo objUser = new UserInfo();
string password = UserController.GeneratePassword(8).ToString();
var roleCtl = new RoleController();
objUser.FirstName = firstNameTextBox.Text;
objUser.LastName = lastNameTextBox.Text;
objUser.IsSuperUser = false;
objUser.Username = (userCategoryDropDown.SelectedValue == "1") ?
matricNumberTextBox.Text :
staffIDTextBox.Text;
objUser.DisplayName = firstNameTextBox.Text + " " + lastNameTextBox.Text;
objUser.Email = emailTextBox.Text;
objUser.PortalID = this.PortalId;
objUser.Membership.Password = password;
objUser.Membership.UpdatePassword = true; //enables users to change their password
objUser.Membership.Approved = true;
objUser.Membership.IsOnLine = false;
UserCreateStatus objCreateStatus = UserController.CreateUser(ref objUser);
RoleInfo newRole = roleCtl.GetRoleByName(PortalId, "Library Users");
roleCtl.AddUserRole(PortalId, objUser.UserID, newRole.RoleID, DateTime.MinValue);
StringBuilder message = new StringBuilder();
message.AppendFormat("<table width='400px' align='center'>");
message.AppendFormat("<tr><td colspan='2' align='center'>User Details</td></tr>");
message.AppendFormat("<tr><td align='right'>First Name:</td><td align='left'>" +
objUser.FirstName + "</td></tr>");
message.AppendFormat("<tr><td align='right'>Last Name:</td><td align='left'>" +
objUser.LastName + "</td></tr>");
message.AppendFormat("<tr><td align='right'>Username:</td><td align='left'>" +
objUser.Username + "</td></tr>");
message.AppendFormat("<tr><td align='right'>Password:</td><td align='left'>" +
objUser.Membership.Password + "</td></tr>");
message.AppendFormat("</table>");
string msgBody = message.ToString();
bool mailStatus = SendMail.SendMailToUser(objUser.Email, "Registration Details", msgBody);
if (mailStatus)
{
Session["msg"] = " Mail sent successfully !!!";
}
else
{
Session["msg"] = " Failed to send mail. Please check your network connectivity !!!";
}
}
//Sending Mail To User
public void SendMailToUser(string user_email, string mailBody)
{
try
{
MailMessage mailMessage = new MailMessage("dnnapplicationnorply@gmail.com",
user_email);
mailMessage.Subject = "Registration Details";
mailMessage.IsBodyHtml = true;
mailMessage.Body = mailBody;
SmtpClient smtpClient = new SmtpClient();
smtpClient.Send(mailMessage);
}
catch (Exception ex)
{
ErrorMgt.WriteLog(ex);
msgLb.ForeColor = System.Drawing.Color.Red;
msgLb.Text = "Failed to send mail. Please check your network connectivity !!!";
}
}
protected void cosRadList_SelectedIndexChanged(object sender, EventArgs e)
{
if (cosRadList.SelectedItem.Text == "OTHERS")
{
othersTextBox2.Enabled = true;
}
else
{
othersTextBox2.Enabled = false;
}
}
BOOK REGISTRATION
using
using
using
using
using
using
using
using
using
using
using
using
using
using
using
System;
System.Collections.Generic;
System.Linq;
System.Web;
System.Web.UI;
System.Drawing;
System.Web.UI.WebControls;
DotNetNuke.Entities.Modules;
DotNetNuke.Entities.Users;
BEL;
BLL;
Utilities;
DotNetNuke.Common;
System.Data;
System.IO;
disciplineDropDown.DataSource = (DataTable)BookBLL.LoadDiscipline().ReturnObject;
disciplineDropDown.DataTextField = "discipline";
disciplineDropDown.DataValueField = "discipline_id";
disciplineDropDown.DataBind();
}
protected void addBookBtn_Click(object sender, EventArgs e)
{
try
{
BookBEL.Instance.book_title = bookTitleTextBox.Text;
BookBEL.Instance.edition = editionTextBox.Text;
BookBEL.Instance.author = authorTextBox.Text;
BookBEL.Instance.publisher = publisherTextBox.Text;
BookBEL.Instance.yop = Convert.ToInt32(yopTextBox.Text);
BookBEL.Instance.pop = popTextBox.Text;
BookBEL.Instance.copies = Convert.ToInt32(copiesTextBox.Text);
BookBEL.Instance.subject = subjectsTextBox.Text;
BookBEL.Instance.acquisition_type = Convert.ToInt32(acquisitionDropDown.SelectedValue);
if (acquisitionDropDown.SelectedIndex != 0)
{
BookBEL.Instance.price = null;
}
else
{
BookBEL.Instance.price = Convert.ToInt32(priceTextBox.Text);
}
BookBEL.Instance.cataloger = userLiteral.Text;
BookBEL.Instance.thumbnail = (bookThumbNail.ImageUrl == "~/book_thumbnail/no
thumbnail.png") ? "~/book_thumbnail/no image.png" : bookThumbNail.ImageUrl;
BookBEL.Instance.isbn = isbnTextBox.Text;
BookBEL.Instance.book_description = descriptionTextBox.Text;
BookBEL.Instance.discipline_id = Convert.ToInt32(disciplineDropDown.SelectedValue);
BookBEL.Instance.subDiscipline_id = Convert.ToInt32(subDisciplineDropDown.SelectedValue);
BookBEL.Instance.book_type = Convert.ToInt32(bookTypeDropDown.SelectedValue);
BookBEL.Instance.book_location = Convert.ToInt32(bookLocationDropDown.SelectedValue);
BookBEL.Instance.book_label = barcodeTextBox.Text;
BookBEL.Instance.vetted_by = vetTextBox.Text;
OperationResultInfo result = BookBLL.AddBooks(BookBEL.Instance.book_title,
BookBEL.Instance.edition, BookBEL.Instance.author, BookBEL.Instance.publisher,
BookBEL.Instance.yop,
BookBEL.Instance.pop,
BookBEL.Instance.copies, BookBEL.Instance.subject,
BookBEL.Instance.acquisition_type, BookBEL.Instance.price, BookBEL.Instance.cataloger,
BookBEL.Instance.thumbnail, BookBEL.Instance.isbn,
BookBEL.Instance.book_description, BookBEL.Instance.discipline_id,
BookBEL.Instance.subDiscipline_id, BookBEL.Instance.book_type,
BookBEL.Instance.book_location,
BookBEL.Instance.book_label, BookBEL.Instance.vetted_by);
switch(result.Status)
case 100:
msgPanel.Visible = true;
msgLabel.ForeColor = Color.Green;
msgLabel.Text = "Book registration completed successfully";
TransactionLog.Instance.WriteLog(20, DateTime.Now.ToString("dd/MM/yyyy"),
DateTime.Now.ToShortTimeString(), UserInfo.Username,
UserInfo.DisplayName, null, BookBEL.Instance.book_title, null, null);
Session.Clear();
Session.Abandon();
break;
case -100:
msgPanel.Visible = true;
msgLabel.ForeColor = Color.Red;
msgLabel.Text = "Book title already exist";
break;
case -99:
msgPanel.Visible = true;
msgLabel.ForeColor = Color.Red;
msgLabel.Text = "An error occured will processing request. Contact Administrator !!!";
break;
}
}
catch(Exception ex)
{
ErrorMgt.WriteLog(ex);
msgPanel.Visible = true;
msgLabel.ForeColor = Color.Red;
msgLabel.Text = "An error occured while registering the book. Contact Administrator !!!";
}
}
protected void cancelBtn_Click(object sender, EventArgs e)
{
Response.Redirect(Globals.NavigateURL());
}
protected void resetBtn_Click(object sender, EventArgs e)
{
ResetControls(Page.Controls);
Session.Clear();
Session.Abandon();
}
protected void disciplineDropDown_SelectedIndexChanged(object sender, EventArgs e)
{
if(disciplineDropDown.SelectedValue != "0")
{
subDisciplineDropDown.Enabled = true;
subDisciplineDropDown.Items.Clear();
subDisciplineDropDown.DataSource =
(DataTable)BookBLL.LoadSubDiscipline(Convert.ToInt32(disciplineDropDown.SelectedValue)).ReturnOb
ject;
subDisciplineDropDown.DataTextField = "sub-discipline";
subDisciplineDropDown.DataValueField = "sub-discipline_id";
subDisciplineDropDown.DataBind();
subDisciplineDropDown.Items.Insert(0, new ListItem("---Select---", "0"));
}
else
{
subDisciplineDropDown.Enabled = false;
subDisciplineDropDown.SelectedValue = "0";
} }
protected void acquisitionDropDown_SelectedIndexChanged(object sender, EventArgs e)
if (acquisitionDropDown.SelectedItem.Text == "Purchase")
{
priceTextBox.Enabled = true;
priceValidator.Enabled = true;
}
else
{
priceTextBox.Enabled = false;
priceValidator.Enabled = false;
}
DotNetNuke.Entities.Modules;
System;
System.Collections.Generic;
System.Linq;
System.Data;
System.Drawing;
System.Web;
System.Web.UI;
System.Web.UI.WebControls;
BLL;
Utilities;
ErrorMgt.WriteLog(ex);
messagePanel.Visible = true;
messageLabel.ForeColor = Color.Red;
messageLabel.Text = "An error occured. Contact Administrator if error persists";
}
protected void studentRecordExportBtn_Click(object sender, EventArgs e)
{
try
{
GridViewToExcel.ExportToExcel(studentFineGrid, "Student Fine Records");
}
catch (Exception ex)
{
ErrorMgt.WriteLog(ex);
messagePanel.Visible = true;
messageLabel.ForeColor = Color.Red;
messageLabel.Text = "An error occured. Contact Administrator if error persists";
}
}
@cos VARCHAR(50),
@nos VARCHAR(50),
@others VARCHAR(50),
@yoe INT,
@yoa INT,
@dor VARCHAR(50),
@hostel VARCHAR(50),
@room_number NCHAR(10)
)
AS
BEGIN
BOOK REGISTRATION
ALTER PROCEDURE [dbo].[LMS_AddBooks]
(
@book_title VARCHAR(MAX),
@edition VARCHAR(10),
@author VARCHAR(50),
@publisher VARCHAR(50),
@yop INTEGER,
@pop VARCHAR(50),
@copies INTEGER,
@subjects VARCHAR(50),
@acquisition_type INTEGER,
@price INTEGER,
@name_of_cataloger VARCHAR(50),
@book_thumbnail VARCHAR(MAX),
@isbn VARCHAR(50),
@description VARCHAR(MAX),
@discipline_id INTEGER,
@subDiscipline_id INTEGER,
@book_type INTEGER,
@book_location INTEGER,
@barcode_label VARCHAR(50),
@vetted_by VARCHAR(50)
)
AS
BEGIN