0% found this document useful (0 votes)
17 views51 pages

Mymovieproject

This document outlines the development of an online ticket reservation system for a cinema hall, aimed at automating the ticket booking process and providing comprehensive information about movies, showtimes, and seat availability. The proposed system addresses existing challenges such as long queues and lack of information by allowing users to book tickets online and cancel reservations as needed. It also includes features for parking reservations and snack orders, enhancing the overall customer experience.

Uploaded by

sonuwrsi707
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views51 pages

Mymovieproject

This document outlines the development of an online ticket reservation system for a cinema hall, aimed at automating the ticket booking process and providing comprehensive information about movies, showtimes, and seat availability. The proposed system addresses existing challenges such as long queues and lack of information by allowing users to book tickets online and cancel reservations as needed. It also includes features for parking reservations and snack orders, enhancing the overall customer experience.

Uploaded by

sonuwrsi707
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

ABSTRACT

This project is aimed at developing an online ticket reservation system for a


Cinema Hall. The Ticket Reservation System is an Internet based application that can
be accessed throughout the Net and can be accessed by anyone who has a net
connection. This application will automate the reservation of tickets. The website
provides complete information regarding currently running movies on all the screens
with details of show timings, available seats and fare charges of different classes.
Seats can be reserved for different classes as well for same show and screen also.
Ticket reservations are done using credit card and can be cancelled if needed. Our
online tickets reservation system is one of the best opportunities for those who
cannot afford enough time to get their tickets reserved standing in long queues.
People can book tickets online at any time of day or night. Our reservation system
also provides option to cancel the tickets which are reserved previously.

In the current, the customer needs to visit theater for booking seats.
Further, they don't have the data about the movie which is in the cinema lobby, its
show times and distinctive rates of the ticket. The client will be most likely unable to
get data about various film halls available in the city. In this way, in the event that he
wishes to see a movie on a specific day he needs to first meander around the city to
discover where it is being appeared at the particular time.

In order to overcome the existing problem, we are making this system


as online and offline through telecommunication and that shows every information
about any cinema hall, movie, snacks, vehicle parking and cancellation ticket can be
done by online and as well as offline mode. This helps the customer to get better
facilities at his own computer or laptop.

5
TABLE OF CONTENTS
Chapter no. Title pg. no

ABSTRACT
LIST OF FIGURES
LIST OF ABBREVIATION
1. INTRODUCTION
OVERVIEW OF THE PROJECT 8

2. AIM AND SCOPE OF PRESENT INVESTIGATION


2.1SYSTEM CONFIGURATION 9
2.2SOFTWARE OVERVIEW 10
2.3PROJECT DESCRIPTION 15
2.5.1 MICROSOFT VISUAL STUDIO 10
2.5.2 ASP.NET FRAMEWORK 11
2.5.3 SQL SERVER 12

3. EXPERIMENTAL OR MATERIAL METHODS

3.1 EXISTING SYSTEM 14


3.2 PROPOSED SYSTEM 14
3.3 MODULE DESCRIPITION 15
3.4 SYSTEM DESIGN 16
3.5 ER-DIAGRAM 18
3.6 DATAFLOW DIAGRAM 20
3.7 HIERARCHY DIAGRAM 21
3.8 ARCHITECTURE DIAGRAM 22
3.9 UNIT TESTING 23

6
3.10PERFORMANCE TESTING 24
3.11INTEGRATION TESTING 24
3.12ACCEPTANCE TESTING 24
4. RESULT AND DISCUSSION

5. CONCLUSION AND FUTURE WORK

REFERENCE

A.SAMPLE CODE 25
B. SCREEN LAYOUTS 50
C.PUBLICATION 55

LIST OF FIGURES
FIGURE NO FIGURE NAME PAGE NO

3.4 ARCHITECTURE DIAGRAM 22


4.1 HOME PAGE 50
4.2 LOGIN PAGE 50
4.3 TICKET BOOKING 51
4.5 PAYMENT SELECTION 53
4.7 ADMIN PAGE 54

LIST OF ABBREVIATON
ASP.NET – ACTIVE SERVER PAGE
SQL SERVER- STRUCTURED QUERY LANGUAGE

7
INTRODUCTION
Going to cinemas has been the culture of almost all the families of today’s
generation It is a time when the family can spend some time altogether by
stealing some hours from their busy schedule. Cinemas help in contributing in
our daily memories as they provide an essential part of our culture. The
project online movie S ticket booking is a web based application that allows
the movie theatre owner and the viewers to handle all the cinema activities
online quickly and safely. Using Interactive GUI anyone can quickly learn to
use the complete system.

