Professional Documents
Culture Documents
A PROJECT REPORT ON
SEMESTER – IV
YEAR: - 2023-24
SUBMITTED BY: -
The success & find outcome of this project required a lot of guidance &
assistance from many people and I am extremely privileged to have got all
along the completion of our project. All that we have done is only due to
such supervision & assistance & I would not forget to thank them.
1. INTRODUCTION 1
2. COURSE OUTCOME 2
3. ACTUAL METHODOLOGY 3
AND IMPLEMENTATION
4. OUTPUTS OF M.S. 5
ACCESS
DATABASE
5. PROGRAM CODE 6
6. OTHER OUTPUTS 20
7. CONSLUSION 22
8. LITERATURE REVIEW 23
AIRLINE RESERVATION SYSTEM
1. INTRODUCTION
Developers can use VB.NET to create a wide range of applications, from simple
console applications to complex enterprise-level systems. The framework includes a
rich set of libraries for tasks such as data access, network communication, and user
interface design, making it easier for developers to build robust and scalable
applications.
1
AIRLINE RESERVATION SYSTEM
2. COURSE OUTCOME
2
AIRLINE RESERVATION SYSTEM
A system has been designed which contains login of user, reservation of seats. In this,
the username and password will be accepted from the user in windows form
application and that inputted data will be stored in the database. Later the user will
choose source location and destination location and reserve his/her seat and that
reservation seat’s data again will be stored in another database.
Different Events used in the Project:
• Form_load Event
• Button1_click Event
• Button2_click Event
1. OleDbConnection Object
An OleDbConnection object represents an unique connection to a data source. With
client/server database system, it is equivalent to a network connection to the server.
2. OleDbDataAdapter
The OleDbDataAdapter serves as a bridge between a DataSet and Data source for
retrieving and saving data. The OleDbDataAdapter provides this bridge by using Fill
to load data from the data source into the dataset, and using Update to send changes
made in the dataset back to the database.
3. OleDbDataSet
The DataSet contains the copy of the data we requested through the SQL statement.
We can use Dataset in combination with OleDbDataAdapter class. The
OleDbDataAdapter object allows us to populate Data Tables in a DataSet. We can
use Fill method in the OleDbDataAdapter for populating data in a Dataset.
3
AIRLINE RESERVATION SYSTEM
4. OleDbCommand Object
Represents a set of data commands and a database connection that are used to fill the
DataSet and update the data source.
5. OleDbDataRow
A DataRow contains an individual row of data. It narrows the data
abstraction to the level of the row. The DataRow type provides ways to add,
remove, or read cells from the enclosing data structure.
4
AIRLINE RESERVATION SYSTEM
5
AIRLINE RESERVATION SYSTEM
5. PROGRAM CODE
Main:
Public Class main
6
AIRLINE RESERVATION SYSTEM
Login
:
Imports System.Data Imports
System.Data.OleDb
7
AIRLINE RESERVATION SYSTEM
8
AIRLINE RESERVATION SYSTEM
9
AIRLINE RESERVATION SYSTEM
End If
If ListBox2.SelectedItem = "Surat" Then Amount.Text =
5000
End If
If ListBox2.SelectedItem = "Bangalore" Then
Amount.Text = 7500
End If
If ListBox2.SelectedItem = "Kolkata" Then
Amount.Text = 9000
End If
If ListBox2.SelectedItem = "Hyderabad" Then
Amount.Text = 8500
End If
End If
End If
If ListBox2.SelectedItem = "Surat" Then Amount.Text =
6000
End If
10
AIRLINE RESERVATION SYSTEM
End If
If ListBox2.SelectedItem = "Kolkata" Then
Amount.Text = 8000
End If
If ListBox2.SelectedItem = "Hyderabad" Then
Amount.Text = 9000
End If
End If
End If
If ListBox2.SelectedItem = "Pune" Then Amount.Text =
7500
End If
If ListBox2.SelectedItem = "Bangalore" Then
Amount.Text = 7000
End If
If ListBox2.SelectedItem = "Kolkata" Then
Amount.Text = 10000
11
AIRLINE RESERVATION SYSTEM
End If
If ListBox2.SelectedItem = "Hyderabad" Then
Amount.Text = 2500
End If
End If
End If
If ListBox2.SelectedItem = "Surat" Then Amount.Text =
3500
End If
If ListBox2.SelectedItem = "Pune" Then Amount.Text =
7000
End If
If ListBox2.SelectedItem = "Surat" Then Amount.Text =
4000
End If
If ListBox2.SelectedItem = "Hyderabad" Then
Amount.Text = 10000
End If
End If
12
AIRLINE RESERVATION SYSTEM
End If
If ListBox2.SelectedItem = "Surat" Then Amount.Text =
6000
End If
If ListBox2.SelectedItem = "Bangalore" Then
Amount.Text = 7500
End If
If ListBox2.SelectedItem = "Kolkata" Then
Amount.Text = 4000
End If
If ListBox2.SelectedItem = "Pune" Then Amount.Text =
7500
End If
End If
End If
If ListBox2.SelectedItem = "Surat" Then
13
AIRLINE RESERVATION SYSTEM
Amount.Text = 5000
End If
If ListBox2.SelectedItem = "Bangalore" Then
Amount.Text = 7500
End If
If ListBox2.SelectedItem = "Pune" Then Amount.Text =
7500
End If
If ListBox2.SelectedItem = "Hyderabad" Then
Amount.Text = 5500
End If
End If
End Sub
14
AIRLINE RESERVATION SYSTEM
dr("source") =
ListBox1.SelectedIt
em dr("destination")
= ListBox2.SelectedIt
em dr("time")
= TextBox3.Text
dr("fdate") =
TextBox2.Text dr("price")
= Amount.Text
ds.Tables("reserve")
.Rows.Add(dr)
cmd = New OleDbCommand("insert into reserve values(" & idd &
",'" & TextBox1.Text & "','" &
ListBox1.SelectedItem & "','" & ListBox2.SelectedItem & "','" &
TextBox3.Text & "','" &
TextBox2.Text & "','" &
Amount.Text & "')", con)
icount =
cmd.ExecuteNonQuery
MsgBox(icount & "Record added
successfully", , "Insert Record") End
Sub
End Class
Admin Login:
Imports System.Data.OleDb
Imports System.Data
15
AIRLINE RESERVATION SYSTEM
End If
End Sub
End Sub
End Class
Cancel:
Imports System.Data Imports
System.Data.OleDb
16
AIRLINE RESERVATION SYSTEM
OleDbDataAdapter(cmd)
adpt.Fill(ds, "reserve")
End Sub
Dim del
As
Integer
del =
CInt(T
extBox
1.Text)
cmd = New OleDbCommand("delete from
reserve where ID=" & del, con) icount =
cmd.ExecuteNonQuery()
MsgBox(icount & " Record Deleted", , "Delete Record")
ds.Tables("reserve").Rows.Clear()
End Sub
End Class
Sign up:
17
AIRLINE RESERVATION SYSTEM
End Sub
18
AIRLINE RESERVATION SYSTEM
End If
End Sub
End Class
19
AIRLINE RESERVATION SYSTEM
6. OUTPUTS
20
AIRLINE RESERVATION SYSTEM
21
AIRLINE RESERVATION SYSTEM
7. CONCLUSION
22
AIRLINE RESERVATION SYSTEM
8. LITERATURE REVIEW
❖ www.wikipedia.com
The information received from this website is well organized and provided with
right research. This is mainly because of how well known this website is and the
legitimate information they provide with the right formatting and the appropriate
amount you need to know of the info.
❖ www.studocu.com
Here, they provide you with the step by step information of the topic with the
highlighted and important parts of any of the topic. Therefore, your work and
process that turns out to be completed in mere steps. They also provide you with
relevant theory on that topic which is being shown as they have develop Student
Management System to perform such practical.
❖ www.cisco.com
The website is the base for any projects diagram and many of the are representation
of tables and charts. They even label them appropriately and they have a simplistic
way of providing the diagram. The material they provide you with can never be too
little or too much. They provide representation content for many subjects may it be
technical or not
23