Rainbow Entertainment

March 18, 2018 | Author: Amrendra Kumar | Category: Java Script, Sql, Runtime System, Databases, Html


Comments



Description

A PROJECT ON Rainbow Entertainment IncSUBMITTED BY:NAME: - CHANDAN KUMAR REG.NO. –R1100D5500918 BATCH CODE: - B130030 FACULTY NAME: - Mr. Rahul kumar NIIT CENTRE RANCHI DATE:27-09-2012 Certifications This is to certify that the project submitted by:Name: - CHANDAN KUMAR Reg.no:- R1100d5500918 In Partial Fulfillment of the Requirement for the award of “Information Search and analysis skill” project report is a good work carried out by him in my supervision and guidance. Date: - 27/09/2012 Project Guide (Rahul kumar mahto and Nitish singh) DECLARATION We hereby declare Inc” that the project to entitled the “Rainbow of Entertainment submitted department Information Technology, NIIT for partial fulfillment of the requirement for the award of Bachelor of Technology in Information Technology is a result of original work carried out by us. I also want to thank God who gives knowledge and potentiality to write this all documents clearly and present it in front of you readers. I am also grateful to our faculty Mr. hindrance in working of My Website. I would also like to . relatives and friends who help us in Project “Rainbow Entertainment inc . Rahul Kumar Mahto and Nitish Singh for his keen guidance and support while making project of this document in your hands. During the making project I feel lot of troubles such as crashing of Windows and damaged to computer hardware.Acknowledgment I am grateful to my parents. Objective: The main aim of this Rainbow Entertainment Inc is online booking tickets for various movies in Registered theatres by the users.mention the name of the person.Chandan kumar Abstract 1. Thanks everybody who directly or indirectly helps for presenting this file. . for providing his PC for presenting this application. And at last I would like to say a special thanks to NIIT who provides us a wonderful chance to present this document in front of you all readers.In asp there are some limitations. our friends. ticket cost for registered users 3. Problem Definition: Here details about Now playing movies and no of tickets available in a particular theatre for particular movie. Movie Details.  It is scripting language  It is very code complexity . Existing System: Present System developed in asp . 2. Rakesh Kumar Singh and Bhawna Jayshwal. sales and other details. INTRODUCTION PURPOSE OF PROJECT SCOPE OF PROJECT PROJECT OVERVIEW 2.Admin 2. 2. Proposed System: Asp. Booking tickets: In this details about booked tickets and tickets booking Admin can update and delete purchase. PROJECT ANALYSIS i. server controls It Supports language interoperability This project contains three modules 1 . 3. 4. CONTENTS 1. register users. ii. Users: In this users can see the showing movies and upcoming movies details . 4. i. SYSTEM DEVELOPMENT ENVIRONMENT PROJECT DESIGNING . iii.net Support code behind technology It supports different controls like html controls. Booking tickets 3. 3. Users 1 Admin: In this module administrator has to register the theatres assign movies to theatres. EXISTING SYSTEM PROPOSED SYSTEM H/W and S/W SPECIFICATIONS iii. There is server controls in asp  It Doesn’t Support language interoperabilty . ticket booking and Registering as members. ii. v. . iii. iv. Furthermore. This document will also include an easily traceable means by which the user can trace each functionality’s brief description to its full description. 8. PROJECT TESTING Performance Testing Unit Testing Integration Testing 6. DFD (Data Flow Diagrams) UML Diagrams ER Diagrams DB Design Screens 5. unit test supervisors.i. and any individuals involved in testing a new system in development. ii. Also included is a user interface specification whereby the user can demonstrate interface standards to be used in designing the system. i. iii. This document will also be used as a reference for the developers of The Testing Assistant for Regression Testing. CONCLUSION FUTURE ENHANCEMENT BIBLIOGRAPHY Project Introduction The purpose of this document is to present an overall description and listing of the functionality of The Testing Assistant for Regression Testing. considerations regarding non-functional requirements and system evolution are addressed. This document is intended for users of the system including Unit Testers. ii. It will explain the scope of the project as well as describe the system environment. 7. 1. the Overall Description and the Requirements Specification.PURPOSE OF PROJECT Manual Process Searching Select movie  users Select Theatre Book tickets Display ticket . Describe the two basic remaining sections. this overview will be less formal but more informative. Since there is already a Table of Contents.PROJECT OVERVIEW Describe the contents and organization of the rest of this document. 4. saving the time of multiple data entries. The user collect all information like as theatre Details and movie 8. If planned in an organized manner the users can be provided an online terminal where they can access the information at their own hands with out the basic intervention manually.theatre Details. 5. The actual process of the organization can be modularized into two different independent views  User view  System administrators view 2. 6. The user at any time can view the required information whether seats available for particular movie in a particular theatre.The User Can book tickets and After insert movie and theatre Details and display Payment Details. 1. and Check the user details . The information while it is collected can referentially be segregated into their respective databases from single window.Theatre details. 3. and User login and If you want to update personal Details and you and update.He can collect all information like as Movie Details. 7. Administrator is maintain the Movie Details .Why the new system? With the new system the following activities get more momentum. The user can first Registration in enter the Personal details. . The main aim of the project is any user without they can access the system through website at any time going to the company. 2. Theatre details. 3. PROJECT OVERVIEW It is a web based online project . SCOPE OF THE PROJECT The scope of project “Movie World” is to enable the User to select theatre and then book the desired seatnos in available seates. .Motive of this is to booking tickets online 3.list of theatres 1. Administrator module User module Ticket booking module 1) Administrator module: The Administrator is maintain the user Details . and Check the No of seats available . Administrator is Active the user for tickets 2.Movie details. As a new user also he can collect all information like as a movies Available . 2. admin got the DD/Check . User module . The Administrator check the user account details.9. Offer clear the Payment in bank. The user collect all information like Movies details.net Support code behind technology It supports different controls like html controls.Theatre Details. Proposed System: Asp. 6. 3.In asp there are some limitations. Existing System: Present System developed in asp .The user can first Registration in enter the Personal details. server controls It Supports language interoperability After understanding the existing system and understanding the need for developing a new system different people involved in the related activities have been consulted.  It is scripting language  It is very code complexity  There is server controls in asp  It Doesn’t Support language interoperability . Booking module: The Users will search for the movie and then go for theatre then booking the tickets online PROJECT ANALYSIS 5. and User login and If you want to update personal Details and you and update. The data needed for the study has been collected from company records. . H/W AND S/W SPECIFICATION SOFTWARE CONFIGURATION OPERATING PLATFORM RDBMS SOFTWARE FRONT END TOOL : : : WINDOWS 2000/NT/XP/Win7 : SQLSERVER 2005 VS.The computerization of this system would avoid the wrong interpretation and bad calculation of data . tasks. team information with details at the click of a button. source code. The record data is maintained and backed up such a way that data is not loss.The system help the user to see any documents. activities.HTML WHAT IS HTML? To publish information for global distribution.NET HARDWARE CONFIGURATION RAM HARD DISK : : 1028MB MINIMUM 120 GB SYSTEM DEVELOPMENT ENVIRONMENT 1. a kind of publishing mother tongue that . one needs a university-understood language.NET 2005 ASP. 3. The speed of the system could also increase. Retrieve online information via hypertext links. Some HTML Tags <HTML> :Starting an HTML tag <HEAD> : Creating a web page’s head <TITLE> : Giving a web page ‘s body </HEAD> : Ending a web pages head </BODY> : Ending a web pages body </HTML> :Ending a web page . tables. 4. ordering products etc. video clips. Publish online documents with headings. Design forms for conducting transactions with remote services. and other applications directly in the documents. for use in searching information.all computers may potentially understand. sound clips. 2. making reservation.. list. The publishing language used by the World Wide Web is HTML (Hyper Text Markup Language) HTML Gives Authors The Means To 1. text. at the click of a button 3. photos etc. Includes spreadsheets. JavaScript lets you embed programs right in your Web pages and run these programs using the Web browser.0 HTML 4. INTRODUCTION TO JAVA SCRIPT WHAT IS JAVA SCRIPT? JavaScript. richer tables and enhancements to form.<FORM> : Creating a HTML forms <INPUT TYPE=BUTTON> : Creating a buttons <INPUT TYPE=CHECKBOX> : Creating a checkboxes <INPUT TYPE=SUBMIT> : Creating a submit button <INPUT TYPE=TEXT> : Creating a text fields HTML 4. If you want .0 extends with mechanisms for style sheets. is the most popular Web scripting language today. offering improved accessibilities for people with disability 2. frames embedding objects. You place these programs in a <SCRIPT> element. originally supported by Netscape Navigator. scripting. improved support for right to left and mixed direction texts. you have access to the HTML of the page itself. 2. Form: Holds information about HTML forms in the current page. History: Holds the records of sites the Web browser has visited before reaching the current page. Objects of the JavaScript 1. images and anchors in it. including the all links. 5. . Document: Corresponds to the current Web page’s body. 3. Location: Holds information about the location of the current web page. Frame: Refers to a frame in the browser’s window. Using this object. EX: <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <SCRIPT LANGUAGE=”JavaScript”> </SCRIPT> </BODY></HTML> JAVASCRIPTS OBJECTS JavaScript is an object-oriented language.the script to write directly to the Web page. place it in the <BODY> element. 4. JavaScript comes with a number of predefined objects. 5. 7. Navigator: Refers to the browser itself. Window: Refers to the current browser window.6. 2. like a text field.NET Framework . 3. on Click: Occurs when an element is clicked. JAVASCRIPTS EVENTS Some of the events of JavaScript 1. on Reset: Occurs when the user clicks the reset button. 3. letting you determine what browser the user has. 4. on Change: Occurs when data in a control.NET Overview of the . on Focus: Occurs when an element gets the focus. JAVASCRIPTS FUNCTIONS Declaration of function Syntax: function function name () { … … } Write these functions in <SCRIPT> tag. changes. INTRODUCTION ABOUT . on Mouse Down: Occurs when a mouse button goes down. NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet.The . The . while also enforcing strict type safety and other forms of code accuracy that ensure security and robustness. including code created by an unknown or semi-trusted third party.NET Framework has two main components: the common language runtime and the . The class . • To provide a code-execution environment that guarantees safe execution of code. Code that targets the runtime is known as managed code. In fact. executed locally but Internet-distributed. such as Windows-based applications and Web-based applications. or executed remotely. while code that does not target the runtime is known as unmanaged code. • To make the developer experience consistent across widely varying types of applications. and remoting. providing core services such as memory management.NET Framework class library. The common language runtime is the foundation of the . You can think of the runtime as an agent that manages code at execution time. • To provide a code-execution environment that minimizes software deployment and versioning conflicts. The .NET Framework. • To build all communication on industry standards to ensure that code based on the . thread management.NET Framework is designed to fulfill the following objectives: • To provide a consistent object-oriented programming environment whether object code is stored and executed locally.NET Framework can integrate with any other code. the concept of code management is a fundamental principle of the runtime. • To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments. but also supports the development of third-party runtime hosts. the other main component of the . Features of the Common Language Runtime The common language runtime manages memory. The . .NET Framework. compilation. but with significant improvements that only managed code can offer.NET Framework not only provides several runtime hosts. thereby creating a software environment that can exploit both managed and unmanaged features. code safety verification. ASP. server-side environment for managed code.NET Framework can be hosted by unmanaged components that load the common language runtime into their processes and initiate the execution of managed code. thread execution. such as semitrusted execution and secure isolated file storage. such as Web Forms and XML Web services. and other system services.NET. object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the latest innovations provided by ASP. The . For example. Hosting the runtime in this way makes managed mobile code (similar to Microsoft® ActiveX® controls) possible.library. Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form of a MIME type extension). both of which are discussed later in this topic. ASP.NET hosts the runtime to provide a scalable. code execution. These features are intrinsic to the managed code that runs on the common language runtime. is a comprehensive. Using Internet Explorer to host the runtime enables you to embed managed components or Windows Forms controls in HTML documents.NET works directly with the runtime to enable Web Forms applications and XML Web services. but cannot access their personal data. enterprise network. The runtime enforces code access security. managed components are awarded varying degrees of trust. the class library. file system. while strictly enforcing type fidelity and type safety. The runtime also enforces code robustness by implementing a strict type. or network. registry-access operations. or local computer). yet take full advantage of the runtime. For example. The CTS ensures that all managed code is self-describing. depending on a number of factors that include their origin (such as the Internet. the runtime automatically handles object layout and manages references to objects. In addition. This means that a managed component might or might not be able to perform file-access operations. Language compilers that target the . even if it is being used in the same active application. releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors.and code-verification infrastructure called the common type system (CTS). For example. the managed environment of the runtime eliminates many common software issues. users can trust that an executable embedded in a Web page can play an animation on screen or sing a song. Any compiler vendor who chooses to target the runtime can do so.With regards to security. memory leaks and invalid memory references. The various Microsoft and third-party language compilers generate managed code that conforms to the CTS.NET Framework make . or other sensitive functions. The security features of the runtime thus enable legitimate Internet-deployed software to be exceptionally feature rich. and components written in other languages by other developers. programmers can write applications in their development language of choice. This means that managed code can consume other managed types and instances. The runtime also accelerates developer productivity. For example. Common Type System The common type system defines how types are declared. Meanwhile. A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it is executing. While the runtime is designed for the software of the future. Although the common language runtime provides many standard runtime services. while still enjoying the superior performance of the industry's best enterprise servers that support runtime hosting. and is also an important part of the runtime's support for crosslanguage integration. Finally. Language Interoperability Describes built-in support for cross-language interoperability and introduces the Common Language Specification. the runtime can be hosted by high-performance. This infrastructure enables you to use managed code to write your business logic. such as Microsoft® SQL Server™ and Internet Information Services (IIS). server-side applications. greatly easing the migration process for existing applications. and managed in the runtime. managed code is never interpreted.the features of the . Interoperability between managed and unmanaged code enables developers to continue to use necessary COM components and DLLs. it also supports software of today and yesterday. used. The runtime is designed to enhance performance. . the memory manager removes the possibilities of fragmented memory and increases memory locality-of-reference to further increase performance.NET Framework available to existing code written in that language. used.What is the Common Language Specification? Explains the need for a set of features common to all languages and identifies CLS rules and features.NET Framework. In addition to these common tasks. In addition. Scripted or hosted applications. the class library includes types that support a variety of specialized development scenarios. providing types from which your own managed code can derive functionality.NET Framework to develop the following types of applications and services: • • • Console applications. For example. Common Type System Describes how types are declared. third-party components can integrate seamlessly with classes in the . . . This not only makes the . you can use the . but also reduces the time associated with learning new features of the . The class library is object oriented.NET Framework. and managed by the common language runtime. Writing CLS-Compliant Code Discusses the meaning of CLS compliance for components and identifies levels of CLS compliance for tools.NET Framework types easy to use. Metadata and Self-Describing Components Explains the common language runtime's mechanism for describing a type and storing that information with the type itself. . NET Framework Class Library The . Windows GUI applications (Windows Forms).NET Framework class library is a collection of reusable types that tightly integrate with the common language runtime. 3. These are the types of applications that display windows or forms on the desktop. XML Web services. and so on. Client Application Development Client applications are the closest to a traditional style of application in Windows-based programming. Client applications usually employ windows. Managed Execution Process The managed execution process includes the following steps: 1. buttons. it is executed natively.NET applications. and other GUI elements. a just-in-time (JIT) compiler translates the MSIL into native code. as well as custom business applications such as data-entry tools. During this compilation. Compiling MSIL to native code At execution time. reporting tools. Choosing a Complier To obtain the benefits provided by the common language runtime. 2. and they likely access local resources such as the file system and peripherals such as printers. Windows services. has access to local resources. and includes graphical elements. code must pass a verification process that . you must use one or more language compilers that target the runtime. enabling a user to perform a task. Compiling your code to Microsoft Intermediate Language (MSIL) Compiling translates your source code into MSIL and generates the required metadata. Client applications include applications such as word processors and spreadsheets.• • • ASP.Another kind of client application is the traditional ActiveX control (now replaced by the managed Windows Forms control) deployed over the Internet as a Web page. menus. Every type's identity includes the name of the assembly in which it resides. DllMain. Microsoft intermediate language (MSIL) code in a portable executable (PE) file will not be executed if it does not have an associated assembly manifest.NET Framework. DOT. Note that each assembly can have only one entry point (that is. 4. Assemblies Overview Assemblies are a fundamental part of programming with the . Executing your code The common language runtime provides the infrastructure that enables execution to take place as well as a variety of services that can be used during execution. An assembly performs the following functions: • It contains code that the common language runtime executes. For more information about security boundaries as they apply to assemblies. see Assembly Security Considerations • It forms a type boundary. It forms a reference scope boundary. WinMain. The manifest also enumerates other assemblies on which it depends. A type called MyType loaded in the scope of one assembly is not the same as a type called MyType loaded in the scope of another assembly. 4.examines the MSIL and metadata to find out whether the code can be determined to be type safe.NET DATABASE CONNECTIVITY (ADO. or Main). The assembly's manifest contains assembly metadata that is used for resolving types and satisfying resource requests. It specifies the types and resources that are exposed outside the assembly. • It forms a security boundary.NET) . An assembly is the unit at which permissions are requested and granted. • Data Adapter: This object performs two tasks.ADO. Instead. no matter what the underlying data source is. DataReader and DataAdapter classes that’s optimized for a specific RDBMS . ADO.NET is how they deal with the challenge of different data sources. Second. Command. and retrieve data.NET uses a multilayered architecture that revolves around a few key concepts. However. according to the modifications you’ve made in a Dataset. you use the same Connection class you would use to tackle the same task with SQL Server. if you want to retrieve a record from an Oracle database.NET doesn’t include generic data provider objects. • Command: You use this object to execute SQL commands and stored procedures. you can use it to apply changes to a data source. a data provider is a bridge between your application and a data source. Command. and Dataset objects. ADO. it includes different data providers specifically designed for different types of data sources. First. This isn’t the case in ADO. forward-only access to the data retrieved from a query. In ADO. the ADO. One of the key differences between ADO and ADO. The classes that make up a data provider include the following: • Connection: You use this object to establish a connection to a data source.NET.NET Data Providers A data provider is a set of ADO. such as Connection. you can use it to fill a Dataset (a disconnected collection of tables and relationships) with information extracted from a data source. For example. which uses a data provider model. programmers always use a generic set of objects.NET classes that allows you to access a specific database. Essentially. • Data Reader: This object provides fast read-only. Each data provider has a specific implementation of the Connection. execute SQL commands.NET architecture is quite a bit different from classic ADO. In other words. • ODBC Provider: Provides access to any data source that has an ODBC driver. developers can create their own provider for proprietary data sources. Some third-party vendors also sell custom providers for . a. you’ll use a connection class named SQL Connection. CLASSIFICATION OF DATABASE There are 3 types of database approaches given below.0 or later). • OLEDB Provider: Provides access to any data source that has an OLEDB driver. For example. This includes SQL Server databases prior to version 7. DATA ABSTRACTION A major purpose of a database system is to provide users with an abstract view of the data. 2.NET. The efficiency lead to the design of complex data structure for the representation of data in the database. if you need to create a connection to a SQL Server database. However in order for the system to be usable.(Relational database management system). The .RDBMS CONCEPTS 1. In fact. This system hides certain details of how the data is stored and maintained. This accomplished by defining several levels of abstraction at which the database may be viewed.NET Framework is bundled with a small set of four providers: • SQL Server Provider: Provides optimized access to a SQL Server database(version 7. • Oracle Provider: Provides optimized access to an Oracle database(version 8i or later). Hierarchical Database: .NET provider model is that it’s extensible.0. 5. such as the file system or a directory service. Certain complexity must be hidden from the database system users.NET providers to wrap no relational data stores. numerous proof-of-concepts examples are available that show how you can easily create custom ADO. data must be retrieved efficiently. One of the key underlying ideas of the ADO. In this approach record occurrence can have any number of superiors as well as any number of immediate dependents thus allow many to many correspondence directly than an hierarchical approach. data is represented by Network structure. Network Database: In a Network database. the root may have any number of dependents. 6. b. The main disadvantage of the Network model is data representation is very complex resulting in complexity of the DML (Data Manipulation Language). Features Of SQL 1. when we use SQL we specify what we want to be done not how to do it. SQL is an interactive query language. SQL is a database gateway language. Relational Database: The Relational model represents data and relationships among data by a collection of tables each of which has a number of columns with unique names. 5. c. The disadvantages of the approach are that no independent record occurrence can exist without it’s superior.In this type of model data is represented in simple tree structured. SQL is a distributed database language. SQL is a database administration language.. SQL is a client/server language. 2. 4. The record at the top of three is known as root. 3.e. Each of these may have any number of low level dependents and so on up to any number of levels. SQL is a non-procedural i. 6.THE SQL LANGUAGE SQL is a language for relational database. SQL is a database programming language. Basic SQL Commands . where as the data stores are place where data structures are kept until needed. • The content level DFD is provided to have an idea of the functional inputs and outputs that are achieved through the system.Data Flow Diagrams: Data flows are data structures in motion. • The relation upon the system is structure through a conceptual ERDiagram. The overall systems existential idea is derived from this diagram. along which data structures travel. while data stores are data structures. Hence it is possible that the data flow and the data store would be made up of the same data structure. Data flows are data structures in motion. Data flows are paths or ‘pipe lines’. 1.Data Definition Language commands (DDL) Data Manipulation Language commands (DML) Transaction Control Language commands (TCL) Data control Language commands (DCL) PROJECT DESIGNING Design Document • The entire system is projected with a physical diagram which specifics the actual storage parameters that are physically necessary for any database to be stored on to the disk. while data stores are data structures at rest. The system depicts the input and out put standards at the high level of the systems existence. . which not only specifics the existential entities but also the standard relations through which the system exists and the cardinalities that are necessary for the system state to continue. . may be as simple as buffer of queue or as a relational database. A DFD does not show a sequence of steps. Identify and label each process internal to the system with rounded circles. it is a diagrammatic approach. A DFD only shows what the different process in a system is and what data flows between them. Organize the DFD so that the main sequence of the actions reads left to right and top to bottom. Identify all inputs and outputs. • Do not indicate hardware and ignore control information.. never connect a data store to a data source or the destinations or another data store with just a data flow arrow. A process is required for all the data transformation and transfers.e. DATAFLOWS RULES FOR DFD: • • • • • DATASTORE:A repository of data that is to be stored for use by one or more processes.Data flow diagrams is a very handy tool for the system analyst because it gives the analyst the overall picture of the system. A DFD is a pictorial representation of the path which data takes From its initial interaction with the existing system until it completes any interaction. The diagram will describe the logical data flows dealing the movements of any physical items. The DFD also gives the insight into the data that is used in the system i. who actually uses it is temporarily stored. Therefore. The following are some DFD symbols used in the project External entities Process: A transaction of information that resides within the bounds of the system to be module. Fix the scope of the system by means of context diagrams. Indicate external sources and destinations of the data. The input and output data shown should be consistent from one level to the LEVEL-0: SYSTEM INPUT/OUTPUT LEVEL A level-0 DFD describes the system-wide boundaries. When exploded into DFD They are represented by: • • • next. except simple Record retrievals. There can’t be unnamed data flow. LEVEL-0 : SYSTEM INPUT/OUTPUT LEVEL-1:SUBSYSTEM LEVEL DATAFLOW FUNCTIONAL LEVEL-2 : FILE LEVEL DETAIL DATA FLOW. Label data flow on each arrow. an Overview of the different systems in an organization is shown by the way of context analysis diagram. dealing inputs to and outputs from the system and major processes. Use details flow on each arrow.• • • • • • • • • • LEVELS OF DFD: Make sure the names of the processes accurately convey everything the process is done. detailing the data flows between subsystems. . LEVEL-1: SUBSYSTEM LEVEL DATA FLOW A level-1 DFD describes the next level of details within the system. A data flow can’t connect two external entities. which makeup the whole. There must not be unnamed process. Identify all data flows for each process step. This diagram is similar to the combined user-level context diagram. Use the details flow arrow to indicate data movements. Number each occurrence of repeated external entities. At the top level. with squares. The complexity of the business system means that it is a responsible to represent the operations of any system of single data flow diagram. It is both necessary and prudent to evaluate the feasibility of the project at the earliest possible time. Feasibility and the risk analysis are pertained in many ways.LEVEL-2: FILE LEVEL DETAIL DATA FLOW All the projects are feasible given unlimited resources and infinite time. If project risk is great. FIRST LEVEL DTAFLOW DIAGRAM Reports on the user Information Administrator Information Module Reports on the movie information Reports on the Theatre Information Management Movie World Reports user Profile and Available seats User information Module 2nd Level DFDs . 1 Check for Scheme s Insert Admin Master User Master Page User Master Insert User Account Verify Data 2.2 Check for the DFD For User Account Verify Data Insert User Account Details 2.1 Check for User Account Verify Data 3.1 Check for Employee Verify Data 3.3 User Master .DFD For Admin Admin Master Admin Master Admin Master Insert Admin Verify Data 3.1 Check for the User Profile Verify Data 2. DFD For Booking . • A UML system is represented using five different views that describe the system from distinctly different perspective. Each view is defined by a set of diagram. ii.Home Master Home Master Insert user Verify Data 2. The analysis representation describes a usage scenario from the endusers perspective.3 Admin Master 2. User Model View i. Unified Modeling Language Diagrams(UML): • The unified modeling language allows the software engineer to express an analysis model using the modeling notation that is governed by a set of syntactic semantic and pragmatic rules. which is as follows. Structural model view .2 Check for the Admin Address Verify Data Insert 2. This view represents the system from the users perspective.1 Search for the Available seats Verify Data 2. which focuses on the behavioral modeling. . implementation modeling and environmental model views. depicting the interactions of collection between various structural elements described in the user model and structural model view. Environmental Model View In this the structural and behavioral aspects of the environment in which the system is to be implemented are represented. UML is specifically constructed through two different domains they are  UML Analysis modeling. which focuses on the user model and structural model views of the system.  This model view models the static structures. Behavioral Model View  It represents the dynamic of behavioral as parts of the system. In this model the data and functionality are arrived from inside the system.  UML design modeling. Implementation Model View  In this the structural and behavioral as parts of the system are represented as they are to be built. 1)Use Case Diagrams Admin: The Administrator is the user of the system. He is the responsible person to define the Employee details User Account Details. Login Add movie  Admin Add Theatre Assign Movie Movie Details . Login profile’ information . view No seats Available and booking the tickets.Theatre Deatails User: He is responsible for the registration of the User Account. The user can Change password.  User View theatre /movies Book tickets . 2)Elaborated Diagrams <<Uses>> Login Authenticate login name <<Uses>> Authenticate password <<Uses>> Enter the required data along with standards <<Uses>> Enable privileged access <<Uses>> Add movie Details Check the authentic of information <<Uses>> <<Uses>> Store <<Uses>>  System Administrator Add Theatre Enter the required data as per the standards <<Uses>> Check the authenticity of information Store <<Uses>> Assign movie to theatre Enter Require data <<Uses>> As per the Standards Check the authenticity of information <<Uses>> Store . <<Uses>> Login <<Uses>> Authenticate login name <<Uses>> Authenticate password Enable privileged access <<Uses>> Raise request for password changing Enter the required parameters <<Uses>> <<Uses>> Authorize the parameter Display <<Uses>> <<Uses>> <<Uses>> Enter the required Information  User Book the Tickets Collect Available Seats Book seat no . . Users Change password registration.Administrator Login Sequence Login screen Enter log name Administrator login master Administrator Admin Master login master Validate Log name () Validate Password () Check for required privileges () Creation of User registration. booking View user Status . Add User Account. tickets .. User profilr.User Login Sequence Login screen Enter log name User login master User login master User Master Validate Log name () Validate Password () Check for required privileges () Creation Profile. The symbols used in E-R diagrams are: SYMBOL PURPOSE Represents Entity sets. To develop a new kind of a system: The traditional approach focuses on the cost benefit and feasibility analysis. . Project management. and hardware and software selection an personal considerations. Line represents flow Structured analysis is a set of tools and techniques that the analyst.ENTITY-RELATIONSHIP Diagrams E-R (Entity-Relationship) Diagram is used to represents the relationship between entities in the table. Represent attributes. Represent Relationship Sets.3. Admin Password User Name Age Address EmailID gender User phno New User Details User Name Add movie. Theatre.tickets Theatre name Seat Nos No of tickets Movie Name Tickets Cost User name Show time . 4.DATABASE DIAGRAM Home Page . Collections. SqlDataAdapter da1 = new SqlDataAdapter("select type from tbluser where name='"+TextBox1. System.Web. da1. EventArgs e) { con.Tables[0].DataSource = ds.moviename = j.Web. DataSet ds = new DataSet(). } protected void Button1_Click(object sender.UI. da. System. SqlDataAdapter da = new SqlDataAdapter("SELECT distinct(e.WebControls.con). DataSet ds2 = new DataSet(). EventArgs e) { con.Count > 0) .Fill(ds). System.using using using using using using using using using using using System. System.Fill(ds2).Web.Security. System. public partial class home : System.DataBind().Web.Open().HtmlControls.Web.Rows.ConnectionString).UI.Text+"'".SqlClient.Tables[0]. System.WebControls.Web.Web.movieimage) FROM tblmovie e INNER JOIN tbassignmovie j ON e. Repeater1.Page { SqlConnection con = new SqlConnection(ConfigurationManager.Data.UI.Configuration.moviename where dateavailable > getdate()".UI.ConnectionStrings["con"]. Repeater1.Text+"'and password='"+TextBox2.Close(). con. System.Data.Open().UI. System. System. if (ds2. System. protected void Page_Load(object sender.WebParts. con). Text.{ if(ds2.aspx").Rows[0][0].aspx").ToString() == "a") { Response.Redirect("~/Admin/Adminhome.Write("<script>alert('invalid id or password ')</script>").Tables[0]. } Response. } } Admin Home .Rows[0][0].Close(). Response.Redirect("~/user/userhome.Tables[0]. } else con. } else if (ds2.ToString()=="u") { Session["uname"] = TextBox1. } } .DataSource = ds.Security.Web.WebControls.using using using using using using using using using using using System.moviename FROM tblmovie e INNER JOIN tbassignmovie j ON e.moviename = j. System.HtmlControls.UI. System. System.UI. con).ConnectionString).Open().UI.Page { protected void Page_Load(object sender.e.movieimage".movieimage.ConnectionStrings["con"].Web.e.moviename.UI. DataSet ds = new DataSet().UI.Web.WebParts.moviename where dateavailable > getdate() group by e.Web.WebControls. System. public partial class Admin_Adminhome : System.Close(). System.Configuration. con. con. System.Web.Data.Tables[0]. System. DataList1. da.SqlClient.Web.Fill(ds).Collections. EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.Web. System. SqlDataAdapter da = new SqlDataAdapter("SELECT e. System.DataBind(). DataList1. System.Data. UI.Collections.Page { protected void Page_Load(object sender.ConnectionString). EventArgs e) .Security. EventArgs e) { } SqlConnection con = new SqlConnection(ConfigurationManager.Data.SqlClient. System.WebControls. System.Web.UI.WebControls. System.HtmlControls.Add Movie Page using using using using using using using using using using using System. System. System. System.Configuration.Data. System.Web.UI.Web.Web.WebParts.Web.Web.ConnectionStrings["con"]. System. System. public partial class Admin_movies : System. protected void add_Click(object sender.UI. System.Web.UI. } } View Movie Page .Text = "".con). FileUpload1.Text = "".Count > 0) { Response.{ con. txtactres. } con. txtmname. DataSet ds = new DataSet().'" + txtmdir.MapPath("~/Admin/images//"+txtmname.Text + "'".Write("<script>alert('record inserted')</script>"). } protected void clear_Click(object sender.jpg')". txtmdir.Close().'" + txtmname. txtmrating.Tables[0].jpg")).Open().Write("<script>alert('this movie already Exist')</script>").Text = "".SaveAs(Server. SqlDataAdapter da = new SqlDataAdapter("select * from tblmovie where moviename='" + txtmname. } con.Text = "".Text+"." +Convert. if(cmd. } protected void txtmname_TextChanged(object sender.Text) + ".ExecuteNonQuery()>0) { Response.Text = "".'" + txtactres. SqlCommand cmd = new SqlCommand("insert into tblmovie values('" + txtmname.ToDouble( txtmrating. EventArgs e) { con. if (ds.Text + "'.Text + ".Text + "'.Rows.Close().Open().Text + "'. da. EventArgs e) { txtmname.con ).Fill(ds). UI. using System.UI.HtmlControls. using System.Configuration. con). movname.Web.Web.Data. con.Page { SqlConnection con = new SqlConnection(ConfigurationManager.Collections. da. using System.Open().Fill(ds).WebControls.ConnectionStrings["con"].Web. public partial class Admin_viewmovie : System. using System.SqlClient.Web.DataSource = ds. protected void Page_Load(object sender. movname.UI. using System. using System. SqlDataAdapter da = new SqlDataAdapter("select moviename from tblmovie ".ConnectionString).Security. using System.using System.WebParts.UI. } } public void Getdata() { con. movname.WebControls. DataSet ds = new DataSet().Data. EventArgs e) { if (!IsPostBack) { Getdata(). using System.DataTextField = "moviename". .Close(). movname.Web.DataValueField = "moviename".Web. using System.DataBind().UI. using System.Web. //DataList1. con).Fill(ds). //da1. //DataList1.ExecuteNonQuery() > 0) { Response. } else Response.Text + "'".Write("<script>alert('Movie Deleted Successfully')</script>").} protected void vie_Click(object sender. } protected void Button2_Click(object sender.movieimage from tblmovie where moviename='" + movname.Text + "'". //DataSet ds = new DataSet(). //GridView1.Open().Write("<script>alert('Movie not Deleted ')</script>").movierating. if (cmd. //SqlDataAdapter da1 = new SqlDataAdapter("select moviename.director. } } Add Theatre . con). //GridView1. EventArgs e) { con.DataSource = ds.DataBind().movieactres. EventArgs e) { //con.DataBind().DataSource = ds. SqlCommand cmd = new SqlCommand("delete from tblmovie where moviename='" + movname.SelectedItem.SelectedItem.Open(). EventArgs e) { } SqlConnection con = new SqlConnection(ConfigurationManager." + Convert. using System.'" + txttmanager.WebParts.Data. using System. using System. using System.Text + "'.Configuration. SqlCommand cmd = new SqlCommand("insert into tbltheatre values('" +txttname.Open().Web.HtmlControls.using System. protected void sub_Click(object sender.Web.Write("<script>alert('record inserted')</script>").UI. public partial class Admin_theatre : System.WebControls.Security.Collections.Web. using System.Web. } else Response. using System. EventArgs e) { con.ToInt16(txttcost.Data. using System.UI.UI.UI.ExecuteNonQuery() > 0) { Response. } .Write("<script>alert('Error')</script>"). if (cmd.Text) + ".ConnectionStrings["con"].Web.ConnectionString).WebControls.Text + "'." + Convert.Page { protected void Page_Load(object sender.Web.SqlClient.Text + "'. using System.Web. con).'" + txttaddress. using System.UI. using System.Text)+")".ToInt16(txttsize. Page . System.HtmlControls. System.Data.UI.WebControls. System. txttsize. txttaddress. System.Web.Collections.WebParts.Text = "".UI.UI. System. } } View Theatre using using using using using using using using using using using System.Data.Web.Text="".Web.Web.Security. System. System.Text = "".protected void clear_Click(object sender.UI.Web.WebControls. txttcost. System. txttmanager. public partial class Admin_viewtheatre : System.Text = "". System.Web.Text="".SqlClient. System.UI.Configuration. EventArgs e) { txttname.Web. Session["tid"] = ds. SqlDataAdapter da1 = new SqlDataAdapter("select * from tbltheatre" . EventArgs e) { con.Fill(ds).con).SelectedItem. con).DataBind(). } protected void DropDownList1_SelectedIndexChanged(object sender.Rows[0]["tid"]. DropDownList1.Fill(ds). private void Getdata() { //throw new Exception("The method or operation is not implemented.tsize. DataList1. EventArgs e) { con. GridView1.DataBind(). tname."). SqlDataAdapter da = new SqlDataAdapter("select tname from tbltheatre ".DataSource = ds.Open(). DataSet ds = new DataSet(). DataList1. EventArgs e) { Response. } protected void Button1_Click(object sender.Text+"'".Fill(ds). SqlDataAdapter da1 = new SqlDataAdapter("select tid.Tables[0].ConnectionStrings["con"]. EventArgs e) { if (!IsPostBack) { Getdata(). DropDownList1.DataSource = ds.ToString(). con). GridView1.ConnectionString). DataSet ds = new DataSet(). } protected void updat_Click(object sender.Redirect("~/Admin/theatreupdate.DataBind(). da1.DataSource = ds. con. } } .DataTextField = "tname". con. DropDownList1.DataValueField = "tname".taddress. DataSet ds = new DataSet(). da.tmanager.{ protected void Page_Load(object sender.aspx"). da1.Open(). } } SqlConnection con = new SqlConnection(ConfigurationManager.ttcost from tbltheatre where tname='" + DropDownList1. DropDownList1.Open().Close(). System.Security.Web. System.Update Theatre using using using using using using using using using using System.WebParts.WebControls. System. System.HtmlControls. System.Data.Web.UI.UI.UI.UI.Collections.Web.WebControls. System.Web. System. System. System. .Web.Configuration.Web. Rows[0]["taddress"]. private void gat() { //throw new Exception("The method or operation is not implemented.SqlClient. con.Open().Tables[0].ttcost="+txttcost.ReadOnly = true.Text = ds. } } SqlConnection con = new SqlConnection(ConfigurationManager. EventArgs e) { txttname. txttmanager. EventArgs e) { con.Fill(ds). if (cmd.ToString().Rows[0]["tname"].tsize ="+txttsize.Text=ds.Text+"'.ConnectionString).Text= ds. txttaddress. txttcost.Text="".Tables[0].ToString().ToString(). con.Rows[0]["tsize"].Close().Tables[0]. txttmanager.taddress='"+txttaddress.ToString(). con).ConnectionStrings["con"].Text = "".Text = "".ToString(). txttsize.Text = ds.").Rows[0]["ttcost"]. txttaddress. } protected void sub_Click(object sender.Open(). //txttname.tmanager.Rows[0]["tmanager"]. SqlDataAdapter da1 = new SqlDataAdapter("select tname.UI.using System.Text+"'.ToString().Text+"'.Tables[0].con).Page { protected void Page_Load(object sender.ExecuteNonQuery() > 0) Response.tsize. txttcost. } } . } protected void clear_Click(object sender.tmanager='"+txttmanager.tcost from tbltheatre Where tid="+ Session["tid"]. con.Text = Request. EventArgs e) { if (!IsPostBack) { //txttname. SqlCommand cmd =new SqlCommand("update tbltheatre set tname='"+txttname.taddress.Text+". public partial class Admin_theatreupdate : System. gat().Text = "".Text+" where tid="+Session["tid"].QueryString["tname"]. txttsize. else Response. DataSet ds = new DataSet().Text = "". da1.ToString().ToString().Text = ds.Tables[0].Write("<script>alert('Updated Successfully')</script>").Web.Data. txttname.Close().Write("<script>alert('Error')</script>"). UI. System.Data. System.Web.UI. System.Web.Web.SqlClient.Web. System.WebControls. System.Data.Collections. System.HtmlControls.WebParts.Web.UI.UI.Assign Movie using using using using using using using using using using using System.WebControls.Web. System.UI.Security. EventArgs e) { if (!IsPostBack) . System. System.Page { protected void Page_Load(object sender.Configuration.Web. public partial class Admin_assignmovie : System. System. tname.Text + "'.Close().Write("<script>alert('Already Exist')</script>").Tables[0].ExecuteNonQuery() > 0) Response.ToString() == mname.Open(). con).DataSource = ds1. da. int cnt=0.'" + TextBox1. else Response. if (cmd.SelectedItem. i--) { if (ds2.'" + tname.Fill(ds2). i >= 0.DataTextField = "tname". } protected void assignmov_Click(object sender.Tables[0].SelectedItem.Text + "'. private void Getdata() { //throw new Exception("The method or operation is not implemented.Write("<script>alert('Inserted')</script>").DataBind().DataBind(). mname. con). } SqlConnection con = new SqlConnection(ConfigurationManager. con).Text && ds2. tname.Open(). da.Fill(ds1).Count-1. } } . DataSet ds2 = new DataSet(). mname. mname.Rows. SqlDataAdapter da2 = new SqlDataAdapter("select tname from tbltheatre ".DataSource = ds.Text + "')".ToString() == tname. for (int i = ds2. da2.Tables[0]. mname. tname.SelectedItem. DataSet ds1 = new DataSet().DataValueField = "tname". tname. } else Response.Rows[i][1]. SqlDataAdapter da = new SqlDataAdapter("select moviename.").Fill(ds).Rows[i][0].ConnectionStrings["con"]. DataSet ds = new DataSet().DataValueField = "moviename". con.{ } Getdata(). EventArgs e) { con. con).theatrename from tbassignmovie". SqlDataAdapter da = new SqlDataAdapter("select moviename from tblmovie ".Close(). } } if (cnt == 0) { SqlCommand cmd = new SqlCommand("insert into tbassignmovie values('" + mname.Write("<script>alert('Error')</script>").Text) { cnt++.ConnectionString). con.DataTextField = "moviename". con. movname. using System.ConnectionString).Web.Data. movname.DataSource = ds. } SqlConnection con = new SqlConnection(ConfigurationManager. private void go() { //throw new Exception("The method or operation is not implemented. con).DataBind(). DataSet ds1 = new DataSet().DataBind().UI.DataValueField = "moviename".WebControls.DataSource = ds1. movname.UI. movname. tname. using System. using System.Web.UI.Data. using System.ConnectionStrings["con"]. using System.Fill(ds).DataTextField = "moviename".Security.Fill(ds1). da2.Web.WebParts.HtmlControls. using System."). tname.Collections.Page { protected void Page_Load(object sender.UI. EventArgs e) { if(!IsPostBack) go(). con.Web. using System. using System.DataTextField = "tname".DataValueField = "tname".Web.Close().Web.SqlClient.Web. using System. da. tname. public partial class Admin_Viewassign : System.WebControls.Configuration. con.UI. using System. DataSet ds = new DataSet(). .Open(). tname.View Assigning using System. SqlDataAdapter da = new SqlDataAdapter("select moviename from tblmovie ". con). SqlDataAdapter da2 = new SqlDataAdapter("select tname from tbltheatre ". GridView3.Fill(ds2). con). GridView1.} protected void Button1_Click(object sender. con). con).dateavailable from tbassignmovie where theatrename='" + tname.Visible = false. GridView1.DataSource = ds2.DataBind(). da1. GridView3. } protected void Button3_Click(object sender. DataSet ds2 = new DataSet(). DataSet ds2 = new DataSet().SelectedItem. EventArgs e) { con. da1.Open(). } } .moviename.SelectedItem.Visible = true. GridView3.dateavailable from tbassignmovie ".DataSource = ds2.DataBind().Text + "'". SqlDataAdapter da1 = new SqlDataAdapter("select theatrename as tname. GridView2.Open(). GridView2. da1. EventArgs e) { con.Fill(ds2).DataBind(). EventArgs e) { con.Visible = false. GridView2. GridView3.Visible = true.Visible = false.Visible = true.Visible = false.Visible = false.moviename as mname. GridView1.moviename. } protected void Button2_Click(object sender. GridView2. GridView1.dateavailable as Date from tbassignmovie where moviename='" + movname.Text + "'".Open(). SqlDataAdapter da1 = new SqlDataAdapter("select theatrename. GridView3. GridView1. SqlDataAdapter da1 = new SqlDataAdapter("select theatrename.Fill(ds2). GridView2.DataSource = ds2. DataSet ds2 = new DataSet().Visible = false. Configuration.e.moviename. using System.Web.Page { protected void Page_Load(object sender. con. using System. DataSet ds = new DataSet().Web.Web. } protected void ImageButton1_Click(object sender.moviename = j. DataList1. con. con).UI. using System.ConnectionStrings["con"].UI.UI.Web. SqlDataAdapter da = new SqlDataAdapter("SELECT e. EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.moviename FROM tblmovie e INNER JOIN tbassignmovie j ON e. using System.Close().WebControls.DataSource = ds.Fill(ds).User Home using System.Web.Security.movieimage". using System.WebControls. public partial class user_userhomet : System.Open().Web.Data.Collections. using System.e.UI. DataList1.Web. da.DataBind(). using System.UI.SqlClient.Tables[0]. using System. ImageClickEventArgs e) { } } .HtmlControls. using System.Data.WebParts.moviename where dateavailable > getdate() group by e. using System.ConnectionString).movieimage. HtmlControls.Web. EventArgs e) { . public partial class Admin_changepassword : System.Change Password using using using using using using using using using using using System.Configuration.UI.UI.Web. System.Data.SqlClient.WebControls.Page { protected void Page_Load(object sender.UI.Security.UI. System.Data. System.WebControls. System. System.Web.WebParts. System. System.Web.UI. System.Web.Web.Web. System. System.Collections. Text + "' where name='" + Session["uname"].Text = "Password changed Successfully". con).} protected void Button1_Click(object sender. EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.ToString() + "' and password='" + txtopwd.ConnectionString).ExecuteNonQuery() > 0) { Label4.ConnectionStrings["con"].Text = "Password not changed ".Open(). SqlCommand cmd = new SqlCommand("update tbluser set password='" + npwd. } else Label4.Text + "'". con. } } Theatre Booking . if (cmd. using System.AddDays(1).ConnectionString).Now. using System.ToShortDateString().Data.ConnectionStrings["con"].Web. dat. protected void Page_Load(object sender.WebControls. using System. public partial class user_Default2 : System. a[0] = DateTime.Date. string[] a = new string[2].HtmlControls.Date. using System.Web. using System.SqlClient.Web.DataBind().UI. using System. using System.Web.Web.Page { SqlConnection con = new SqlConnection(ConfigurationManager. using System.WebControls. dat.Web.UI.UI.Web.Security.QueryString["mov"]. EventArgs e) { if (!IsPostBack) { Label1.UI.UI.Configuration. EventArgs e) { } .WebParts. using System. using System.Text = Request.using System. } } protected void DropDownList3_SelectedIndexChanged(object sender.Collections.Now.DataSource = a.Data. a[1] = DateTime.ToShortDateString().ToString(). protected void Button1_Click(object sender, EventArgs e) { } protected void txtsno_TextChanged(object sender, EventArgs e) { } protected void Button2_Click(object sender, EventArgs e) { Response.Cookies["bdate"].Value = dat.SelectedValue.ToString(); Response.Cookies["tname"].Value = tname.SelectedValue.ToString(); Response.Cookies["stime"].Value =showtime.SelectedValue.ToString(); Response.Redirect("seating.aspx?mname=" + Label1.Text); } } Book Seats using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class user_seating : System.Web.UI.Page { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString); int tsize; int s; protected void Page_Load(object sender, EventArgs e) { con.Open(); //SqlCommand cmd5 = new SqlCommand("select tsize from tbltheatre where tname='" + Request.Cookies["tname"].Value + "'", con); // tsize = Convert.ToInt16(cmd5.ExecuteScalar()); SqlDataAdapter cmd6 =new SqlDataAdapter("select tsize,tcost from tbltheatre where tname='" + Request.Cookies["tname"].Value + "'", con); DataSet ds2 = new DataSet(); cmd6.Fill(ds2); tsize = Convert.ToInt16(ds2.Tables[0].Rows[0]["tsize"].ToString()); Label1.Text ="Ticket Cost RS "+ ds2.Tables[0].Rows[0]["tcost"].ToString()+"/"; s = tsize / 5; int i, j,k,l,m,n,o,p,q,r; for ( i = 1; i <= s; i++) { CheckBox ch = new CheckBox(); ch.ID = i.ToString(); ch.Text = i.ToString(); PlaceHolder1.Controls.Add(ch); } for ( j = i; j <= s+s; j++) { CheckBox ch1 = new CheckBox(); ch1.ID = j.ToString(); ch1.Text = j.ToString(); PlaceHolder2.Controls.Add(ch1); } for (k = j; k <= s+s+s; k++) { CheckBox ch2 = new CheckBox(); ch2.ID = k.ToString(); ch2.Text = k.ToString(); PlaceHolder3.Controls.Add(ch2); } for (l = k; l <= s+s+s+s; l++) { CheckBox ch3 = new CheckBox(); ch3.ID = l.ToString(); ch3.Text = l.ToString(); PlaceHolder4.Controls.Add(ch3); } for (m = l; m <= s + s + s+s+s; m++) { CheckBox ch4 = new CheckBox(); ch4.ID = m.ToString(); ch4.Text = m.ToString(); PlaceHolder5.Controls.Add(ch4); } string u=""; SqlDataAdapter da = new SqlDataAdapter("select seatno from tblbooking where tname='" + Request.Cookies["tname"].Value + "' and mname='" + Request.QueryString["mname"].ToString() + "' and showdate='" + Request.Cookies["bdate"].Value + "' and showtime='" + Request.Cookies["stime"].Value + "'", con); DataSet ds = new DataSet(); da.Fill(ds); int rcount=ds.Tables[0].Rows.Count; if (rcount > 0) { rcount = rcount - 1; while (rcount >= 0) { u = ds.Tables[0].Rows[rcount][0].ToString(); //string u = "32,55,1,4,8"; string[] a = u.Split(new char[] { ',' }); int b, c, d, f, z, y; if (lc2. if (lc3. } } for (f = d.Enabled = false.for (y = 0. } . y++) { for (z = 1.ToString()). if (lc.FindControl(d.Text == a[y]) { lc.1.1. if (lc1. f++) { CheckBox lc4 = (CheckBox)PlaceHolder5.ToString()).Text == a[y]) { lc1.Text == a[y]) { lc2. c++) { CheckBox lc2 = (CheckBox)PlaceHolder3.Enabled = false. if (lc4. } } for (d = c.FindControl(b. d++) { CheckBox lc3 = (CheckBox)PlaceHolder4. y <= a.ToString()).Text == a[y]) { lc3. } } for (c = b. z++) { CheckBox lc = (CheckBox)PlaceHolder1.FindControl(f.ToString()).Length .FindControl(c. } protected void Button2_Click(object sender. f <= s + s + s + s + s. } } } con. b++) { CheckBox lc1 = (CheckBox)PlaceHolder2.Enabled = false.Text == a[y]) { lc4.Enabled = false. EventArgs e) } rcount = rcount .Enabled = false. } } for (b = z. z <= s.FindControl(z. c <= s + s + s. d <= s + s + s + s. b <= s + s.ToString()).Close(). int tcost = Convert.ToString())." + sno. b <= s + s." + lc1. if (ss <= 3) sno = sno + ". con).Rows[0]["tsize"]. z <= s.ToString()). if (lc1. } { } for (b = z.Tables[0]. z++) { CheckBox lc = (CheckBox)PlaceHolder1. c <= s + s + s. c. b++) { CheckBox lc1 = (CheckBox)PlaceHolder2.Text. c++) { CheckBox lc2 = (CheckBox)PlaceHolder3. if (ss <= 3) sno = lc. y.Checked==true) { ss++.FindControl(z.Fill(ds1).tcost from tbltheatre where tname='" + Request. if (lc2. int b.Cookies["tname"]. for (z = 1.con.Open().Value + "'". cmd5. d.Checked = false.ToInt16(ds1.ToString()). if (lc. } if (ss > 3) { lc. DataSet ds1 = new DataSet(). f.Checked = false. } } for (c = b. if (ss <= 3) sno = sno + ". s = tsize / 5. SqlDataAdapter cmd5 = new SqlDataAdapter("select tsize.Checked==true) { ss++. } if (ss > 3) { . tsize = Convert. string sno="".FindControl(c." + lc2.Rows[0]["tcost"]. int ss = 0.FindControl(b.Tables[0].ToString()). //int s = 100 / 5.Text + ".Checked==true) { ss++. z.ToString()). } if (ss > 3) { lc1.ToInt16(ds1.Text. } } for (d = c. } } for (f = d.Tables[0].Value + "'. .Cookies["tname"].Value + "'.Text.lc2.'" + Request. if (lc3. con). } if (ss > 3) { lc4.'" + sno +"'.ToString() + "'.FindControl(f.ToString() + "'.Checked = false.'" + Request.DataBind().ToString())." + ss + ".FindControl(d.Cookies["stime"].Write("<script>alert('Booking Successfull ')</script>"). if (ss <= 3) sno = sno + ". DetailsView1.'" + Request. SqlCommand cmd = new SqlCommand("insert into tblbooking values('" + Session["uname"].'" + Request. DataSet ds4 = new DataSet()." + lc3. if (ss <= 3) sno = sno + ".Write("<script>alert(' select lessthan 4')</script>"). f++) { CheckBox lc4 = (CheckBox)PlaceHolder5.ToString()).Fill(ds4). d++) { CheckBox lc3 = (CheckBox)PlaceHolder4.Value + "'. if (lc4. if (cmd. } if(ss<=3 && ss>0) { int tcst = ss * Convert." + lc4."+tcst+ ")". d <= s + s + s + s.ExecuteNonQuery() > 0) { Response. } if (ss > 3) { lc3.Rows[0]["tcost"]. SqlDataAdapter da4 = new SqlDataAdapter("select * from tblbooking where bookid =(select max(bookid) from tblbooking)". } } if (ss > 3 || ss==0) { Response.ToString()).Checked==true) { ss++.Checked = false.ToInt16(ds1. con).Checked = false. DetailsView1. da4.QueryString["mname"]. f <= s + s + s + s + s.Checked==true) { ss++.Text.Cookies["bdate"].DataSource = ds4. } Response.} else } con. } After Booking .Write("<script>alert('Error')</script>").Close(). Data. using System.Configuration. public partial class user_ticketcancel : System. using System. EventArgs e) { } . using System.Web. using System.UI. using System. using System. using System.Web.Web.Web.Web.Page { protected void Page_Load(object sender. using System. using System.Security.UI.WebControls.SqlClient.UI. using System.Cancel Ticket using System.HtmlControls.UI.Web.WebParts.WebControls.Data.Web.Collections.UI. protected void Button1_Click(object sender. } } User Registration using System.Text = "Not Cancel". using System.ToInt16( txtrno.ExecuteNonQuery() > 0) Label3.con). .Open(). con. SqlCommand del=new SqlCommand("delete from tblbooking where bookid="+Convert.Configuration.Text = "Successfully Canceled". using System.ConnectionStrings["con"].Text+"'". else Label3. if (del.ConnectionString).Text)+"and uname='"+txtuname.Data. EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager. uphno. else Response.Collections.Text)+".Web. EventArgs e) { } SqlConnection con = new SqlConnection(ConfigurationManager. EventArgs e) { uname.Web. using System.ConnectionString).UI. using System.'" + upwd.Text + "'.Data.Write("<script>alert('Error')</script>").'" + gen + "'.'" + uadrs.HtmlControls.Text.Text = "".Security. if (cmd.Text = "".using System.Text = "".Web. using System.Text + "'.Text + "'. using System.Text = "".'" + Umailid. using System.'" + uphno. using System.UI.UI.ToInt16(uage.'u')".UI.Web. uadrs. Umailid.SqlClient.Text + "'.Open(). protected void Button1_Click(object sender.Page { protected void Page_Load(object sender.Text = "".Checked) gen=RadioButton1.Text. SqlCommand cmd = new SqlCommand("insert into tbluser values('" + uname.Text = "".Text + "'. EventArgs e) { string gen="".Web. con. uage.WebControls. con). public partial class user_userreg : System. using System. else gen=RadioButton2.UI.Write("<script>alert('Inserted')</script>").Web.WebControls." + Convert.WebParts. } } About us . upwd. } protected void Button2_Click(object sender.Web.ExecuteNonQuery() > 0) Response.ConnectionStrings["con"]. if(RadioButton1. System.Page { protected void Page_Load(object sender.WebParts. System. System. System.WebControls.Web.Security.Web.WebControls.Web. System. System. System.HtmlControls.Data.Web.Collections. System.UI.Web.Web.UI. System.UI.UI. public partial class user_about_us : System.UI.Configuration. EventArgs e) { } } .using using using using using using using using using using System.Web. System.Contact Us using using using using using using using using using using System. System.Web.UI.UI.UI.Collections.Web. System. System.UI.WebControls.Web. public partial class user_contact_us : System.Page { .Web.UI.HtmlControls.Security.WebControls. System.Web. System. System.WebParts.Configuration. System. System.Data.Web.Web. Integration Testing: . A strategy for software testing must accommodation low-level tests that are necessary to verify that a small source code segment has been correctly implemented as well as high-level tests that validate major system functions against customer requirements There are three types of testing strategies 1.protected void Page_Load(object sender. testing the boundary conditions. examining the local data structures. EventArgs e) { } } PROJECT TESTING Software Testing Strategies Testing is a set of activities that can be planned in advanced and conducted systematically. The tests that occur as part of unit testing are testing the module interface. The unit test is always white box oriented. Unit test 2. Performance test Unit Testing: Unit testing focuses verification efforts on the smallest unit of software design module. Integration test 3. execution all the independent paths and testing error-handling paths. the application of the credit card transactions is applied as a developmental phase in the coming days.ASP. performance. and internal design characteristics that are to be tested.Integration testing is a systematic technique or construction the program structure while at the same time conducting tests to uncover errors associated with interfacing. Conclusion The entire project has been developed and deployed as per the requirements stated by the user. which are planned to be developed in near future.NET (BIBLE) 2. it is found to be bug free as per the testing standards that is implemented. The system needs more elaborative technicality for its inception and evolution. Future Enhancement Of the Project BIBILIOGRAPHY 1. Any specification-untraced errors will be concentrated in the coming versions. Performance Testing: Timing for both read and update transactions should be gathered to determine whether system functions are being performed in an acceptable timeframe. The system at present does not take care off the money payment methods. Mastering SQL Server 2005 by . It employs top-down testing and bottom-up testing methods for this case. as the consolidated constructs need SSL standards and are critically to be initiated in the first face. Scope of testing summarizes the specific functional. Beginning SQL Server 2005 by .MICROSOFT. 4.SOFTWARE ENGINEERING (THEORETICAL APPROACH) 5.COM .C#.NET 6. MSDN LIBRARY.3.NET -WWW.
Copyright © 2024 DOKUMEN.SITE Inc.