Sie sind auf Seite 1von 27

1.

INTRODUCTION

The project entitled as ‘Car rental service’ is a Web based application. Also this project
helps to store large data. The basic functions of a cab booking system are to keep tracks of cabs,
employees, customers, booking and cancellation. The proposed website is to develop a system
that allows customers to rent any cab as per their needs on the selected date for required time and
in any of the selected cities. This service will work 24X7.This system works online so allow
anyone to book or rent a car in a city without any time restriction.

1.1 Problem Definition

This project is the most complete software for managing car rental service. Getting a rental
cab helps people those who do not have access to their own personal vehicle or do not own a
vehicle at all. And the customers are free to choose any car of their choice based on their budget
and need, and then book the cab with date, time and location where to pick up and drop.

Users can book cab services from anywhere in the world and take services when they visit
that city. There are different services provided based on different levels cab standards. pay for
the rental online and could provide valuable feedback for improvement in services. This system
also keeps the information of cancellation and modification of booking in current month. The
Administrator of this cab rental website can add new cabs, add or change locations, vehicle
pictures, rate card, and drivers of cab etc. The car rental service provides completes functionality
of listing and booking cab.

1
2. SYSTEM ANALYSIS

2.1 Existing System

This organization carries out its daily work by providing their service to the customers
using desktop application system. The organization uses a desktop system for renting, register
and to keep record of all the rental activities and customer information. During cab reservation
the customers reserve a cab by making a phone call to the organization otherwise he/she is
expected to go to the organization to make reservation. The organization makes a general report
about the rented cabs once at the end of the month and generates a report.

Disadvantage:

 During reservation a customer reserve a cab on phone or expected to go to the


organization for reserving. This has its own problem in the business sector.
 There may be occur duplicated reservation of the same vehicle.
 The customers may not get service of the organization 24X7 (Twenty four hours a day
and seven days a week) and limiting their service to local domain only.

2.2 Proposed System

This project is developed to provide the following services. Customer can reserve a car
online form anywhere in the world at any time.

Advantages:

 Data centralized which has overcome the sharing problems in previous system
 As data is maintained electronically, it’s easy for a person to update the details, which
has overcome the tedious updating in previous system
 Maintenance is easy and performance is good
 Any time anywhere service

2.3 Project Description

This project ‘Car rental service’ is a Web based application. The basic functions of a cab
booking system are to keep tracks of cabs, employees, customers, booking and cancellation.

2
Admin Module

This page is used to allow the valid user to login using user id and password.

Registration module

This page is used to register new user. It gets details about customer. This module allows the
customer to register and the customer to view the detail description of particular cab. In this
system user have to become registered user to rent a car. Users have to fill up his contact
information like his name, address, mobile number in the registration form. After submitting the
form he gets username and password to login the system.

User must be registered before booking a cab. Only a valid user can login the system and
book the car by giving his picking up place and drop off place. All the data supply by the user
will be stored in database and it will be used for further validations and authenticated. Login
names and password will be stored in the database.

Cab maintenance module

This module contains the cab information’s. This is used to maintain how many users can
register the cab services. And allocate the drivers for the cab. And it’s also maintains the number
of cabs, cab type, cab number, driver name and driver license number details should be
maintained.

Admin updates information of the cabs in need of modification. This module allows the
customer to display all lists of cab and display all rented cabs and off duty cabs.

Booking module

This module allows Customer to register a Car booking. It allows Customer to update
about booking details and save changes made on the customer booking list. It display all
customers rent record and provide printable summary for successful committed rent.

Book a car user has to login the system. Customers required, destination, & place where
he wants to go. Here the customer can book a car by viewing all the cab details and pricing

3
details available, according to selected city and area. And Customer can pay the amount using
debit card or credit card that payment details should be maintained.

Employee maintenance module

This module allows admin to maintain the driver details for every cab and the driver
details such as driver name, address, phone no, license no and salary. A driver is expected to
drive a car from one place to another in order to transport people. Pick passengers and drop them
off to their destinations.

Essentially drivers are expected to drive a cab on a schedule over a designated route and
ensure the safety and timely delivery of passengers. Keep cabs clean and maintained at all times.
Chart out the best routes to destinations in order to save time. The driver should be proficient in
the services his renders, and comply with all traffic rules.

Cancellation module

Here customers can cancel the booking using the booking number.

4
3. SYSTEM SPECIFICATION

3.1 Hardware Specification

Processor : AMD A4 PRO-3340B with Radeon HD Graphics [2.20 GHz]

RAM : 2.00 GB

System Type : 64-bit Operating System

3.2 Software Specification

Technology : Microsoft Visual Studio 2010

Front end : ASP.Net

Back end : SQL Server

Operating System : Windows 7

3.3 Software Description

ASP.NET

