SlideShare une entreprise Scribd logo
1  sur  4
Library Application – Windows Forms Project


Objective: Create a Windows forms based application to support the principal functions of a lending
library’s day-to-day operations. The end user of the application will be the librarian.

Summary: This project focuses on building the windows forms user interface layer, the business tier
layer and the data access tier layer. It demonstrates the .NET techniques listed below:

   •   User input validation, using error provider and various event handlers.
   •   Data binding to a data grid control and related manipulation.
   •   Middle tier business tier for scalability.
   •   MDI application format.
   •   Effective exception handling.
   •   Regular expressions are used for input validation.
   •   Stored procedures written in T-SQL (SQL 2005)
   •   Custom messages on SQL level implemented.
   •   Stored procedures accessed through
       System.Data.SqlClient.
   •   Entities for library operations created and
       implemented.
   •   Result sets from the database retrieved and
       processed.
   •   Strong named DataSets created and manipulated.

The basic functions of the application are as follows:
   • Add new members to the library. A differentiation
      is made between adult and juvenile members.
      Adult members are 18 or older.
   • View member information such as address, phone
      number, membership expiration date, and books
      currently checked out.
   • Check out available books.
   • Check in books.

It was created as a multi-tier application with the following
 layers:
    • User interface – (WinClient)
    • Business tier – (LibraryBusiness and Entities)
    • Data Access layer – (DataAccess)
    • SQL Server DB – Location for all data

The application’s Solution Explorer can be seen to the
right. The user interface handles all data entry from the
librarian. The data is validated by the business tier before
proceeding to the database via the data access layer. All
library data resides in a SQL Server database.
Screen shots of the application in use



Member information can be
retrieved by entering the member’s
ID number on the member
information screen and clicking the
Get Member button. The data entry
is validated to accept only an
integer by means of a regular
expression used in a static validator
method in the business tier. The
member’s information is returned to
the form and checked out items are
displayed on the DataGrid control
from a DataSet. This DataSet is
created from the data access layer
by means of an SQL stored
procedure. If no member if found
the librarian is warned with the
status strip control.




 Items can be also be checked
 back in from this window. The
 librarian highlights the items from
 the DataGrid and clicks the Check
 In Selected Items button. Multiple
 items can be checked in at once.
 A DataSet containing each of the
 selected items is created and sent
 to the data access layer where a
 stored procedure is run against
 the database. If the DataGrid is
 empty and the button is clicked
 the status strip control reminds the
 user that no items have been
 selected to be checked in. If the
 button is clicked and the DataGrid
 is filled with no selected items the
 status strip control will provide the
 same response.
An item can be checked out from the member information screen by selecting Check Book Out from
the Member Services menu. Input the ISBN and copy number in the dialog window and click OK.
The librarian is then prompted to verify that the title is correct to proceed with the check out. The
CheckOut stored procedure is accessed through the data access tier to add a record to the loan
table signifying an item has been checked out. This record contains member information, book
information, the check out date, and the check in date. Members are allowed to have 4 items
checked out at any given time. The application is designed to refuse additional check outs. The
application also refuses check outs to patrons with expired memberships.
New members can be
added to the library.
Applicants 18 or older
are considered adults
and need to be enrolled
using the AddAdult
form. First name, last
name, street, city, and
zip code are required
fields and must be
entered with a particular
format. Data entry is
validated through the
business layer before
new members are
added to the database.




 Juvenile members are
 added based on their
 birthdate and
 sponsoring adult
 member. The same
 data entry rules that
 apply to the adult
 apply to the juvenile
 and validation takes
 place from the same
 set of static methods.
 In addition, there must
 be supplied a valid
 adult member ID
 number and a valid
 birthdate or the
 member is not added
 to the database.

Contenu connexe

Similaire à Library Windows Project

Genevieve De La Cruz .Net Portfolio
Genevieve De La Cruz .Net PortfolioGenevieve De La Cruz .Net Portfolio
Genevieve De La Cruz .Net Portfoliogenevievedelacruz
 
Delma Hagen Portfolio
Delma Hagen PortfolioDelma Hagen Portfolio
Delma Hagen Portfoliodelhagen
 
Jeff Huber Portfoilio
Jeff Huber PortfoilioJeff Huber Portfoilio
Jeff Huber PortfoilioJeffHuber
 
E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)Nazmul Hyder
 
Nj 09 Q4 Paul Kadzielawa
Nj 09 Q4 Paul KadzielawaNj 09 Q4 Paul Kadzielawa
Nj 09 Q4 Paul KadzielawaPKadzielawa
 
System design document visa
System design document visaSystem design document visa
System design document visaShaily Dubey
 
Loan Approval Management Java project
Loan Approval Management Java projectLoan Approval Management Java project
Loan Approval Management Java projectTutorial Learners
 
Rinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar15
 
Rinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar15
 
Online shopping ecommerce java project
Online shopping ecommerce java projectOnline shopping ecommerce java project
Online shopping ecommerce java projectTutorial Learners
 
Portfolio
PortfolioPortfolio
Portfoliojcterry
 
System Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaKSystem Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaKShehla Ghori
 
Artificially Intelligent Investment Risk Calculation system based on Distribu...
Artificially Intelligent Investment Risk Calculation system based on Distribu...Artificially Intelligent Investment Risk Calculation system based on Distribu...
Artificially Intelligent Investment Risk Calculation system based on Distribu...iosrjce
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report Surjeet Art
 
