0% found this document useful (0 votes)
5 views19 pages

Gui

The document outlines a micro-project focused on creating an Airline Reservation System using Visual Basic .NET and the .NET framework. It details the system's design, including user interface, database interactions, backend logic, and security measures, while also discussing the advantages and disadvantages of online booking systems. The project aims to enhance understanding of .NET framework components and database connectivity, culminating in a practical application for managing flight reservations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views19 pages

Gui

The document outlines a micro-project focused on creating an Airline Reservation System using Visual Basic .NET and the .NET framework. It details the system's design, including user interface, database interactions, backend logic, and security measures, while also discussing the advantages and disadvantages of online booking systems. The project aims to enhance understanding of .NET framework components and database connectivity, culminating in a practical application for managing flight reservations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

TITLE– AIRLINE
RESERVATION SYSTEM

 Brief Description:

Visual Basic (VB), originally called Visual Basic .NET (VB.NET), is a multi-
paradigm, object-oriented programming language, implemented on .NET and the
.NET Framework. Microsoft launched VB.NET in 2002 as the successor to its
original Visual Basic language, the last version of which was Visual Basic 6.0.
Although the ".NET" portion of the name was dropped in 2005, this article uses
"Visual Basic [.NET]" to refer to all Visual Basic languages released since
2002, in order to distinguish between them and the classic Visual Basic. Along
with C# and F#, it is one of the three main languages targeting the .NET
ecosystem. Microsoft updated its VB language strategy on 6 Feb 2023 stating
that VB is a stable language now and Microsoft will keep maintaining it.

 Introduction:

In this micro-project, we have created a Phonebook management system using


.NET framework which will provide the basic functionalities that a Phonebook
should provide. This project is done in very efficient manner by involvement of
all team and with the help of our project guide.
In this project, for creating a Phonebook system we have used different .NET
components like button, textbox, datagridview, panel,errorprovider etc.
We also used the concept of Regular expression to check the entered phone
number and mail by a user does follows the required pattern for respectives.
Here, we have used Sql Database for storing the different contacts permentaly.
This phonebook system has all the basic functalities like adding a contact,
deleting a contact, updating a contact, a search bar.
The componenet datagridview is only used to display all contacts which are
available in system and it will also display the information of those contacts
which are searched by using search bar.
For a used-friendly UI we have used MenuStrip component which contains all
the functionalities of system.

1|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

 Aim of Project:

The aim of the project is to understand how system is generated under .NET
framework and how to link database with it.

 Course Outcomes Achieved:

o To understand how to develop a system using .NET framework.


o To understand the different components of .NET framework.
o To learn how to connect a database with system.

 Literature Review:

Microsoft Visual Basic (VB) has proved to be a popular programming language,


especially in business programming.1 Take up by end users within the
Laboratory Automation industry appears to be fairly high. This is because of the
familiarity many people have with VB for Applications (VBA) through using
other Microsoft products such as Excel and Word. The easy to use syntax
enables rapid application development (RAD) that has made it suitable for
creating small programs that are commonly required in the laboratory.
The latest incarnation of VB is known as VB 2005. It is a programming
language that uses the Microsoft .NET Framework version 2.0, a new form of
Windows API that is much more extensive and Object Oriented. This has been a
massive change for VB since it was introduced back in 2002 under the name
VB.NET. This is because the Framework is substantially more advanced in
terms of objects and components compared to COM, on which VB was
previously based.

 Actual Methodology Followed:

1. Formation of groups.
2. Selected topic for project.
3. Prepared proposal.
4. Collection of information.
5. After collecting information prepared Project report.
6. Submitted Project report.
2|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

3|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

 Actual Resource Used:

SR. Name of Specification Quantity Remarks


NO. resource
/Material Used
1) Desktop Windows 11, 1 Yes
Computer Intel I3 11th Gen
8GB RAM,
512 ROM
2) Browser Microsoft Edge 1 Yes

3) Software Visual Studio 2022 1 Yes

4) Websites https://www.researchgate.net - Yes

4|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

System Design :

 User Interface (UI):

 The UI will consist of forms for user login, account creation, seat reservation,
and admin access.
 It will display information like available flights, seat availability, prices, etc.

 Database:

 Use a relational database like Microsoft Access (as in the provided code) to
store user accounts, reservations, and other relevant information.
 Tables like lg for user accounts, reserve for reservations, and possibly others
for flight information, pricing, etc., may be needed.

 Backend Logic:

 Implement backend logic to handle user authentication, account


creation, reservation processing, and admin functionalities.
 Use OleDb for database connectivity and SQL queries for data manipulation.

 User Authentication:

 Verify user credentials against the database during login.


 Create new user accounts and store them in the database.

 Reservation System:

 Allow users to select their source and destination cities, choose a flight,
and reserve seats.
 Calculate the fare based on the selected flight and display it to the user.
 Store the reservation details in the database.

 Admin Access:

 Provide a separate login for admins to access the system.


 Admins can view all reservations, cancel reservations, and perform
other administrative tasks.

5|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

 Error Handling:

 Implement error handling mechanisms to deal with invalid inputs, database


errors, etc.
 Display informative messages to users in case of errors or exceptions.

 Security:

 Ensure that user passwords are stored securely (hashed and salted) in the database.
 Use HTTPS for secure communication between the client and server.

 Scalability and Performance:

 Design the system to handle a large number of users and reservations.


 Optimize database queries and system architecture for better performance.

 Testing:

 Perform thorough testing of the system to ensure its functionality, security,


and performance.
 Include unit tests, integration tests, and possibly user acceptance tests.

This is a basic outline of the system design for the given program. Depending on the
specific requirements and features of your application, you may need to add or modify
certain components