Programs written for the.NET Frame work execute in a environment that manages the
program's run timer requirements .Also part of the.NET Framework, this run time environment is
known as the Common Language Runtime(CLR).The CLR provides the appearance of an
application virtual machines that programmers need not consider the capabilities of the specific
CPU that will execute the program. The CLR also provides other important services such as
security, memory and handling. The class library and the CLR together compose the .NET
Framework. There are numerous languages available to the developer including Managed C++,
C#, Visual Basic and Java Script. The .NET framework provides the foundation for components
to interact seamlessly, whether locally or remotely on different platforms.

5
It standardizes common data types and communications protocols so that components
created in different languages can easily interoperate.

 Separation of code from the content ASP.NET allows the developer to separate script
from html. This allows for a clean separation of code from content and formatting and
promotes code reuse.

 Support for compiled languages. While ASP.NET still supports the traditional set of
scripting languages, support is also provided for fully compiled language, Instead of
using VB Script the developer can use VB.NET and access features such as strong
typing and object oriented programming. ASP.NET pages are precompiled to byte code
and just in time compiled when first requested.

 Greater support for different browsers via server side controls and events. Following
object oriented design principles, ASP.NET pages make use of server side controls
called ASP.NET Web controls. These controls are instantiated on the server, and like
regular objects they have associated methods, properties, and events.

 Intuitive GUI design, with ASP.NET you can design web applications as you read in
Visual Basic 6 by dragging and dropping GUI elements in a design environment.

Features of ASP.NET

 Better language support


 Programmable controls
 Event-driven programming
 XML-based components
 User authentication, with accounts and roles
 Higher scalability
 Increased performance - Compiled code

Separation of code from the content ASP.NET allows the developer to separate script
code from html. This allows for clean separations of code from content and formatting and
promotes code reuse.

6
Support for compiled languages while ASP.NET still supports the traditional set of
scripting languages, support is also provided for fully compiled language, Instead of using VB
Script the developer can use VB.NET and access features such as strong typing and object
oriented programming. ASP.NET pages are precompiled to byte code and just in time compiled
when first requested.

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

The .NET Framework not only provides several runtime hosts, but also supports the
development of third-party runtime hosts. Internet Explorer is an example of an unmanaged
application that hosts the runtime. Using Internet Explorer to host the runtime to enables embeds
managed components or Windows Forms controls in HTML documents.

The common language runtime manages memory, code execution, code safety
verification, compilation, and other system services these are all run on CLR.

SQL SERVER

SQL Server adds certain features including a master data management system branded
as Master Data Services, a central management of master data entities and hierarchies. Also
Multi Server Management, a centralized console to manage multiple SQL Server instances and
services including relational databases, Reporting Services, Analysis Services & Integration
Services.

SQL Server new features and enhancements include Always On SQL Server Failover
Cluster Instances and Availability Groups which provides a set of options to improve database
availability Contained Databases which simplify the moving of databases between instances,
new and modified Dynamic Management Views and Functions, programmability enhancements
including new spatial features, metadata discovery, sequence objects and the THROW statement.

7
Performance enhancements such as Column Store Indexes as well as improvements to
Online and partition level operations and security enhancements including provisioning during
setup, new permissions, improved role management, and default schema assignment for groups.

SQL Server provides a new in-memory capability for tables that can fit entirely in
memory. While s

small tables may be entirely resident in memory in all versions of SQL Server, they also
may reside on disk, so work is involved in reserving RAM, writing evicted pages to disk, loading
new pages from disk, locking the pages in RAM while they are being operated on, and many
other tasks. By treating a table as guaranteed to be entirely resident in memory much of the
'plumbing' of disk-based databases can be avoided.

SQL Server Enterprise Manager is a graphical tool that allows for easy, enterprise-wide
configuration and management SQL Server and SQL Server objects.

SQL Server Enterprise Manager provides

 A scheduling engine

 Administrator alert capability

 Drag-and-drop control operations across multiple servers

 A built-in replication management interface

SQL Server Enterprise Manager also used to

 Manage logins, permissions, and users

 Create scripts

 Manage devices and databases

 Back up databases and transaction logs

 Manage tables, views, stored procedures, triggers, indexes, rules, defaults, and
user-defined data types

8
4. SYSTEM DESIGN

4.1 Data Flow Diagram

Level 0

User Car rental Admin


service

Level 1

Booking Id
Cancel Car
Booking
Cancel Details

User Feedback
Feedback Details

Car
Booking Booking Details

Admin

Update Car Details


Modify
Car/Driver

Driver Details

9
Level 2

Update Car Details


Modify Car Details
Report
Car
Car details

Car details

Update
Admin Modify Booking Detail
Booking Booking Details Report
Booking

Add Driver
details
Modify
Driver Detail
Driver Driver Details Report
Details
Passwor
d

