On "Departmental Library Management System": Project Report
On "Departmental Library Management System": Project Report
On
“Departmental Library
Management System”
Submitted for partial fulfillment of the degree of
BACHELOR OF ENGINEERING
(Computer Science and Engineering )
By
Kunal Tambekar
Lalit Akhare
Mahendra Heda
Mayank Lal
B.E. 6th Semester CSE
Department of Computer Science & Engineering
“Departmental Library
Management System”
is a bonafide work and it is submitted to the Rastrasant Tukdoji Maharaj Nagpur
University, Nagpur.
By
Kunal Tambekar
Lalit Akhare
Mahendra Heda
Mayank Lal
in the partial fulfillment of the degree of BACHELOR OF ENGINEERING in
Computer Science and Engineering, during the academic year 2009-2010 under my
guidance.
Guide
Er. Avinash Wadhe
Head, Department of Computer Sc.& Engg.
Er.Shrawankar Mam
Department of Computer Sc.& Engg. G. H. Raisoni College of Engineering,
PREFACE
This project of “ DEPARTMENTAL LIBRARY” gives us the complete
information about the departmental library. We can enter the record of new
books and retrieve the details of books available in the library. We can issue the
books to the students and maintain their records and can also check how many
books are issued and stock available in the library. In this project we can
maintain the late fine of students who returns the issued books after the due
date.
Throughout the project the focus has been on presenting information and
comments in an easy and intelligible manner. The project is very useful for
those who want to know about DEPARTMENTAL LIBRARY System.
ACKNOWLEDGEMENT
Acknowledgement:
I owe a great many thanks to a great many people who helped and
project for guiding and correcting various documents of mine with attention and
care. He has taken pain to go through the project and make necessary correction
as
I would also thank my Institution and my faculty members without whom this
project would have been a distant reality. I also extend my heartfelt thanks to
my family and well-wishers.
Projectee:
Kunal Tambekar
Lalit Akhare
Mahendra Heda
1.INTRODUCTION 2
2.PROCESS DESCRIPTION 4
3.TABLE DESIGN 7
- User ..8
- B_d ..8
- Issue ..9
- DbIssue ..9
4.PROJECT DETAIL 10
5.FORM CODING 21
- Login ..22
- Main ..24
- AddBook ..27
- UpdateDelete ..29
- Search ..32
- Issue ..34
- Return ..37
6. CONCLUSION 39
7. BIBLIOGRAPHY 41
INTRODUCTION
Introduction:
Need for developing a library module was a conventional way to manage the all the
details and database about the books manually was a little bit difficult task and even
more difficult was searching a single book in the large database.
Library module is a fully functional library management tool loaded with detailed
options for entering the information about the books.
Issues and returns are also managed without any user intervention.
All the operator needs is to input the details of the book or the name of the student to
whom the book issued.
Moreover, the system also supports definition of a Library Fine policy so that the
books returned late are fined according to the policies in control of a higher authority.
Such type of system is very useful in various organizations where data or record is to
be managed.
PROCESS
DESCRIPTION
The DEPARTMENTAL LIBRARY System is designed & developed for a receipt and
issuance of books in the library along with the student’s details. The books received in the
library are entered in Books Entry form and the new student is entered in the student entry
form. When the student wants to get the desired book the same is issued on the availability
basis to the student. The issuance and due date for the returning of the book is also entered
into the Book Issue form under third menu Book Issue. The student has to pay the fine if any
on the basis of no. of days delayed deposit of the book in the library.
FRONT END: C#
C# is Graphical Rapid Application Development (RAD) tool that aims at providing the
user with a graphical interface that is intuitive and easy to use. C# is a popular programming
tool that can be used to write any kind of visual application ranging from a game to a
database management application. Now-a-days C# is being widely used for developing
different types of applications and performing various types of jobs. With C#, one can
automate everyday tasks, add custom required features and functions to suit ones need, and
create applications, which makes task easier.
A C# programming environment provides all features that are required to develop a graphical
user interface as ready to use components. The C# programming environment is also called
Point and Click environment. The programmer does not have to write the code to create and
display commonly required user-friendly features each time around.
When the programmer needs a specific user interface feature such as a button, he selects the
appropriate ready to use component provided by the Visual programming environment. These
components can be moved, resized and renamed as required. So a Visual programming
environment automates the process of creating the user interface by designing Visual
interface using the ready to use components. In addition, it also provides the means of
associating the user written logically defined code with the components used in a project.
Advantages of C#
The Visual programming environment is also called Point and Click environment.
The programmer does not have to write the code to create and display commonly required
user-friendly features each time around.
When the programmer needs a specific user interface features such as a button, he selects the
appropriate ready to use component provided by the Visual Programming environment.
These components can be moved, resized and renamed as required. Also there is no
restriction on number of controls placed in the project.
The interface components provided by the Visual programming environment has some code
built into them. For e.g., a button ‘ Knows’ when it has been clicked upon and then when the
event occurs, it executes the appropriate code.
TABLE DESIGN
S.No Field Name Data Type
.
1 Name Varchar
2 College Id Int
3 Designation Varchar
4 Contact No Int
5 Username Varchar
6 Password Varchar
Table: User
Table :B_d
Table :Issue
S.No Field Name Data Type
.
1 Date Date/Time
2 BookId Int
3 IssuerId Int
Table: dbissue
PROJECT
DETAILS
FLOWCHARTS:
Control Flow:
The above flowchart describes the flow of control in the application and also what different
modules are involved in the application.
Class Diagram:
This is Main Form designed for selection of the different Menus. Following menu options
have been provided in this Home Form:-
1. Books Entry
2. User Entry
3. Issue of Books
a) Issue of Books
b) Return of the Books
4. Search Book
5. Reports
6. Exit
Main Form
By clicking the Add Book Menu of the Main form this form can be displayed for the entry of
new books in the library. Following Text Boxes have been provided for the entry of the
books related information:-
1. Book Id
2. Book Name
3. Author
4. Publication
5. Cost
6. Quantity
7. Subject
8. Cost
In addition to above different Update, Delete, Add, Search, Refresh and Exit command
buttons have been provided in the form.
Update Delete Form
By clicking the second menu “ User Entry “ this form can be obtained for the entry of the
new user coming to the library as user account. The following provisions have been provided
in this form:-
1. Name
2. College Id
3. Designation
4. Contact No.
5. Username
6. Password
Sign Up
In addition to above different Update, Delete, Add, Search, Refresh and Exit command
buttons have been provided in the form.
This form can be obtained by clicking the “Issues of Books” under the third menu “Issues of
Books” for issuing a particular book available in the library along with the issue and due date.
The following text boxes have been provided for entry of Issuance of the Book.
Issue Book Form
In addition to above different Update, Delete, Add, Search, Refresh and Exit command
buttons have been provided in the form.
This form can be obtained by clicking the “ Books Return ” under the third menu “Issues of
Books” for returning a particular book issued to user from the library along with the issue ,
due date and return date with fine if any. The following text boxes have been provided for
entry of return of the Books.
1. Book Id
Return Book Form
In addition to above different Update, Delete, Add, Search, Refresh and Exit command
buttons have been provided in the form.
In this Library Management Software , Search engine for searching of books is also
provided,which makes issue of books further simplified for the user.
1. By Author Name
2. By Publication Name
3. By Book Name
4. By Book Id
5. By Cost
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace project
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
namespace project
{
public partial class mainform : Form
{
public mainform()
{
InitializeComponent();
}
private void ADDBOOKToolStripMenuItem_Click(object sender, EventArgs
e)
{
addbook frm = new addbook();
frm.ShowDialog();
}
private void uPDATEDELETEBOOKToolStripMenuItem_Click(object sender,
EventArgs e)
{
updatedelete frm = new updatedelete();
frm.ShowDialog();
}
private void aUTHORToolStripMenuItem_Click(object sender, EventArgs e)
{
searchbyauthor frm = new searchbyauthor();
frm.ShowDialog();
}
private void nAMEToolStripMenuItem_Click(object sender, EventArgs e)
{
searchbyname frm = new searchbyname();
frm.ShowDialog();
}
private void bOOKIDToolStripMenuItem_Click(object sender, EventArgs e)
{
searchbyid frm = new searchbyid();
frm.ShowDialog();
}
private void eXITToolStripMenuItem_Click(object sender, EventArgs e)
{
this.Close();
}
private void pUBLICATIONToolStripMenuItem_Click(object sender, EventArgs e)
{
searchbypublication frm = new searchbypublication();
frm.ShowDialog();
}
private void hELPToolStripMenuItem_Click(object sender, EventArgs e)
{
signup frm = new signup();
frm.ShowDialog();
}
namespace project
{
public partial class addbook : Form
{
public addbook()
{
InitializeComponent();
}
private void Add_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=.\\sqlexpress;Initial
Catalog=library;Integrated Security=True");
try
{
SqlCommand cmd = new SqlCommand("insert into b_d values('" + textBox1.Text
+ "','" + textBox2.Text + "','" + textBox3.Text + "','" + textBox4.Text + "'," + textBox5.Text +
"," + textBox6.Text + ",'" + textBox7.Text + "','" + textBox8.Text + "')", con);
con.Open();
cmd.ExecuteNonQuery();
MessageBox.Show("Record Saved");
}
namespace project
{
public partial class updatedelete : Form
{
public updatedelete()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection("Data Source=.\\sqlexpress;Initial
Catalog=library;Integrated Security=True");
groupBox1.Visible = false;
MessageBox.Show("enter correct id");
}
}
con.Close();
}
namespace project
{
public partial class searchbyname : Form
{
public searchbyname()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection("Data Source=.\\sqlexpress;Initial
Catalog=library;Integrated Security=True");
private void Search_Click(object sender, EventArgs e)
{
comboBox1.Items.Clear();
textBox4.Text = "";
textBox5.Text = "";
textBox6.Text = "";
textBox7.Text = "";
textBox2.Text = "";
SqlCommand cmd = new SqlCommand("select * from b_d where bookname like '" +
textBox1.Text + "'", con);
con.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
while (dr.Read())
{
comboBox1.Items.Add(dr[2].ToString());
}
con.Close();
}
namespace project
{
public partial class ISSUE_BOOK : Form
{
public ISSUE_BOOK()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection("Data Source=.\\sqlexpress;Initial
Catalog=library;Integrated Security=True");
con.Close();
database();
update();
}
Return Form:
namespace project
{
public partial class RETURN_BOOK : Form
{
public RETURN_BOOK()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection("Data Source=.\\sqlexpress;Initial
Catalog=library;Integrated Security=True");
After we have completed the project we are sure the problems in the existing system would
overcome. The “DEPARTMENTAL LIBRARY 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 DEPARTMENTAL LIBRARY will not only improves the efficiency
but will also reduce human stress thereby indirectly improving human recourses.
BIBLIOGRAPHY
Books :
References :
www.freshersworld.com
www.google.com
www.123eng.com