Professional Documents
Culture Documents
net-project
This web application is used to handle typical operations in a library system.
This application is developed for librarians. Issuing book, returning book, adding member, and
searching for books are some of the major operations of this application.
ASP.NET 2.0
C# language
File Structure
The following is the directory structure of this application.
exam
|- App_Data
|
|-Database.mdf
|- App_Code
|
|-Database.cs
|- App_Themes
|
|-style.css
|- all
|
|-LibraryService.asmx
|- photos (this directory contains .jpg files of members)
|- default.aspx
|- login.aspx
|- addtitle.aspx
|- addmember.aspx
|- Masterpage.master
|- memberinfo.aspx
|- members.aspx
|- chanepassword.aspx
|- deletemember.aspx
|- issue.aspx
|- returnbook.aspx
|- memberslist.aspx
|- searchbooks.aspx
|- web.config
|- web.sitemap
|- updatemembers.aspx
|- logout.aspx
Operation
Files
Login
login.aspx
Logout
logout.aspx
Delete Member
deletemember.aspx
Masterpage.master
Home Page
Default.aspx
Change password
changepassword.aspx
Add Title
addtitle.aspx
Add Member
addmember.aspx
Iseue of book
issue.aspx
Return of book
returnbook.aspx
Search books
searchbooks.aspx
Update Members
updatemembers.aspx
books.aspx
Structure of Tables
USERS Table
uname - varchar(10)
pwd - varchar(10)
fullname - varchar(30)
SUBJECTS Table
subcode - varchar(10)
subname - varchar(30)
di - datetime
MEMBERS Table
mid - int
mname - varchar(30)
depositamt - int
djoin - datetime
email - varchar(40)
occupation - varchar(50)
TITLES Table
tid - int
title - varchar(30)
subcode - varchar(10)
authors - varchar(50)
price - int
dp - datetime
publishers - varchar(30)
status - char(1)
ISSUES Table
tid - int
mid - int
di - datetime
issuedby - varchar(10)
RETURNS Table
tid - int
mid - int
di - datetime
dr - datetime
issuedby - varchar(10)
returnedto - varchar(10)
fineamt - int
54.
else 0
55.
end
56. from issues where tid = @tid;
57.
58. select @mid = mid, @di = di, @issuedby=issuedby
= 'a')