10
4.2 Entity Relationship Diagram

FullName Address Type Car Name

Email Phone Car No Rent


Car brand
Password
DOB No of Passenger
Carid erererPPasseng
Userid dobD
er No of Seats
User Rents CarDetails

Image

Cancel

Booking
has
Cancellation

has

Book id

Book id

Book Date Userid


Booking Driver id Driver Statues
Details Details
Picup Date Car id
Name Salary
dobD
Drop Date Drop Address Licence
location
Picuplocation TotalAmount no
Phone

11
4.3 Database Design

Table Name: Admin

Primary Key: Admin

Field Name Data type Length Description

Adminid Varchar 5 Admin Name


Password Varchar 15 Admin password

Table Name: Users

Primary Key: user id

Field Name Data Type Length Description

Userid Varchar 20 User 's Identity Number


Password Varchar 15 User Password
Fullname Varchar 15 Name of the user
Address Varchar 50 Address of user
Phoneno Varchar 13 User contact Number
Emailid Varchar 30 Mail Identity number

12
Table Name: Car details

Primary Key: Carid

Field Name Datatype Length Description

Carid Varchar 5 Car Identity Number


Brand Varchar 20 Brand name of the car
Type Varchar 10 Type of the car (A/c or Non A/c)
Name Varchar 15 Car Name
CarNo Varchar 20 Car Number
Rentprice Float 8 Rent For The Car
Image Image Car Image
Noofpassenger Varchar 10 No of The passenger will Travel
Availability Varchar 10 Car Available Status

Table Name: Driver details

Primary Key: Driver id

Field name Data type Length Description

Driverid Varchar 5 Driver identity number

Drivername Varchar 15 Name of the driver

Licenseno Varchar 15 License number

Address Varchar 50 Driver address

Phoneno Varchar 13 Driver contact number

13
Table Name: Booking details

Primary Key: Bookid

Field Name Data Type Length Description

Bookid Varchar 5 Booking Identity Number


Bookdate Datetime Booking Date
Piclocation Varchar 20 Pickup Location
Dropuploc Varchar 20 Dropup Location
Carid Varchar 5 Car Identity Number
Startdate Datetime Pick Up Date
Returndate Datetime Drop Up Date
Total_amount Float 8 Total Price for rent car
Userid Varchar 5 User 's Identity Number

Table Name: Cancel details

Foreign Key: Bookid

Field name Data type Length Description

Bookid Varchar 5 Booking identification


number

14
5. SYSTEM TESTING
Unit Testing
Unit testing is conducted to verify the functional performance of each modular
component of the software. Unit testing focuses on the smallest unit of the software design (i.e.),
the module. The white box testing techniques were heavily employed for unit testing.

In this project, each page is tested separately as a unit. Initially the flow of control and
data through that page is checked. When considering a module as a unit, the flow of data and
control through the whole module is tested. The result is stored in the test plan. In a page, each
control is further tested in unit testing. The process is done in all the pages of the system. Once
the errors are rectified, the testing procedure is repeated with same test cases to ensure that it
hasn’t produced new errors. Hence this is a continuous process.

Integration Testing

Integrated testing is the systematic testing to uncover the errors within the interface. This
testing is done with simple data and the developed system has run successfully with this simple
data. This process is continued from the page level to module level, finally to the system level. In
the final stage, the whole system is taken together and tested for integration.
A change in one place should be reflected throughout the system. Regression testing is
done after each change made into the software.

Validation Testing

Validation test is defined with a simple definition that validation succeeds when the
software functions in a manner that can be reasonably accepted by the customer. In this project,
RequiredFieldValidator, RangeValidator, RegularExpressionValidator are used to check the
validation while reading the data from the user. These are the web controls in ASP.NET.
RequiredFieldvalidator used to check the mandatory fields, RangeValidator used to get the data
in specific range and RegularExpressionValidator used to validate the data like E-Mail ID, Pin
code, Web URL etc.,

15
6. SYSTEM IMPLEMETATION

The implementation stage is a system project in its own right. It involves careful planning,
investigation of the current system and its constraints on implementation, design of methods to
achieve the change our procedures, and evaluation of change over methods.

The system implementation phase of the software deals with the translation of the design
specifications into the source code. The ultimate goal of the implementation is to write the source
code and the internal documentation so that it can be verified easily. The code and
documentation should be written in a manner that eases debugging, testing and modification.
The implementation phase is less creative than system design. The final report to the
implementation phase includes procedural Data Flow Diagram, report layouts, and a workable
plan for implementing the candidate system. Implementation is used to the design into an
operational one. Conversion is one aspect of implementation. Several procedures are documents
are unique to the conversion phase. Conversion begins with a review of the project plan, the
system test documentation, and implementation plan.

