You are on page 1of 32

ONLINE THEATER BOOKING TICKET BOOKING

A PROJECT REPORT

Submitted by

Rashi Hunka & Kanchan Thakuwani

Under the supervision of

Mrs. Padmavati Mam

In partial fulfillment of fourth semester project


for the award of the degree

of

MASTER OF COMPUTER APPLICATIONS

Department of Computer Applications

BHILAI INSTITUE OF TECHNOLOGY


DURG

April 2011

Department of Computer Application, BIT, and DURG Page 1


Certificate of Completion

This is to certify that the dissertation entitled “ONLINE THEATER TICKET BOOKING SYSTEM” carried

out by RASHI HUNKA & KANCHAN THAKUWANI, student of FOURTH SEMESTER, MASTER OF

COMPUTER APPLICATION [2009-2012], of BHILAI INSTITUTE OF TECHNOLOGY, DURG, is hereby

accepted and approved as a credible work submitted in the partial fulfillment for the requirement of

degree of MCA from CSVTU, BHILAI, It’s a bona –fide record of the work done by him under my

supervision during his MCA fourth semester. The system has been implemented and running

successfully.

M.V.Padmavati
Project Guide

HOD
Department of Computer Application
BHILAI INSTITUTE OF TECHNOLOGY, DURG

Department of Computer Application, BIT, and DURG Page 2


DISSERTATION CERTIFICATE

This is to certify that the dissertation entitled “ONLINE THEATER TICKET BOOKING SYSTEM” by
RASHI HUNKA & KANCHAN THAKUWANI, student of FOURTH SEMESTER, MASTER OF
COMPUTER APPLICATION, session [2009-2012], of BHILAI INSTITUTE OF TECHNOLOGY, DURG,
affiliated to CHHATTISGARH SWAMI VIVEKANAND TECHNICAL UNIVERSITY, BHILAI, is hereby
accepted and approved as a credible work. It is further certified that this work has not been submitted for
similar purpose anywhere else. His work has been found satisfactory for the partial fulfillment of the award
of the degree of MCA.

Internal Examiner External Examiner

Department of Computer Application, BIT, and DURG Page 3


Declaration

We hereby declare that the project work entitled “ONLINE THEATER TICKET BOOKING SYSTEM” is
an authenticated work carried out by me at BIT, DURG under the guidance of Mrs. M.V. Padmavati in
the fourth semester for the partial fulfillment of the award of the degree of MASTER OF COMPUTER
APPLICATION and this work has not been submitted for similar purpose anywhere else except to
Department of Computer Application, BHILAI INSTITUTE OF TECHNOLOGY, DURG, affiliated to
CHHATTISGARH SWAMI VIVEKANAND TECHNICAL UNIVERSITY, BHILAI.

Date:
Place: Name and signature of student
RASHI HUNKA
KANCHAN THAKUWANI

Department of Computer Application, BIT, and DURG Page 4


Acknowledgement

It is high privilege for me to express my deep sense of gratitude to all those faculty members
who helped me in the completion of the project…

Rashi Hunka
Kanchan Thakuwani

Department of Computer Application, BIT, and DURG Page 5


Table of Content
1. Introduction
1.1 Abstract of Project
1.1.1 Title of the Project
1.1.2 Objective

1.2 Problem Specification/Need of Project

2. Feasibility Study
3. Software Requirement Specifications
3.1 Introduction
3.2 Selection of Technology/Specific Requirements
4. Design
4.1 ER Diagram
4.2 Data Flow Diagram (0 & 1 Level)
4.3 Database
4.4 Input-Output form (Screen Layout)
5. Coding
6. Implementation/Technological Environment
7. Testing & Result
8. Enhancement
9. Limitations
10. Conclusion
11. Bibliography

Department of Computer Application, BIT, and DURG Page 6


1. Introduction

1.3 Abstract of Project

As this project is a huge one to maintain. The actual goal is to provide the
facilities of complete management and to improve the capability and
working progress of user and take out them from hectic paper work. This
project not only manages the records and keep details but also generate
the reports too.

Department of Computer Application, BIT, and DURG Page 7


1.3.1 Title of the Project
ONLINE THEATER TICKET BOOKING SYSTEM

1.3.2 Objective

As this project is a huge one to maintain. The actual goal is to provide the
facilities of complete management and to improve the capability and
working progress of user and take out them from hectic paper work. This
project not only manages the records and keep details but also generate
the reports too.