Online Voting System-using Advanced Java
Online Voting System-using Advanced JavaOnline Voting System-using Advanced Java
Online Voting System-using Advanced JavaSarthak Srivastava
 

Similaire à Library Windows Project (20)

Genevieve De La Cruz .Net Portfolio
Genevieve De La Cruz .Net PortfolioGenevieve De La Cruz .Net Portfolio
Genevieve De La Cruz .Net Portfolio
 
Delma Hagen Portfolio
Delma Hagen PortfolioDelma Hagen Portfolio
Delma Hagen Portfolio
 
Jeff Huber Portfoilio
Jeff Huber PortfoilioJeff Huber Portfoilio
Jeff Huber Portfoilio
 
E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)
 
Nj 09 Q4 Paul Kadzielawa
Nj 09 Q4 Paul KadzielawaNj 09 Q4 Paul Kadzielawa
Nj 09 Q4 Paul Kadzielawa
 
System design document visa
System design document visaSystem design document visa
System design document visa
 
Loan Approval Management Java project
Loan Approval Management Java projectLoan Approval Management Java project
Loan Approval Management Java project
 
Rinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat Portfolio
 
Rinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat PortfolioRinkeshkumar Bhagat Portfolio
Rinkeshkumar Bhagat Portfolio
 
Online shopping ecommerce java project
Online shopping ecommerce java projectOnline shopping ecommerce java project
Online shopping ecommerce java project
 
fashion
fashionfashion
fashion
 
Portfolio
PortfolioPortfolio
Portfolio
 
System Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaKSystem Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaK
 
Unit ii update
Unit ii updateUnit ii update
Unit ii update
 
D017612529
D017612529D017612529
D017612529
 
Artificially Intelligent Investment Risk Calculation system based on Distribu...
Artificially Intelligent Investment Risk Calculation system based on Distribu...Artificially Intelligent Investment Risk Calculation system based on Distribu...
Artificially Intelligent Investment Risk Calculation system based on Distribu...
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report
 
Group - 9 Final Deliverable
Group - 9 Final DeliverableGroup - 9 Final Deliverable
Group - 9 Final Deliverable
 
Online Voting System-using Advanced Java
Online Voting System-using Advanced JavaOnline Voting System-using Advanced Java
Online Voting System-using Advanced Java
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
 

Dernier

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 

Dernier (20)

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 

Library Windows Project

  • 1. Library Application – Windows Forms Project Objective: Create a Windows forms based application to support the principal functions of a lending library’s day-to-day operations. The end user of the application will be the librarian. Summary: This project focuses on building the windows forms user interface layer, the business tier layer and the data access tier layer. It demonstrates the .NET techniques listed below: • User input validation, using error provider and various event handlers. • Data binding to a data grid control and related manipulation. • Middle tier business tier for scalability. • MDI application format. • Effective exception handling. • Regular expressions are used for input validation. • Stored procedures written in T-SQL (SQL 2005) • Custom messages on SQL level implemented. • Stored procedures accessed through System.Data.SqlClient. • Entities for library operations created and implemented. • Result sets from the database retrieved and processed. • Strong named DataSets created and manipulated. The basic functions of the application are as follows: • Add new members to the library. A differentiation is made between adult and juvenile members. Adult members are 18 or older. • View member information such as address, phone number, membership expiration date, and books currently checked out. • Check out available books. • Check in books. It was created as a multi-tier application with the following layers: • User interface – (WinClient) • Business tier – (LibraryBusiness and Entities) • Data Access layer – (DataAccess) • SQL Server DB – Location for all data The application’s Solution Explorer can be seen to the right. The user interface handles all data entry from the librarian. The data is validated by the business tier before proceeding to the database via the data access layer. All library data resides in a SQL Server database.
  • 2. Screen shots of the application in use Member information can be retrieved by entering the member’s ID number on the member information screen and clicking the Get Member button. The data entry is validated to accept only an integer by means of a regular expression used in a static validator method in the business tier. The member’s information is returned to the form and checked out items are displayed on the DataGrid control from a DataSet. This DataSet is created from the data access layer by means of an SQL stored procedure. If no member if found the librarian is warned with the status strip control. Items can be also be checked back in from this window. The librarian highlights the items from the DataGrid and clicks the Check In Selected Items button. Multiple items can be checked in at once. A DataSet containing each of the selected items is created and sent to the data access layer where a stored procedure is run against the database. If the DataGrid is empty and the button is clicked the status strip control reminds the user that no items have been selected to be checked in. If the button is clicked and the DataGrid is filled with no selected items the status strip control will provide the same response.
  • 3. An item can be checked out from the member information screen by selecting Check Book Out from the Member Services menu. Input the ISBN and copy number in the dialog window and click OK. The librarian is then prompted to verify that the title is correct to proceed with the check out. The CheckOut stored procedure is accessed through the data access tier to add a record to the loan table signifying an item has been checked out. This record contains member information, book information, the check out date, and the check in date. Members are allowed to have 4 items checked out at any given time. The application is designed to refuse additional check outs. The application also refuses check outs to patrons with expired memberships.
  • 4. New members can be added to the library. Applicants 18 or older are considered adults and need to be enrolled using the AddAdult form. First name, last name, street, city, and zip code are required fields and must be entered with a particular format. Data entry is validated through the business layer before new members are added to the database. Juvenile members are added based on their birthdate and sponsoring adult member. The same data entry rules that apply to the adult apply to the juvenile and validation takes place from the same set of static methods. In addition, there must be supplied a valid adult member ID number and a valid birthdate or the member is not added to the database.