SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

Similar a 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
 

Similar a 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
 
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...
 
D017612529
D017612529D017612529
D017612529
 
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
 

Último

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 

Último (20)

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.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.