Department of Computer Application, BIT, and DURG Page 8


1.4 Problem Specification/Need of Project

1. Allow customer to book ticket online without wasting the time.


2. Customer can book ticket in advance.
3. User friendly environment.
4. Facility of watching promo.
5. Reduce paper work.

Department of Computer Application, BIT, and DURG Page 9


2. Feasibility Study

Three key consideration are involve in the feasibilty analysis:

 Economic
 Technical
 Behavior

Analysis

Analysis is the process of that gives the system analyst a complete and
through understanding of a system that is necessary prerequisite before proceeding.

The first step in analysis is the process of the data gathering. Following
source may be used for the collection.

 Observation Existing Procedure


 Questionnaires
 Interviews
 Data Collection

System Analysis And Design:


System analysis and design are the application of the system approach to
problem solving,generally using computer.To reconstruct a system the analyst
must consider its elements,outputs and inputs,processors,controls,feedback and
environment.

After identification of the problem and testing its feasibility,we have


analyzed the projet closely and gathered the related data from concerned people.
We contacted authorized people to collect the student data,subject details of course
and teachers assigned.

Department of Computer Application, BIT, and DURG Page 10


3. Software Requirement Specifications
3.1 Introduction

The software, Site Explorer is designed for management of web sites from a remote location.
Purpose: The main purpose for preparing this document is to give a general insight into the
analysis and requirements of the existing system or situation and for determining the operating
characteristics of the system.
Scope: This Document plays a vital role in the development life cycle (SDLC) and it describes
the complete requirement of the system. It is meant for use by the developers and will be the
basic during testing phase. Any changes made to the requirements in the future will have to go
through formal change approval process.

DEVELOPERS RESPONSIBILITIES OVERVIEW:

The developer is responsible for:


 Developing the system, which meets the SRS and solving all the requirements of the system?
 Demonstrating the system and installing the system at client's location after the acceptance
testing is successful.
 Submitting the required user manual describing the system interfaces to work on it and also
the documents of the system.
 Conducting any user training that might be needed for using the system.
Maintaining the system for a period of one year after installation

Department of Computer Application, BIT, and DURG Page 11


3.2 Selection of Technology/Specific Requirements

Hardware Requirements:
 PIV 2.8 GHz Processor and Above
 RAM 512MB and Above
 HDD 40 GB Hard Disk Space and Above

Software Requirements:
 WINDOWS OS (XP / 2000 / 200 Server / 2003 Server)
 Visual Studio .Net 2005 Enterprise Edition
 Internet Information Server 5.0 (IIS)
 Visual Studio .Net Framework (Minimal for Deployment) version 3.5
 SQL database server

Department of Computer Application, BIT, and DURG Page 12


4. Design

4.5 ER Diagram

Cus-name date Thea-name Movie-name

Ticket
booking
CUSTOMER THEATER

Show-time date category


Cus-id

Department of Computer Application, BIT, and DURG Page 13


4.1ER DIAGRAM

Row_no

Cus-id Cat_id Cat_name


Cat_nameme
category Categorics in theater

Select category
Cat_detail
Show_id_i cus-detail
d no_seat
booking
Mv_name Theater_detail Cat_id

Select movie name Avl_seat Row_no


Show_time

Mv_id

Mv_detail
Show_promo
Mv_name Time_detail time

Start_date
Last_date
Time_code
promo of movie

Promo_detai
l

Mv_id promo

Department of Computer Application, BIT, and DURG Page 14


4.6 Data Flow Diagram (0 Level)

CUSTOMER
Customer information

Ticket
booking
CUSTOMER
Ticket booked

Department of Computer Application, BIT, and DURG Page 15


4.7 Data Flow Diagram (1 Level)

CUSTOMER

1
Customer information cus_detai
l

2
movie information
mv_detail

3
Promo information
promo_detail

4
Theater information

thea_deta
il

Cat_detail
5
Cat
Information
CUSTOMER

Department of Computer Application, BIT, and DURG Page 16


4.1 Database

TABLE NAME-:Cust_detail
FIELD NAME DATA TYPE STATUS
NAME VARCHAR(50) -

CUSTOMER_ID INTEGER PRIMARY KEY

MODE OF PAYMENT MONEY NOT NULL

MOVIE ID INTEGER FOREIGN KEY