Using this system the owner doesn’t have to sit and manage the entire
activities on paper. And at the same time, Owner will feel comfortable to keep
a check on the cinema This System will give them power and flexibility to
manage the entire system from a single online portal. Online movies ticket
booking reservation provides ticket booking for the film, seat management,
ticket cancellation and payment services. The system will be so simple and
attractive which will make the audiences/viewers comfortable to use and
choose their movie along with desired seat no and seat position.

The system allows the Owner to check the Progress of ticket reservation
from interactive Graphs. The system allows the owner to keep track on
available seats for a particular movie and even maintain various details of the
audiences. Viewers can view the movies which are being shown in the
theatre or the ones which are going to be released for a short while along with
their show timings and also book the tickets online through online payments
using various payment gateways like ATM/Credit/Debit cards.

Finally, in Online movies ticket booking, we have developed a secure, user-


friendly online movie ticket Management reservation System. This System
can take care of each member whether its Owner or viewer.

8
SYSTEMCONFIGURATION

2.1 HARDWARE REQUIRMENTS

The hardware requirements may serve as the basis for a contract for the implementation of
the system and should therefore be a complete and consistent specification of the whole system.
They are used by software engineers as the starting point for the system design. It should what the
system do and not how it should be implemented.

Processor : Pentium Dual Core 2.00GHZ

Hard disk : 40 GB

Mouse : Logitech.

RAM : 2GB (minimum)

Keyboard : 110 keys enhanced.

2.2 SOFTWARE REQUIRMENTS

The software requirements document is the specification of the system. It should include
both a definition and a specification of requirements. It is a set of what the system should do rather
than how it should do it. The software requirements provide a basis for creating the software
requirements specification. It is useful in estimating cost, planning team activities, performing tasks
and tracking the teams and tracking the team’s progress throughout the development activity.

Operating system : Windows 10

IDE : Microsoft Visual Studio .Net 2019

Frontend : Asp.Net

Coding Language : C#

Backend : SQL Server

9
MICROSOFT VISUAL STUDIO 2019

Microsoft visual studio is a set of integrated development environments developed by


Microsoft as a freeware and function limited version of the non-free Microsoft visual studio. Visual
studio was supplemented by the studio community edition, which is also available for free. It is
used to develop computer programs for Microsoft Windows, as well as websites, web applications
and web services. Visual studio uses Microsoft software development platforms such as Windows
API, Windows Forms, Windows Presentation Foundation, Windows Store and Microsoft Silver
light. It can produce both native code and managed code.

Visual studio includes a code editor supporting IntelliSense (the code completion) as well as
code refactoring. It introduces a debugger that works both source-level debugger and a machine-
level debugger. It works with both managed code as well as native code and can be used for
debugging applications written in any language supported by visual studio. In addition, it can also
attach to run processes and monitor and debug those processes. Other built-in tools include a forms
designer for building GUI applications, Web designer, class designer, and database schema
designer. It accepts plug-ins that enhance the functionality at almost every level-including adding
support for source-control systems (like Subversion) and adding new toolsets like editors and visual
designers for domain-specific languages or toolsets for other aspects of the software development
lifecycle. In visual studio, a solution is a set of code files and other resources that are used to build
an application. The files in a solution are arranged, hierarchically, which might or might not reflect
the organization in the file system. The server explorer tool is used to manage database connections
on an accessible computer.

Visual studio supports different programming languages and allows the code editor and
debugger to support (to varying degrees) nearly any programming language, provided a language-
specific service exists. Built-in languages include C, C++ and C++/CLI (via Visual
C++),VB.NET(via Visual Basic.NET), C#(via Visual C#), and F#(as of Visual Studio 2010).
Support for other languages such as Python, Ruby, Node.js, and M among others is available via
language services installed separately. It also supports XML/XSLT, HTML/XHTML, JavaScript

