Beruflich Dokumente
Kultur Dokumente
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.
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
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:
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
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.
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.
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
RAM : 2.00 GB
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
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.
A scheduling engine
Create scripts
Manage tables, views, stored procedures, triggers, indexes, rules, defaults, and
user-defined data types
8
4. SYSTEM DESIGN
Level 0
Level 1
Booking Id
Cancel Car
Booking
Cancel Details
User Feedback
Feedback Details
Car
Booking Booking Details
Admin
Driver Details
9
Level 2
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
Image
Cancel
Booking
has
Cancellation
has
Book id
Book id
11
4.3 Database Design
12
Table Name: Car details
13
Table Name: Booking details
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
Imports System.Data
Imports System.Data.SqlClient
Imports System.Configuration
Inherits System.Web.UI.Page
End Sub
'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()
cmd.Parameters.AddWithValue("@Userid", txtUserName.Text)
cmd.Parameters.AddWithValue("@Passwd", txtPWD.Text)
Session("userid") = txtUserName.Text
20
Dim dt As New DataTable()
da.Fill(dt)
Response.Write("<script>alert('Login Successfully')</script>")
Response.Redirect("User\User.aspx") Else
Response.Write("<script>alert('Invalid Authentication')</script>")
Response.Redirect("Home.aspx")
End Sub
End Sub
End Class
Registration page
Inherits System.Web.UI.Page
End Sub
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
Response.Write("<script>alert('Successfully Registered')</script>")
Response.Redirect("~/Home.aspx") Else
End If
End Sub
End Sub
End Class
22
B) SAMPLE SCREENS
Web page
Admin Page
23
Login Page
24
Car Details
Report Details
25
Add Driver Details
Booking Details
26
Driver Details
27