CATEGORY VARCHAR(50) FOREIGN KEY


ROW NO. INTEGER FOREIGN KEY
NO. OF SEATS INTEGER NOT NULL
DATE DATE & TIME NOT NULL

Department of Computer Application, BIT, and DURG Page 17


TABLE NAME-: THEATER_DETAIL

FIELD NAME DATA TYPE STATUS


THEATER ID INTEGER PRIMARY KEY

CATEGORY VARCHAR(50) NOT NULL

ROW NO. INTEGER NOT NULL

SEAT AVAILABLE INTEGER NOT NULL

Department of Computer Application, BIT, and DURG Page 18


TABLE NAME-: MOVIE_DETAIL
FIELD NAME DATA TYPE STATUS
MOVIE ID INTEGER PRIMARY KEY

MOVIE NAME VARCHAR(50) NOT NULL

START DATE DATE &TIME NOT NULL

LAST DATE DATE &TIME NOT NULL

MOVIE RATE INTEGER NOT NULL

Department of Computer Application, BIT, and DURG Page 19


TABLE NAME-: PROMO_DETAIL

FIELD NAME DATA TYPE STATUS


MOVIE ID INTEGER FOREIGN KEY

MOVIE PROMO VARCHAR(50) NOT NULL

Department of Computer Application, BIT, and DURG Page 20


TABLE NAME-: SHOW_DETAIL
FIELD NAME DATA TYPE STATUS
MOVIE ID INTEGER PRIMARY KEY

SHOW TIME DATE & TIME NOT NULL

Department of Computer Application, BIT, and DURG Page 21


TABLE NAME-: CAT_DETAIL
FIELD NAME DATA TYPE STATUS
CAT_ ID INTEGER PRIMARY KEY

CAT_NAME VARCHAR NOT NULL

4.4 Input-Output form (Screen Layout)

Department of Computer Application, BIT, and DURG Page 22


1. CUSTOMER DETAIL FORM

2. MOVIE DETAIL FORM

Department of Computer Application, BIT, and DURG Page 23


3. THEATER DETAIL FORM

Department of Computer Application, BIT, and DURG Page 24


4. PROMO DETAIL FORM

Department of Computer Application, BIT, and DURG Page 25


5. Coding

Department of Computer Application, BIT, and DURG Page 26


1. CUSTOMER DETAIL FORM

Imports System.Data.SqlClient
Partial Class cus_detail
Inherits System.Web.UI.Page

Public Function chk() As Integer


Dim cn As New SqlConnection
Dim select1 As String
cn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|
DataDirectory|\multiplex.mdf;Integrated Security=True;User Instance=True"
select1 = "select max(cus_id) from cus_detail"
Dim cmd As New SqlCommand(select1, cn)
Dim id As Integer
cn.Open()
id = cmd.ExecuteScalar
cn.Close()
Return id
End Function

Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e


As System.EventArgs) Handles Calendar1.SelectionChanged
c_date.Text = Calendar1.SelectedDate.Date
End Sub

Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As


System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Calendar1.Visible = True
End Sub

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles save.Click
Dim cn As New SqlConnection
Dim insertstmt As String
cn.ConnectionString = "Data
Source=.\SQLEXPRESS;AttachDbFilename=D:\asp_pro\App_Data\multiplex.mdf;Integra
ted Security=True;Connect Timeout=30;User Instance=True"
cn.Open()
insertstmt = "insert into cus_detail values('" & c_name.Text & "'," &
c_id.Text & ",'" & c_mode.SelectedItem.Text & "','" & c_mn.Text & "','" &
c_cat.SelectedItem.Text & "','" & c_rn.SelectedItem.Text & "'," & c_ns.Text &
",'" & Date.Parse(c_date.Text).Date & "','" & c_st.SelectedItem.Text & "')"
Dim cmd As New SqlCommand(insertstmt, cn)
cmd.ExecuteNonQuery()
cn.Close()

End Sub

Protected Sub add_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles add.Click
Dim id As Integer
id = chk()
id = id + 1
c_id.Text = id

Department of Computer Application, BIT, and DURG Page 27


save.Enabled = True
End Sub