16
7. CONCLUSION
It has been a great pleasure for me to work on this exciting and challenging project. This
project proved good for me as it provided practical knowledge of not only programming in
ASP.NET and web based application and no some extent Windows Application and SQL
Server, but also about all handling procedure related with project. This will provide better
opportunities and guidance in future in developing projects independently. The finding of this
project is the web based car rental system with recommended car to be rent and the output that
will produce the information by the user requirement. In conclusion, the system may need some
enhancement and improvement in the future

17
8. FUTURE ENHANCEMENTS

The design of the Website is created and the system is entirely designed for Stand Alone
usage; according to the need of the customer if needed the design is to be published as a website
using Domain Server with Network facility to handle the branch activities also. The following
future enhancements are possible to implement along with this Car rental service, In future, we
can provide facility GPS location tracking system. It Links and integrate to other online payment
gateway web sites.

18
9. BIBLIOGRAPHY
Books
 Alex Mackey, “Introducing .NET 4.0: With Visual Studio 2010”, APress, USA, 2010.

 Joe Mayo, “Microsoft Visual Studio 2010: A Beginner's Guide”, Tata McGraw Hill,
2010.
 Brennan Stehling, “Pro ASP.NET for SQL Server: High Performance Data Access for
Web Developers”, APress, USA, 2010.

 Whitten & Bently, 2007, Systems analysis and design methods, 7th edition, McGraw-
Hill, chap3

Websites

 www.asp.net.com
 www.w3schools.com/asp.net
 www.learnthat.com/define/view.asp?id=2348
 www.dotnetheaven.com/article/tablelayoutpanel-in-asp.net
 en.wikipedia.org/wiki/Information technology.

19
APPENDIX
A) SAMPLE CODE

Admin login page

Imports System.Data

Imports System.Data.SqlClient

Imports System.Configuration

Partial Class Home

Inherits System.Web.UI.Page

Dim con As New SqlConnection

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


Me.Load

Page.Title = "Carrental Service"

End Sub

Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs) Handles


btnSubmit.Click

'Dim con As
NewSqlClient.SqlConnection(ConfigurationManager.ConnectionStrings("cardb").ConnectionStr
ing)con=NewSqlConnection("DataSource=.\SQLEXPRESS;AttachDbFilename=C:\Users\vidhy
a\Documents\VisualStudio2010\Projects\CarRentalService\CarRentalService\App_Data\cardb.m
df;IntegratedSecurity=True;ConnectTimeout=30;User Instance=True")

con.Open()

Dim cmd As New SqlCommand("select *from Users where Userid=@Userid and


Passwd=@Passwd", con)

cmd.Parameters.AddWithValue("@Userid", txtUserName.Text)

cmd.Parameters.AddWithValue("@Passwd", txtPWD.Text)

Session("userid") = txtUserName.Text

Dim da As New SqlDataAdapter(cmd)

20
Dim dt As New DataTable()

da.Fill(dt)

If dt.Rows.Count > 0 Then

Response.Write("<script>alert('Login Successfully')</script>")

Response.Redirect("User\User.aspx") Else

Response.Write("<script>alert('Invalid Authentication')</script>")

End If End Sub

Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles


Button2.Click

Response.Redirect("Home.aspx")

End Sub

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


System.Web.UI.WebControls.AuthenticateEventArgs)

End Sub

End Class

Registration page

Public Class Register1

Inherits System.Web.UI.Page

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


Me.Load

Page.Title = "New User | Car Rental"

End Sub

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


System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click

21
Dim insert As String = "insert into Users values('" + TextBox1.Text + "', '" + TextBox2.Text + "'
, '" + TextBox3.Text + "' , '" + TextBox4.Text + "' , '" + TextBox5.Text + "' , '" + TextBox6.Text
+ "' , '" + TextBox7.Text + "' , '" + TextBox8.Text + "')"

Dim db As New DB

Dim status As String = db.InsertRecord(insert)

If status = "OK" Then

Response.Write("<script>alert('Successfully Registered')</script>")

Response.Redirect("~/Home.aspx") Else

Response.Write("<script>alert('Registered Not Completed')</script>")

End If

End Sub

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


Handles TextBox1.TextChanged

End Sub

End Class

Cancel booking page

Public Class Cancel


Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles
Me.Load
Page.Title = "Cancel Car Booking | Car Rental" End Sub
Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Dim Delete As String = "delete from Booking1 where Book_id or Booking_date=('" +
TextBox1.Text + "')"
MsgBox("Booking Canceled")
Response.Redirect("User.aspx")
End Sub End Class

22
B) SAMPLE SCREENS

Web page

Admin Page

23
Login Page

New Registration Page

24
Car Details

Report Details

25
Add Driver Details

Booking Details

26
Driver Details

27

Das könnte Ihnen auch gefallen