10
and CSS. Java (and J#) were supported in the past.

ASP.NET FRAMEWORK
ASP.NET is an open-source server-side web application framework designed for web
development to produce dynamic web pages. The .NET Framework is a new computing platform
that simplifies application development in the highly distributed environment of the Internet. To
provide a consistent object-oriented programming environment whether object codes is stored and
executed locally on Internet-distributed, or execute remotely. There are different types of
application such as Windows-based application and web application applications. To make
communication on distributed environment to ensure that code be accessed by the .NET Framework
can integrate with any other code.

COMPONENTS OF .NET FRAMEWORK

COMMON LANGUAGE RUNTIME (CLR)


The common language runtime is the foundation of the .NET Framework. It manages code
at execution time, providing important service such as memory management, thread management,
and remoting and also ensures more security and robustness. The concept of code management is a
fundamental principal of runtime. Code that targets the runtime is known as managed code, while
code that does not target the run time is known as unmanaged code.

THE .NET FRAMEWORK CLASS LIBRARY:


This is also called as Base Class Library and it is common for all types of applications. The
.NET Framework class library is a collection of reusable types that tightly integrate with the
common language runtime. The class library is object oriented, providing types from which your
own managed code can derive functionality. This not only makes the .NET Framework types easy
to use, but also reduces the time associated with learning new features of the .NET Framework. In
addition, third-party components can integrate seamlessly with classes in the .NET Framework.

11
SQL DATABASE SERVER
Microsoft SQL Server is a relational database management system designed for the
enterprise environment. SQL Server comprises a set of programming extensions to enhance the
Structured Query Language, a standard interactive and programming language for getting
information from and updating the database. SQL Server provides a new features related to data
storage, primarily intended to improve performance.

A new storage features introduced in SQL Server is File Table Storage. File table is the new
type of table that was added in SQL Server. File table allows for windows applications to access the
files that are part of the file table definition. With SQL Server debugging has been enhanced to the
development experience.

SQL SERVER database consist of six type of objects, they are


1. Table

2. Query

3. Form

4. Report

5. Macro

TABLE:
A database is a collection of data about a specific topic.

VIEWS OF TABLE:
We can work with a table in two types

1. Design View

2. Datasheet View

DESIGN VIEW:
To build or modify the structure of a table we work in the table design view. We can specify
what kind of data will be hold.

12
DATASHEET VIEW:

To add, edit or analyses the data itself we work in tables datasheet view mode.

QUERY:
A query is a question that has to be asked the data. Access gathers data that answers the
questions from one or more table. The data that make up the answer is either dyna set (if you edit it)
or a snapshot (it cannot be edited). Each time we run query we get latest information in the dyna set.
Access either displays the dyna set or snapshots for us to view or perform an action on it such as
deleting or updating.

FORMS:
A form is used to view and edit information in the database record by record. A form
displays only the information we want to see in the way we want to see it. Forms use the familiar
controls such as textboxes and checkboxes. This makes viewing and entering data easy.

REPORT:
A report is used to view and print information from the database. The report can ground
records into many levels and compute totals and average by checking values from many records at
once. Also the report in attractive and distinctive because we have control over the size and
appearance of it.

MACRO:
A macro is a set of actions. Each action in macros does something. Such as opening a form
or printing a report. We write macros to automate the common tasks the work easy and save the
time.

13
SYSTEM ANALYSIS

EXISTING SYSTEM:
In the existing system, it does not provide any refund facilities and provision for reallocation of
seats. Also it does not provide the customer the complete information of the movie, such as
customers movie reviews, customer ratings etc., As far as concerned to project its defined as the
system which presently we are using and the proposed system is the new techniques implemented to
the existing project if any mistake was happened. Moreover, the customer needs to visit theater for
booking seats. Further, they don't have the data about the movie which is in the cinema lobby, its
show times and distinctive rates of the ticket. .The client will be most likely unable to get data about
various film halls available in the city. In this way, in the event that he wishes to see a movie on a
specific day he needs to first meander around the city to discover where it is being appeared at the
particular time.

Next one is unavailability of booking tickets for people those who don’t have bank account or
those who doesn’t have insufficient balance else the people who don’t want to link their bank
account and reveal their data in the online payment procedure. One of the major problems is waiting
in a queue for parking. We have to stand in a long queue to park our bike and car. And it may affect
the mobile timing. It would lead to miss the movie scenes.

PROPOSED SYSTEM:
In the proposed system, that is made for providing the customer an anytime and anywhere
service for booking the seat in the cinema hall and to gather information about the updated movies.
The user can easily be able to know about the movies released and then make their choice. In order
to overcome the existing problem, we are making this system as online and offline through
telecommunication and that shows every information about any cinema hall, movie, snacks, vehicle
parking and cancellation ticket can be done by online and as well as offline mode. This helps the
customer to get better facilities at his own computer or laptop. And the proposed system also makes
the user to select their snacks and the snacks will be provided at their respective seats, so the user
can’t waste their time standing on the queue. An also the main thing done by the proposed system is
parking selection at online, it will be easy to the user to save their time. The proposed system used
to minimize the number of staff the. ticket count and to promote the publicity through internet

14
facilities. To increase the profit and to obtain the statistic information from the booking records.

The next problem to be faced is parking. We have to stand in a queue for long time, here the
parking can also be booked through online. So that we can be placed inside the theatre on time and
enjoy the movie. Instead of waiting for long time in the queue itself.

5. PROJECT DESCRIPTION
This project is aimed at being more user friendly with the movie lovers. To overcome three
major problems this project is designed, which is standing in a queue for parking, unavailability,
cancelling the tickets, snacks and unavailability of paying on spot along with book tickets. These
are some of the major problems that the user's may face. We have added an option of spot pay with
online and to book for 2wheeler and 4wheeler parking and at last a cancelling option to cancel all
these. Movies will be updated on, as this is a major project we have just created options for the
obstacles. In further when it is scheduled to real time the transaction, alert message, etc....
everything can be securely made.

LIST OF MODULES:
1. User

2. Movies

3. Theatre

4. Admin

USER:
In user module the user signup to the website and login to it. After login page is success the
popup message with "Login Success" will appear and proceeds to next page. Otherwise a pop up
message with "Login Failed" will appear and stay backs in the same page.

MOVIES:
In movies the user can view the available movies and the admin can add the updated movies
so the latest movies will be updated.

THEATRE:

15
In this module user can view the seating information for the booked tickets and address of
the respective theatre. The user can view the parking availability and snacks while booking the
tickets. Admin provides further information and FAQ about the theatre.

ADMIN:
This page is totally for admin. Admin login their respective login id and password, and the
admin will provide the movie and theatre information admin will also analysis the tickets booked
and yet to book.

CANCELLATION:
Here the user can cancel the tickets which they have booked. This helps to store the
cancelled tickets details.

6.1 DATABASE DESIGN


USER TABLE:
FIELD NAME DATATYPE CONSTRAINT
S.no Int Primary key
First Name Varchar(50) Not Null
Last Name Varchar(50) Not Null
User Name Varchar(50) Not Null
Contact Varchar(50) Not Null
Address Varchar(50) Not Null
Email Varchar(50) Not Null
Password Varchar(50) Not Null
6.1.1 Database design for user tab

16
THEATRE:
FIELD NAME DATATYPE CONSTRAINT
S.no Int Primary key
Theatre Varchar(50) Not Null
Address Varchar(50) Not Null
Movie Varchar(50) Not Null
Cast Varchar(50) Not Null
Photos Varchar(50) Not Null
Morning Varchar(50) Not Null
First Varchar(50) Not Null
Second Varchar(50) Not Null
Duration Varchar(50) Not Null
Status Varchar(50) Not Null
6.1.2 database design for theatre table

SEATS:
FIELD NAME DATATYPE CONSTRAINT
Id Int Primary key
Seating Varchar(50) Not Null
Cost Int Primary key
6.1.3 database design for seats table

TICKET BOOKING:
FIELD NAME DATATYPE CONSTRAINT
S.no Int Primary key
Movie Varchar(50) Not Null
Today Date Varchar(50) Not Null

17
User id Varchar(50) Not Null
Seat Booked Varchar(50) Not Null
No of Seat Varchar(50) Not Null
Amount Varchar(50) Not Null
Status Varchar(50) Not Null
Check Varchar(50) Not Null
Running Varchar(50) Not Null

6.1.4 database design for ticket booking table

6.2 ER-DIAGRAM

PASSWORD AMOUNT
DATE TIMING
USERNAME
GGGG

ADMIN VIEW BOOKINGS


DETAILS

USERID

MANAGE STATUS
RECORDS SEAT MOVIE

BOOKED

B
18
USER NAME ADDRESS
MOVIE
MOBILE USER INFO
SELECTION
NUMBER

EMAIL ID PASSWORD PLACE

PARKING BOOKING TIME

SNACKS CINEMA
SEATS
MOVIE

figure 6.2.1Entity relationship for online movie booking ticket

6.4 DATAFLOW DIAGRAM:


LEVEL ZERO

CHECK
User & Proceed
Admin STAT to next
Authentica US stage
tion Hierarch
y

DB

Figure6.4.1 Zero level of DFD – online movie booking ticket

19
LEVEL ONE

Book Seat
User selection
Tickets

Payment
DB and
confirmatio
n ticket

Figure 6.4.2 Third level of DFD – online movie booking ticket

LEVEL TW0

Admin View booking and


payment details
DB

Figure 6.4.3 second level of DFD- online movie booking ticket

ALL LEVELS

View View Authentic


Admin Booking ation
Payment
Details

View booking and booking Movies and


payment type seats
details
DB

Figure 6.4.4 All levels of DFD-online movie booking ticket

20
6.3 HIERARCHIAL DIAGRAM:

ONLINE CINEMA
TICKET BOOKING

BOOKING BOOKING
DONE

USER MOVIE PAYMENT


INFORMATION SELECTION
ON

USER MOBILE EMAIL SPOT PAY ONLINE


NAME NUMBER ID
E

PLACE TIME CINEMA MOVIE SEATS SNAKS PARKING

ACCOUNT PIN BUY BOOK CANCEL


NUMBER NUMBER

figure 6.3.1 hierarchy chart of online movie booking ticket

21
SYSTEM ARCHITECTURE

SYSTEM ARCHITECTURE

Admin Payment and user


SYSTEM ARCHITECTURE
Authentication booking
details

Payment
Select movie and time
Authentication
and select seat

DATABASE

Admin View booking details


Authentication

Diagram: system architecture of online movie booking ticket

22
7. SOFTWARE IMPLEMENTATION AND TESTING

UNIT TESTING
Unit testing, a testing technique using which individual modules are tested to determine if
there are any issues by the developer himself. It is concerned with functional correctness of the
standalone modules. The main aim is to isolate each unit of the system to identify, analyze and fix
the defects.

Unit Testing - Advantages:

 Reduces Defects in the newly developed features or reduces bugs when changing the
existing functionality.

 Reduces Cost of Testing as defects are captured in very early phase.

 Improves design and allows better refactoring of code.

 Unit Tests, when integrated with build gives the quality of the build as well.

23
PERFORMANCE TEST:
The Performance test ensures that the output be produced within the time limits, and the
time taken by the system for compiling, giving response to the users and request being send to the
system for to retrieve the results.

INTEGRATION TESTING
Upon completion of unit testing, the units or modules are to be integrated which gives raise
to integration testing. The purpose of integration testing is to verify the functional, performance,
and reliability between the modules that are integrated.

ACCEPTANCE TESTING:

User Acceptance Testing is a critical phase of any project and requires


significant participation by the end user. It also ensures that the system meets the
functional requirements.

ACCEPTANCE TESTING FOR DATA SYNCHRONIZATION:


1. The Acknowledgements will be received by the Sender Node after the packets are
received by the Destination Node.
2. The Route add operation is done only when there is a Route request in need.

3. The Status of Nodes information is done automatically in the Cache

Updating process.

These are the software implementation and testing of the online movie booking
ticket.

24
8.SAMPLE CODING:

ADMIN

USER LOGIN:

using System;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.UI;

usingSystem.Web.UI.WebControls;

usingSystem.Data;

usingSystem.Data.OleDb;

usingSystem.Configuration;

public partial class _Default : System.Web.UI.Page

OleDbConnection con = new

OleDbConnection(ConfigurationManager.ConnectionStrings["mbk"].ConnectionString);

protected void Page_Load(object sender, EventArgs e)

25
{

protected void LinkButton1_Click(object sender, EventArgs e)

Response.Redirect("register.aspx");

protected void Button1_Click(object sender, EventArgs e)

con.Open();

stringFirstName = txtfirstname.Text;

stringEmailId = txtemail.Text;

string Password = txtpass.Text;

OleDbCommandcmd = new OleDbCommand("select FirstName,EmailId,Password from

registration where FirstName='"+txtfirstname.Text+"' and EmailId='" + txtemail.Text + "' and

Password='" + txtpass.Text + "'", con);

OleDbDataReaderdr = cmd.ExecuteReader();

if(dr.Read())

26
ScriptManager.RegisterStartupScript(this, this.GetType(), "", "<script>alert('Login

Success')</script>", false);

Response.Redirect("booktickets.aspx");

else

ScriptManager.RegisterStartupScript(this, this.GetType(), "", "<script>alert('Login Failed ..Try

Again..')</script>", false);

Response.Redirect("login.aspx");

USER REGISTER:

using System;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.UI;

usingSystem.Web.UI.WebControls;

27
usingSystem.Data;

usingSystem.Data.OleDb;

usingSystem.Configuration;

public partial class _Default : System.Web.UI.Page

OleDbConnection con = new

OleDbConnection(ConfigurationManager.ConnectionStrings["mbk"].ConnectionString);

protected void Page_Load(object sender, EventArgs e)

protected void Button1_Click(object sender, EventArgs e)

con.Open();

stringFirstName = txtfirstname.Text;

stringLastName = txtlastname.Text;

stringEmailId = txtemail.Text;

string Password = txtpass.Text;

stringConfirmPassword = txtconfpass.Text;

stringMobileNumber = txtnumber.Text;

28
string City = DropDownList1.Text;

string Address = txtaddr.Text;

string Country = DropDownList2.Text;

OleDbCommandcmd = new OleDbCommand("insert into registration

values('"+FirstName+"','"+LastName+"','"+EmailId+"','"+Password+"','"+ConfirmPassword+"','"

MobileNumber+"','"+City+"','"+Address+"','"+Country+"')",con);

cmd.ExecuteNonQuery();

con.Close();

Response.Write("<script language='javascript'>alert('Registration Sucessfully

Completed...');</script>");

Response.Redirect("login.aspx");

TICKET BOOKING:

using System;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.UI;

usingSystem.Web.UI.WebControls;

29
usingSystem.Data;

usingSystem.Data.OleDb;

usingSystem.Configuration;

public partial class _Default : System.Web.UI.Page

OleDbConnection con = new

OleDbConnection(ConfigurationManager.ConnectionStrings["mbk"].ConnectionString);

protected void Page_Load(object sender, EventArgs e)

txtbk.Text = "BK00" + getbkid();

protected void LinkButton1_Click(object sender, EventArgs e)

Session["bkid"] = txtbk.Text;

Response.Redirect("payment.aspx");

protected void btnsave_Click(object sender, EventArgs e)

con.Open();

stringBkID = txtbk.Text;

30
string Name = txtfirstname.Text;

string Date = txtdate.Text+TextBox1.Text+TextBox2.Text;

string City = city.Text;

string Theatre = theatre.Text;

string Movie = movie.Text;

string ShowTime = DropDownList2.SelectedValue.ToString();

intNoofTickets =Convert.ToInt32( DropDownList1.SelectedValue.ToString());

int Amount =Convert.ToInt32( txtamount.Text);

stringSeatNumber = txtseat.Text;

OleDbCommandcmd = new OleDbCommand("insert into booking values('" + BkID + "','" + Name

+ "','" + Date + "','" + City + "','" + Theatre + "','" + Movie +

"','"+ShowTime+"','"+NoofTickets+"','"+Amount+"','" + SeatNumber + "')", con);

cmd.ExecuteNonQuery();

ScriptManager.RegisterStartupScript(this,this.GetType(),"","<script>alert('Ticket Booking Done

Successfully.... Your BKID Number Is:" + txtbk.Text+"')</script>",false);

con.Close();

31
protected void btnselect_Click(object sender, EventArgs e)

Response.Redirect("seatselection.aspx");

protected void theatre_SelectedIndexChanged(object sender, EventArgs e)

movie.Items.Clear();

if (theatre.SelectedValue.ToString() == "Sathyam")

movie.Items.Add("--select--");

movie.Items.Add("Theri");

movie.Items.Add("Irumugan");

movie.Items.Add("Kabali");

movie.Items.Add("Legend of Tarzan");

if (theatre.SelectedValue.ToString() == "Abirami Megamall")

movie.Items.Add("--select--");

32
movie.Items.Add("Theri");

movie.Items.Add("Jilla");

movie.Items.Add("Appa");

movie.Items.Add("Conjuring 2");

if (theatre.SelectedValue.ToString() == "Mayajaal")

movie.Items.Add("--select--");

movie.Items.Add("Ghilli");

movie.Items.Add("Rekka");

movie.Items.Add("Remo");

movie.Items.Add("Thodari");

if (theatre.SelectedValue.ToString() == "Devi Cineplex")

movie.Items.Add("--select--");

movie.Items.Add("Theri");

movie.Items.Add("I");

movie.Items.Add("Kabali");

33
movie.Items.Add("MS Dhoni");

if (theatre.SelectedValue.ToString() == "Asian Cine Square")

movie.Items.Add("--select--");

movie.Items.Add("NenuSailaja");

movie.Items.Add("Bhaguabli");

movie.Items.Add("Majnu");

movie.Items.Add("Gentleman");

if (theatre.SelectedValue.ToString() == "Bhujanga Multiplex")

movie.Items.Add("--select--");

movie.Items.Add("Lion");

movie.Items.Add("Bhaguabli");

movie.Items.Add("Legend");

movie.Items.Add("Temper");

if (theatre.SelectedValue.ToString() == "PVR Cinemas")

34
{

movie.Items.Add("--select--");

movie.Items.Add("Khaidhi");

movie.Items.Add("Janatha Garage");

movie.Items.Add("BabuBanagaram");

movie.Items.Add("NenuSailaja");

if (theatre.SelectedValue.ToString() == "Sampoorna Theatre")

movie.Items.Add("--select--");

movie.Items.Add("Khaidhi");

movie.Items.Add("Janatha Garage");

movie.Items.Add("Srimanthudu");

movie.Items.Add("Magadheera");

if (theatre.SelectedValue.ToString() == "Q Cinemas")

movie.Items.Add("--select--");

movie.Items.Add("Premam");

35
movie.Items.Add("Puli");

movie.Items.Add("BabuBanagaram");

movie.Items.Add("Hero");

if (theatre.SelectedValue.ToString() == "Kokers")

movie.Items.Add("--select--");

movie.Items.Add("Rasathandram");

movie.Items.Add("Oppam");

movie.Items.Add("Premam");

movie.Items.Add("Theri");

if (theatre.SelectedValue.ToString() == "EVM cinemas")

movie.Items.Add("--select--");

movie.Items.Add("Oppam");

movie.Items.Add("AyalamGanano");

movie.Items.Add("Bangalore days");

movie.Items.Add("Second class");

36
if (theatre.SelectedValue.ToString() == "Cinepolis Theatre")

movie.Items.Add("--select--");

movie.Items.Add("RavanaPrabhu");

movie.Items.Add("Raja Manikam");

movie.Items.Add("Chemmen");

movie.Items.Add("Roja");

if (theatre.SelectedValue.ToString() == "Inox Cinemas")

movie.Items.Add("--select--");

movie.Items.Add("Happy Days");

movie.Items.Add("Anuragam");

movie.Items.Add("Immanuvel");

movie.Items.Add("Prajapathi");

if (theatre.SelectedValue.ToString() == "Rockline Cinemas")

movie.Items.Add("--select--");

37
movie.Items.Add("Mr.Ramachari");

movie.Items.Add("Janatha Garage");

movie.Items.Add("Theri");

movie.Items.Add("Bubli");

if (theatre.SelectedValue.ToString() == "Gopalan Cinemas")

movie.Items.Add("--select--");

movie.Items.Add("Stalin");

movie.Items.Add("Black Daaliya");

movie.Items.Add("Battle Ship");

movie.Items.Add("U351");

if (theatre.SelectedValue.ToString() == "Ganga Theatre")

movie.Items.Add("--select--");

movie.Items.Add("Pachakili");

movie.Items.Add("Puli");

movie.Items.Add("Pokiri");

38
movie.Items.Add("Majnu");

protected void movie_SelectedIndexChanged(object sender, EventArgs e)

protected void city_SelectedIndexChanged(object sender, EventArgs e)

theatre.Items.Clear();

if (city.SelectedValue.ToString() == "Chennai")

theatre.Items.Add("--select--");

theatre.Items.Add("Sathyam");

theatre.Items.Add("Abirami Megamall");

theatre.Items.Add("Mayajaal");

theatre.Items.Add("Devi Cineplex");

if (city.SelectedValue.ToString() == "Hyderabad")

39
theatre.Items.Add("--select--");

theatre.Items.Add("Asian Cine Square");

theatre.Items.Add("Bhujanga Multiplex");

theatre.Items.Add("PVR Cinemas");

theatre.Items.Add("Sampoorna Theatre");

if (city.SelectedValue.ToString() == "Kochin")

theatre.Items.Add("--select--");

theatre.Items.Add("Q Cinemas");

theatre.Items.Add("Kokers");

theatre.Items.Add("EVM Cinemas");

theatre.Items.Add("Cinepolis Theatre");

if (city.SelectedValue.ToString() == "Bangalore")

theatre.Items.Add("--select--");

theatre.Items.Add("Inox Cinemas");

theatre.Items.Add("RockLine cinemas");

40
theatre.Items.Add("Gopalan Cinemas");

theatre.Items.Add("Ganga Theatre");

publicintgetbkid()

int BKID = 0;

con.Open();

OleDbCommandcmd = new OleDbCommand("select count(*) from booking ", con);

BKID = Convert.ToInt16(cmd.ExecuteScalar()) + 1;

con.Close();

return BKID;

protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)

int c = Convert.ToInt32(DropDownList1.Text);

int tot = c * 120;

txtamount.Text = tot.ToString();

41
protected void Button1_Click(object sender, EventArgs e)

txtseat.Text = Session["Seats"].ToString();

PAYMENT:

using System;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.UI;

usingSystem.Web.UI.WebControls;

usingSystem.Data;

usingSystem.Data.OleDb;

usingSystem.Configuration;

public partial class _Default : System.Web.UI.Page

OleDbConnection con = new

OleDbConnection(ConfigurationManager.ConnectionStrings["mbk"].ConnectionString);

42
protected void Page_Load(object sender, EventArgs e)

Panel1.Visible = false;

Panel2.Visible = false;

Panel3.Visible = false;

Session["type"] = DropDownList1.SelectedIndex.ToString();

string BKID = Session["bkid"].ToString();

txtamnt.Text = BKID;

protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)

if(DropDownList1.SelectedValue.ToString()=="Debit Card")

Panel1.Visible = true;

Panel2.Visible = false;

Panel3.Visible = false;

txtpay.Text = DropDownList1.SelectedValue;

if(DropDownList1.SelectedValue.ToString()=="Credit Card")

43
{

Panel2.Visible = true;

Panel1.Visible = false;

Panel3.Visible = false;

txtpm.Text = DropDownList1.SelectedValue;

if (DropDownList1.SelectedValue.ToString()=="NET Banking")

Panel1.Visible = false;

Panel2.Visible = false;

Panel3.Visible = true;

pay.Text = DropDownList1.SelectedValue;

protected void btnsaving_Click(object sender, EventArgs e)

// string PaymentType = txtpm.Text;

// int CVV =Convert.ToInt32(txtcv.Text);

// string Password = txtpassword.Text;

44
con.Open();

OleDbCommandcmd = new OleDbCommand("insert into payment (PaymentType,CVV,Password)

values ('" + txtpm.Text + "','" + Convert.ToInt32(txtcv.Text) + "','" + txtpassword.Text + "')", con);

cmd.CommandType = CommandType.Text;

cmd.ExecuteNonQuery();

con.Close();

protected void btnok_Click(object sender, EventArgs e)

stringPaymentType = txtpay.Text;

intCardNumber = Convert.ToInt32(txtcard.Text);

int CVV = Convert.ToInt32(txtcvv.Text);

stringExpiryDate = txtepdate.Text + txtyear.Text;

con.Open();

OleDbCommandcmd = new OleDbCommand("insert into payment

(PaymentType,CardNumber,CVV,ExpiryDate) values ('" + PaymentType + "','" + CardNumber +

"','" + CVV + "','" + ExpiryDate + "')", con);

cmd.ExecuteNonQuery();

con.Close();

45
}

protected void btnsave_Click(object sender, EventArgs e)

stringPaymentType = pay.Text;

stringNetID = txtid.Text;

intMobileNumber = Convert.ToInt32(txtmobile.Text);

con.Open();

OleDbCommandcmd = new OleDbCommand("insert into payment

(PaymentType,NetID,MobileNumber) values ('" + PaymentType + "','" + NetID + "','" +

MobileNumber + "')", con);

cmd.ExecuteNonQuery();

con.Close();

protected void Button1_Click(object sender, EventArgs e)

Response.Redirect("confirmation.aspx");

protected void Button2_Click(object sender, EventArgs e)

Response.Redirect("confirmation.aspx");

46
}

protected void Button3_Click(object sender, EventArgs e)

Response.Redirect("confirmation.aspx");

TICKET CONFRIMATION:

using System;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.UI;

usingSystem.Web.UI.WebControls;

usingSystem.Data;

usingSystem.Data.OleDb;

usingSystem.Configuration;

public partial class _Default : System.Web.UI.Page

OleDbConnection con = new

47
OleDbConnection(ConfigurationManager.ConnectionStrings["mbk"].ConnectionString);

protected void Page_Load(object sender, EventArgs e)

//string ID = Session["bk"].ToString();

//txtres.Text = ID;

bind();

public void bind()

protected void DetailsView1_PageIndexChanging(object sender, DetailsViewPageEventArgs e)

protected void Button1_Click(object sender, EventArgs e)

con.Open();

OleDbCommandcmd = new OleDbCommand("select

BKID,Name,Date,City,Theatre,Movie,ShowTime,NoOfTickets,SeatNumber from booking where

BKID='" + txtres.Text + "'", con);

48
OleDbDataAdapterdr = new OleDbDataAdapter(cmd);

DataSet ds = new DataSet();

dr.Fill(ds);

if (ds.Tables[0].Rows.Count> 0)

DetailsView1.DataSource = ds;

DetailsView1.DataBind();

bind();

con.Close();

49
9. SCREEN LAYOUTS

HOME

LOGIN

50
MOVIE INFO

TICKET BOOKING

51
ADMIN PAGE

ADD MOVIE DETAILS

52
PAYMENT

BOOKING DETAILS

53
11. CONCLUSION AND FUTURE ENHANCEMENT

CONCLUSION:
The entire project has been developed and deployed as per the requirements stated by the
user, it is found to be bug free as per the testing standards that is implemented. Any specification-
untraced errors will be concentrated in the coming versions, which are planned to be developed in
near future.

The system at present does not take care of the money payment methods, as the
consolidated constructs need SSL standards and are critically to be initiated in the first face; the
application of the credit card transactions is applied as a developmental phase in the coming days.
The system needs more elaborative technicality for its inception and evolution.

FUTURE ENHANCEMENT:

As this is minor project we have done everything in a simple manner when this project is
developed in future it may have future developments and specialized features like real time payment
and more attractive display.

This project is aimed at being more user friendly with the movie lovers. To
overcome three major problems this project is designed, which is standing in a queue for parking,
unavailability, cancelling the tickets, snacks and unavailability of paying on spot along with
booking tickets. These are some of the major problems that the user's may face.

We have added an option of spot pay with online and to book for 2wheeler and
4wheeler parking and at last a cancelling option to cancel all these bookings. Movies will be
updated on, as this is a major project we have just created options for the obstacles. In further when
it is scheduled to real time the transaction, alert message, etc.... everything can be securely made.

54
12. BIBLIOGRAPHY

REFERENCE BOOKS:
 Beginning ASP.NET 3.5 in c# and VB book by Imar Spaanjaars.
 Beginning ASP.NET 3.5 in c# 2008-2nd edition by Matthew MacDonald.
 My Sql-5th edition (developer library) by Paul dubosis.

WEBSITE:
http://www.slideshare.com

http://www.codeproject.com

http://www.msdn.microsoft.com

http://www.monsterawler.com

http://www.w3schools.com

55

You might also like