Protected Sub updt_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles updt.Click
If Page.IsValid Then
Dim cn As New Data.SqlClient.SqlConnection
cn.ConnectionString = "Data
Source=.\SQLEXPRESS;AttachDbFilename=D:\asp_pro\App_Data\multiplex.mdf;Integra
ted Security=True;Connect Timeout=30;User Instance=True"
cn.Open()
Dim updatestmt As String
updatestmt = "update cus_detail set cus_id= " & c_id.Text &
",cus_name='" & c_name.Text & "',date='" & Date.Parse(c_date.Text).Date &
"',mode_pay='" & c_mode.Text & "',mv_name='" & c_mn.Text & "',category='" &
c_cat.Text & "',row_no=" & c_rn.Text & ",no_seat=" & c_ns.Text & ",show_time="
& c_st.Text & " where cus_id= " & c_id.Text & ""
Dim cmd As New Data.SqlClient.SqlCommand(updatestmt, cn)
cmd.ExecuteNonQuery()
cn.Close()
MsgBox("one record updated")
End If
End Sub

Protected Sub show_detail_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles show_detail.Click
Dim cn As New Data.SqlClient.SqlConnection
cn.ConnectionString = "Data
Source=.\SQLEXPRESS;AttachDbFilename=D:\asp_pro\App_Data\multiplex.mdf;Integra
ted Security=True;Connect Timeout=30;User Instance=True"
cn.Open()
Dim selectstmt As String
selectstmt = "select * from cus_detail where cus_id=" & c_id.Text
Dim cmd As New Data.SqlClient.SqlCommand(selectstmt, cn)
Dim reader As Data.SqlClient.SqlDataReader
reader = cmd.ExecuteReader
If reader.HasRows Then
reader.Read()
c_id.Text = reader("cus_id")
c_name.Text = reader("cus_name")
c_date.Text = reader("date")
c_st.SelectedItem.Text = reader("show_time")
c_mode.SelectedItem.Text = reader("mode_pay")
c_mn.SelectedItem.Text = reader("mv_name")
c_cat.SelectedItem.Text = reader("category")
c_rn.SelectedItem.Text = reader("row_no")
c_ns.Text = reader("no_seat")
End If
reader.Close()
cn.Close()
End Sub

Protected Sub c_date_TextChanged(ByVal sender As Object, ByVal e As


System.EventArgs) Handles c_date.TextChanged

End Sub

Department of Computer Application, BIT, and DURG Page 28


Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load

End Sub

Protected Sub Button1_Click1(ByVal sender As Object, ByVal e As


System.EventArgs) Handles Button1.Click
Dim cn As New Data.SqlClient.SqlConnection
Dim dbreader As String
cn.ConnectionString = "Data
Source=.\SQLEXPRESS;AttachDbFilename=D:\asp_pro\App_Data\multiplex.mdf;Integra
ted Security=True;Connect Timeout=30;User Instance=True"
cn.Open()
dbreader = "select sum(no_seat) from cus_detail"
'where date='" & Date.Parse(c_date.Text) & "',mv_name='" & c_mn.Text &
"',category='" & c_cat.Text & "',row_no=" & c_rn.Text & ",show_time=" &
c_st.Text & " )"
Dim cmd As New Data.SqlClient.SqlCommand(dbreader, cn)
Dim reader As Data.SqlClient.SqlDataReader
reader = cmd.ExecuteReader

If reader.HasRows Then
Dim d As Integer
reader.Read()
d = reader(0)
MsgBox(d)
End If
Dim c As Integer
c = 30 - dbreader
TextBox1.Text = c

reader.Close()
cn.Close()

End Sub

Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As


System.EventArgs) Handles TextBox1.TextChanged

End Sub
End Class

8. Enhancement

Department of Computer Application, BIT, and DURG Page 29


This project is complete in itself because it is developed according to the
demand of an institute and this project will fulfill all its requirements.

But there are some changes of future improvements too in this


project and it is good have this possibility of future updation, modifications,
because any project with no change of future updation is just useless.

In future following improvements which are possible in this project are:-

1. Compactness of software can be increased.


2. Better security.

9. Limitations

Department of Computer Application, BIT, and DURG Page 30


1. High security.
2. Ticket generation.
3. Graphical view of booking of seats.
4. Report generation.

10. Conclusion
Department of Computer Application, BIT, and DURG Page 31
As this project is a huge one to maintain. The actual goal is to provide the
facilities of complete management and to improve the capability and
working progress of user and take out them from hectic paper work. These
projects not only manage the records and keep details.

Department of Computer Application, BIT, and DURG Page 32

You might also like