6|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

Algorithm :

 User Registration:

 Input: Username, email, password


 Validate input data
 Insert user details into the lg table in the database

 User Login:

 Input: Username, password


 Validate credentials against the lg table
 If valid, grant access; otherwise, show error message

 Seat Reservation:

 Input: Source city, destination city, selected flight


 Calculate fare based on the selected flight and seats
 Insert reservation details into the reserve table

 Admin Login:

 Input: Admin username, password


 Validate admin credentials
 If valid, grant access to admin functions; otherwise, show error message

 View Reservations (Admin):

 Retrieve all reservation details from the reserve table


 Display reservation details to the admin

 Cancel Reservation (Admin):

 Input: Reservation ID to cancel


 Delete the reservation from the reserve table based on the ID

 Error Handling:

 Display appropriate error messages for invalid inputs or database errors

7|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

 Database Interaction:

 Use OleDb commands to interact with the database for querying, insertion,
and deletion

 Security Considerations:

 Use secure methods for storing passwords (hashing and salting)


 Implement HTTPS for secure communication

8|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

 Explanation Of Program Code :

1. Main Class (main):

This class represents the main form of the application.


It contains event handlers for menu items like creating a new account, logging in,
and exiting the application.
It shows the signup form (sineup) for creating a new account and the login form (login)
for logging in.

2. Login Class (login):

This class represents the login form.


It handles the logic for authenticating users by checking their credentials against the
lg table in the database.
If the credentials are valid, it shows the choice form (choice); otherwise, it displays
an error message.

3. Reservation Class (reservation):

This class represents the reservation form.


It allows users to select source and destination cities, choose a flight, and calculate the fare
based on the selected options.
It also handles the insertion of reservation details into the reserve table in the database.

4. Admin Login Class (admin_login):

This class represents the admin login form.


It allows admins to log in using their credentials.
If the credentials are correct, it shows the admin reservation sheet (all_reservation_sheet);
otherwise, it displays an error message.

5. Cancel Class (cancle):

This class represents the cancel form.


It allows admins to cancel a reservation by entering the reservation ID.
It handles the deletion of the reservation from the reserve table in the database.

6. Signup Class (Signup):

This class represents the signup form.


It allows users to create a new account by providing a username, email, and
password. It handles the insertion of the new user details into the lg table in the
9|Page
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

database.

10 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

 Output :

11 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

12 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

13 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

14 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

15 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

Advantages :

1. Convenience: Customers can easily book flights from the comfort of their
homes or offices using a computer or mobile device, saving time and effort.

2. 24/7 Availability: The system is available 24 hours a day, 7 days a week,


allowing customers to book flights at their convenience, even during non-business
hours.

3. Easy Access to Information: Customers can access flight schedules, seat


availability, fares, and other information easily through the system, enabling
them to make informed decisions.

4. Efficient Management: Airlines can efficiently manage flight schedules, seat


allocation, and passenger information, leading to improved operational
efficiency.

5. Reduced Costs: The system helps airlines reduce costs associated with
manual booking processes, such as paper-based ticketing and manual record-
keeping.

6. Increased Revenue: The system allows airlines to reach a wider audience


and increase ticket sales through online channels, leading to increased
revenue.

7. Improved Customer Service: The system provides customers with a seamless


booking experience and allows airlines to offer personalized services,
improving overall customer satisfaction.

8. Integration with Other Systems: The system can be integrated with other
systems, such as payment gateways and customer relationship
management (CRM) systems, to provide a seamless booking experience.

9. Real-time Updates: The system provides real-time updates on flight status,


delays, and cancellations, allowing customers to make alternative arrangements
if needed.

10. Data Analysis: The system collects and analyzes data on booking trends,
customer preferences, and other parameters, helping airlines make
informed decisions and improve their services.

16 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

17 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

Disadvantages :

1. Technical Issues: The system may experience technical glitches, such as


server outages, which can disrupt booking processes and inconvenience
customers.

2. Dependency on Internet Connectivity: The system relies heavily on internet


connectivity. Poor internet connection can hinder the booking process and lead
to frustrated customers.

3. Security Concerns: Online booking systems are susceptible to cyber attacks,


data breaches, and identity theft, raising security concerns for both airlines and
passengers.

4. Overbooking: The system's automated nature can lead to overbooking, where


more tickets are sold than available seats, causing inconvenience to
passengers.

5. Limited Personal Interaction: While convenient, online booking lacks the


personal touch of booking through a travel agent or airline representative,
which may be preferred by some customers.

6. Complexity for First-time Users: The system's interface and booking


process can be complex for first-time users, especially those not familiar with
online booking platforms.

7. Cancellation and Refund Policies: The system's rigid cancellation and refund
policies may inconvenience passengers, especially when flights are canceled
or rescheduled.

8. Cost: Developing and maintaining an airline reservation system can be costly


for airlines, especially for smaller carriers.

9. Dependency on Third-party Providers: Airlines often rely on third-party


providers for their reservation systems, which can lead to issues if these
providers experience problems or go out of business.

10. Accessibility Concerns: Not all customers may have access to the internet or
be comfortable using online booking systems, leading to accessibility issues for
certain demographics.

18 | P a g e
SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC | GUI MICRO-PROJECT

Developed/Learning out of this Project:


o We got to know about basic framework .NET.
o We learnt how to use different .NET framework.
o We got to know about concept of Regex.

Applications of this Project:


o This micro-project is useful in understanding
basic framework and components of .NET.
o One can understand the concept of Regex here.
o One can understand how to link a database with
the programs.

Name & Sign of Project Guide

MS .A.A.More

19 | P a g e

You might also like