This document describes the design and implementation of an online bus ticket booking system. It includes entity relationship diagrams and data flow diagrams to model the system. The system allows users to register accounts, view bus schedules and book tickets online. It also allows administrators to manage bus routes, timetables and fares. The system was developed using C# and SQL Server for the backend database. Screenshots of some of the web pages like the register, login, change password, add bus and add route pages are included.
Tourism is a big growth business in all countries. Bus Reservation System deals with maintenance of records details of each passenger. It also includes maintenance of information such as timetable and details in each bus.
Tourism is a big growth business in all countries. Bus Reservation System deals with maintenance of records details of each passenger. It also includes maintenance of information such as timetable and details in each bus.
This is a presantation on railway reservation system project in php. project report and source code will be available soon . you can find it at www.avhishekblog.wordpress.com . hope this is useful to you
This software project is aimed at automation of online ticket booking. Objective of the project is to develop customize software package for ticket booking.
When we do this task manually then it become very hard to manage the ticket booking .So are developing this system to manage booking of ticket automatically. In this Bus Ticket Booking project we develop the system that can help the user to book their ticket online. In this project we take care of every services related to travelling and online ticket booking .When you start your traveling tour you have to book ticket so we help you in booking your traveling ticket
Use Case, Activity, Sequence, Class Diagram of Bus Ticket Management System.
Poster Design of Bus Ticket Management System.
By- CSE Students of East West University
Online Bus Ticketing System is a web based system which will help bus owner and passenger to easy the ticketing process.
Source code of the system is available on following link:
https://github.com/kiranshahi/Online-bus-ticketing-system
A train ticket is a ticket issued by a railway operator that enables the bearer to travel on the operator's network or a partner's network. Tickets can authorize the bearer to travel a set itinerary at a specific time (common for long-distance railroads), a set itinerary at any time (common for commuter railroads), a set itinerary at multiple times, or an arbitrary itinerary at specific times. The last two categories are often called passes: the former is often sold as a discounted block of trips for commuters; the latter is often sold to vacationers, such as European Eurail passes.
In some countries, like Italy, and some local railways in Germany, conductors are not used. Instead passengers are expected to validate tickets in a special stamping machine before entering the train. A system of coupons that are validated with a special machine exists on the Mumbai Suburban Railway where combinations of coupons of different denominations are used to get the corresponding ticket value.[1] There may or may not be a conductor later on double-checking that correct tickets are actually held. Yet further systems are possible, for example in Japan, the London Underground and in local traffic in Stockholm, the platforms are physically blocked, forcing the acquisition of a ticket before entering the platform.
Some train tickets are available with an option to add bus travel at either end of the train ticketed journey, as part of a wider transport network. For instance, the PLUSBUS scheme in the United Kingdom offers bus travel on an integrated ticket for an additional fee.[2] In Germany, most long distance train tickets include a "city ticket" valid on the public transit system of origin and destination. This is automatically included at no extra charge in all tickets purchased by Bahn Card holders and is indicated on the ticket.[3]train ticket reservation in c.i hope it will be helpful. Railway Reservation System is a complex online distributed transaction application based on client server architecture. The salient features of the software include allowing user from anywhere to do a booking for a journey in any train in any class from anywhere to anywhere; handling reservation, modifications cancellation/refunds.
This is a presantation on railway reservation system project in php. project report and source code will be available soon . you can find it at www.avhishekblog.wordpress.com . hope this is useful to you
This software project is aimed at automation of online ticket booking. Objective of the project is to develop customize software package for ticket booking.
When we do this task manually then it become very hard to manage the ticket booking .So are developing this system to manage booking of ticket automatically. In this Bus Ticket Booking project we develop the system that can help the user to book their ticket online. In this project we take care of every services related to travelling and online ticket booking .When you start your traveling tour you have to book ticket so we help you in booking your traveling ticket
Use Case, Activity, Sequence, Class Diagram of Bus Ticket Management System.
Poster Design of Bus Ticket Management System.
By- CSE Students of East West University
Online Bus Ticketing System is a web based system which will help bus owner and passenger to easy the ticketing process.
Source code of the system is available on following link:
https://github.com/kiranshahi/Online-bus-ticketing-system
A train ticket is a ticket issued by a railway operator that enables the bearer to travel on the operator's network or a partner's network. Tickets can authorize the bearer to travel a set itinerary at a specific time (common for long-distance railroads), a set itinerary at any time (common for commuter railroads), a set itinerary at multiple times, or an arbitrary itinerary at specific times. The last two categories are often called passes: the former is often sold as a discounted block of trips for commuters; the latter is often sold to vacationers, such as European Eurail passes.
In some countries, like Italy, and some local railways in Germany, conductors are not used. Instead passengers are expected to validate tickets in a special stamping machine before entering the train. A system of coupons that are validated with a special machine exists on the Mumbai Suburban Railway where combinations of coupons of different denominations are used to get the corresponding ticket value.[1] There may or may not be a conductor later on double-checking that correct tickets are actually held. Yet further systems are possible, for example in Japan, the London Underground and in local traffic in Stockholm, the platforms are physically blocked, forcing the acquisition of a ticket before entering the platform.
Some train tickets are available with an option to add bus travel at either end of the train ticketed journey, as part of a wider transport network. For instance, the PLUSBUS scheme in the United Kingdom offers bus travel on an integrated ticket for an additional fee.[2] In Germany, most long distance train tickets include a "city ticket" valid on the public transit system of origin and destination. This is automatically included at no extra charge in all tickets purchased by Bahn Card holders and is indicated on the ticket.[3]train ticket reservation in c.i hope it will be helpful. Railway Reservation System is a complex online distributed transaction application based on client server architecture. The salient features of the software include allowing user from anywhere to do a booking for a journey in any train in any class from anywhere to anywhere; handling reservation, modifications cancellation/refunds.
The project is developed using android and web. The application provide solution for student bus pass, route pass and bus ticket, route information and scan QR code verification for the bus pass.
Railway Reservation System - Requirement EngineeringDanish Javed
It's a presentation which is dealing with the requirements of the railway ticket reservation system with all details.
Topic: Requirement Engineering in Software Engineering
Abstract Finding a parking space in most metropolitan areas, during the rush hours, is difficult for drivers. The problem arises from not knowing where is the empty space; even if it is known, many vehicles may pursue very limited parking spaces to cause serious traffic congestion. In this project, a prototype of smart parking (S-Park) system is designed and implemented that allows drivers to effectively find and reserve the empty parking spaces using an android application connected to Internet. By periodically polling the parking status from the sensor networks deployed in parking lots, the reservation status is affected by the change of physical parking status. The drivers are allowed to access the server on their Android smartphones. The proposed smart parking policy has the potential to solve the problems of parking systems, as well as reduce traffic congestion caused by parking searching thus making the system two-way efficient, that is, cost wise and time wise. Key Words: Smart parking system, Android based application, Embedded server, One time password.
Contain Details about Bus Reservation system Project made by us at CDAC Bangalore. This project was using Angular as a frontend, Java SpringBoot as Backend and Mysql as Database.
This is a project documentation titled: Online Railway Reservation System.
This documentation was submitted by me as my assignment in my 6th sem (2013) in APIIT SD INDIA, Panipat along with a full-fledged working system i.e., a website built using ASP.NET & SQL SERVER 2008
2. 2
Project Report on
Online Bus Ticket Booking
Submitted by
Name University Roll No.
Sudhanshu Shekhar 15500211047
Arup Chandra Dawn 15500211007
Nawal Kishor Sharma 15500211023
Gautam Kumar 15500210034
In partial fulfillment of requirements of VII Semester,
Bachelor of Technology (Information Technology)
(2014)
Under the Project Guidance of
Mr. Tushar Kanti Dey
(Information Technology)
INFORMATION TECHNOLOGY DEPARTMENT
DURGAPUR INSTITUTE OF ADVANCED TECHNOLOGY
AND MANAGEMENT
RAJBANDH, DURGAPUR - 713212.
3. 3
ACKNOWLEDGEMENTS
We wish to express our thanks and gratitude to our project guide Mr.Tushar Kanti Dey for being
a constant source of encouragement inspiration and motivation.
Our profound gratitude goes to the head of the department, Sankar Mukherjee for his
support and guidance throughout the project.
We would also like to thank Mr.Tushar Kanti Dey, Sankar Mukherjee for helping us
during our project.
Our special thanks goes to the teaching and non teaching staff of Information Technology
department as well as computer science and engineering department for their support.
Finally we would also like to take the opportunity to thank all our friends, classmates
who have helped us in gathering all the relevant information regarding this project.
Place:
Rajbandh, Durgapur
Project Members
Sudhanshu Shekhar
Arup Chandra Dawn
Nawal Kishor Sharma
Gautam Kumar
5. 5
ABSTRACT
In this report, we describe the design and implementation of Online Bus Ticket Booking .
It is named as Online Bus Ticket Booking , because it can help Passengers to see available buses
for their Journey.
Bus reservation system consists of collection of buses customers book tickets for their
journey according to the bus number and departure time of the bus. According to its name it
manages the details of all tickets, rental details, and timing details and so on. It also manages the
updating of the objects.
This section also contains the details of booking time of the seat(s) or collecting time of
the tickets, this section also contain the booking date and the name of agent which is optional, by
which the customer can reserve the seats for his journey.
In seats specification it gives the list of given issued and currently available seats and
contain the information about seats like sleeper, cabin etc.
The main objective of this project to provide the better work efficiency, security,
accuracy, reliability, feasibility. The error occurred could be reduced to nil and working
conditions can be improved.
6. 6
INTRODUCTION
“Online bus ticket booking system” makes it easier for a customer to book tickets online. It
reduces the time as they don’t have to stand in long queues or search ticket at different bus ticket
counter. Thus it provides better work efficiency, security, reliability and feasibility in the field of
“Online bus ticket booking system”.
User can Register, sign in and manage his/her own account, book tickets by viewing bus
details such as bus type, bus no, name, fare, number of seats etc. It also consists of Route details
and time table.
Admin can manage customer’s details, update fare of tickets according to the type of bus as
well as ac/non-ac type, manage bus details, manage route of trip, manage time-table.
In billing module, account details of customers are fetched such as Card Type, Card no. ,
card holder name, pin, Expiry date, cvv from bank account database.
Online bus reservation system is simpler and smarter. It provides the customer a wide range
of facilities, right from choosing their pickup point to their preferred choice of seat (for instance,
luxury buses with sleeper berths).
They can also choose from the widest range of available buses like Volvo, Volvo AC, AC
luxury, Deluxe, Sleeper, Express and other private buses. The payment options are easier too
customer can use either debit/credit card facility . Not just that, in case of any change in their
travel plan, bus tickets can be cancelled online.
10. 10
SOFTWARE REQUIREMENT SPECIFICATION (SRS)
OVERVIEW
This SRS contains a user level description of the project, along with a detailed list of prioritized
requirements
PRODUCT PERSPECTIVE
This project is that part of the online bus reservation system, which allows passengers to
update information, while the online bus reservation system receives information and
manipulates reports from given information, and makes them a user friendly system. Our UI,
design is accompanied by a set of .aspx files and a database for the system.
SOFTWARE INTERFACES
Operating System: Windows XP and above
Back End Technology: SQL server 2008
Front End Technology: DOTNET framework 4.0 using C#
HARDWARE INTERFACES:
RAM: 512MB and above
Hard-disk: 40 GB and above
Processor: Pentium 4 and above
COMMUNICATION INTERFACES
None
PRODUCT FUNCTIONS
1. All changes to systems must be stored, along with an indication as to who stored
them.
2. Only authorized users are allowed to make changes the system.
3. There must be a way to right a report for a future study has still does not exist in
the system.
11. 11
ASSUMPTIONS AND DEPENDENCIES
1. It’s hard to judge the usability without testing the product in the field with the end
clients.
2. Safety and security must be maintained by the larger Information System, and the
design team will not be responsible for security breaches.
3. System assumes that the parameters it takes as input are valid.
12. 12
CODING
LOGIN.ASPX
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
SqlConnection con;
SqlDataAdapter Adpr;
DataTable Dtab;
protected void Page_Load(object sender, EventArgs e)
{
Session["EmailId"] = TxtUname.Text;
}
protected void TxtUname_TextChanged(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
con = new SqlConnection("Data Source=.sqlexpress;Initial
Catalog=Sang_Travels;Integrated Security=True;Pooling=False");
con.Open();
Adpr = new SqlDataAdapter("select * from Customer where EmailId=@Username and
Password=@pwd", con);
Dtab = new DataTable();
Adpr.SelectCommand.Parameters.AddWithValue("@pwd", TxtPwd.Text);
Adpr.SelectCommand.Parameters.AddWithValue("@Username", TxtUname.Text);
Adpr.Fill(Dtab);
if (Dtab.Rows.Count > 0)
{
Response.Write("Logged in succesfully");
if (TxtUname.Text == "admin@gmail.com")
{
Response.Redirect("Admin.aspx");
return;
}
else
{
13. 13
Response.Redirect("User.aspx");
return;
}
}
else
{
Response.Write("Incorect UserName Or Password");
TxtUname.Text = "";
TxtPwd.Text = "";
}
}
}
REGISTER.ASPX
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class Register : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
//string rdbtn;
SqlConnection con = new SqlConnection("Data Source=.sqlexpress;Initial
Catalog=Sang_Travels;Integrated Security=True;Pooling=False");
con.Open();
SqlCommand cmd = new SqlCommand("insert into Customer
values(@email,@name,@gender,@dob,@mobile,@Pwd,@address,@sec_question,@answer)", con);
//if (RdbtnMale.Checked)
// rdbtn = "Male";
//else
//rdbtn = "Female";
//Session["Password"] = TxtPwd.Text;
cmd.Parameters.AddWithValue("@Email", TxtEmailId.Text);
cmd.Parameters.AddWithValue("@name", TxtName.Text);
cmd.Parameters.AddWithValue("@gender", Rdnbtnmf.SelectedValue.ToString());
cmd.Parameters.AddWithValue("@dob", TxtDob.Text);
cmd.Parameters.AddWithValue("@mobile", TxtMobile.Text);
cmd.Parameters.AddWithValue("@Pwd", TxtPwd.Text.ToString());
cmd.Parameters.AddWithValue("@address", TxtAddress.Text);
cmd.Parameters.AddWithValue("@sec_question",
DDLSecQuest.SelectedValue.ToString());
cmd.Parameters.AddWithValue("@answer", TxtAnswer.Text);
14. 14
cmd.ExecuteNonQuery();
Response.Redirect("Thankyou.aspx");
//Label1.Text = "Thank you for Register with us.";
TxtEmailId.Text = "";
TxtName.Text = "";
TxtDob.Text = "";
TxtMobile.Text = "";
TxtAddress.Text = "";
TxtAnswer.Text = "";
con.Close();
}
}
Change Password.aspx
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class Change_password : System.Web.UI.Page
{
string emailid;
protected void Page_Load(object sender, EventArgs e)
{
emailid = Session["EmailId"].ToString();
}
protected void Button1_Click(object sender, EventArgs e)
{
int res = 0;
SqlConnection con = new SqlConnection("Data Source=.sqlexpress;Initial
Catalog=Sang_Travels;Integrated Security=True;Pooling=False");
con.Open();
SqlCommand cmd = new SqlCommand("update Customer set Password=@Npwd where
EmailId=@Email and Password=@OPwd", con);
cmd.Parameters.AddWithValue("@Npwd", TxtNPwd.Text);
cmd.Parameters.AddWithValue("@Opwd", TxtOPwd.Text);
cmd.Parameters.AddWithValue("@Email", emailid);
res = cmd.ExecuteNonQuery();
if (res > 0)
Label2.Text="Password changed succesfully";
else
Label2.Text="Incorrect UserName or Old Password";
con.Close();
}
15. 15
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
}
}
Add_Route.aspx
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
public partial class Add_Route : System.Web.UI.Page
{
private int RouteId;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=.sqlexpress;Initial
Catalog=Sang_Travels;Integrated Security=True;Pooling=False");
con.Open();
SqlDataAdapter adp = new SqlDataAdapter("select max(RouteId)+1 from Route", con);
DataTable dtab = new DataTable();
adp.Fill(dtab);
RouteId = Convert.ToInt32(dtab.Rows[0][0].ToString());
SqlCommand cmd = new SqlCommand("insert into Route
values(@routeid,@source,@through,@distance,@destination)", con);
LabRoute.Text = RouteId.ToString();
//Session["Password"] = TxtPwd.Text;
cmd.Parameters.AddWithValue("@routeid",LabRoute.Text);
cmd.Parameters.AddWithValue("@source",TextBox1.Text);
cmd.Parameters.AddWithValue("@through",TextBox2.Text);
cmd.Parameters.AddWithValue("@distance",TextBox3.Text);
cmd.Parameters.AddWithValue("@destination",TextBox4.Text);
cmd.ExecuteNonQuery();
Response.Write("Route added successfully");
//Label1.Text = "Thank you for Register with us.";
con.Close();
}
}
16. 16
Add Bus.aspx
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class Addbus : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
SqlConnection con = new SqlConnection("Data Source=.sqlexpress;Initial
Catalog=Sang_Travels;Integrated Security=True;Pooling=False");
con.Open();
SqlDataAdapter adp = new SqlDataAdapter("select * from Route",con);
DataTable dtab = new DataTable();
adp.Fill(dtab);
ddlrouteid.DataSource = dtab;
ddlrouteid.DataTextField = "RouteId";
ddlrouteid.DataValueField = "RouteId";
ddlrouteid.DataBind();
con.Close();
}
}
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=.sqlexpress;Initial
Catalog=Sang_Travels;Integrated Security=True;Pooling=False");
con.Open();
// SqlDataAdapter adp = new SqlDataAdapter("select max(BusId)+1 from Bus_Info",
con);
// DataTable dtab = new DataTable();
// adp.Fill(dtab);
// BusId = Convert.ToInt32(dtab.Rows[0][0].ToString());
SqlCommand cmd = new SqlCommand("insert into Bus_Info
values(@regid,@busname,@cat,@noofseats,@ownername,@dep,@arrival,@routeid,@fare)", con);
//LabRoute.Text = RouteId.ToString();
//Session["Password"] = TxtPwd.Text;
cmd.Parameters.AddWithValue("@regid",TextBox1.Text);
cmd.Parameters.AddWithValue("@busname", TextBox2.Text);
cmd.Parameters.AddWithValue("@cat",rdbtncat.SelectedItem.Text);
cmd.Parameters.AddWithValue("@noofseats", TextBox3.Text);
cmd.Parameters.AddWithValue("@ownername", TextBox4.Text);
cmd.Parameters.AddWithValue("@dep",TextBox5.Text);
cmd.Parameters.AddWithValue("@arrival",TextBox6.Text);
cmd.Parameters.AddWithValue("routeid",ddlrouteid.SelectedItem.Text);
cmd.Parameters.AddWithValue("@fare", TextBox7.Text);