You are on page 1of 58

A PROJECT REPORT

ON

BUILDING CONTRACTOR BOOKING SYSTEM


Project report submitted to Alagappa University in partial fulfillment of the requirements
For the award of the degree of
BACHELOR OF COMPUTER SCIENCE

Submitted by
B.SANTHOSH
Reg No: 2221128024
Under the Guidance of

DEPARTMENT OF COMPUTER SCIENCE


ANANDA COLLEGE
(Accredited with ‘B’ Grade by NAAC)
(Affiliated to Alagappa University, Karaikudi)
Devakottai-630303
APRIL-2024

ANANDA COLLEGE
(Accredited with ‘B’ Grade by NAAC)
(Affiliated to Alagappa University, Karaikudi)
Devakottai-630303.
DEPARTMENT OF COMPUTER SCIENCE

BONAFIED CERTIFICATE
This is to certify that the project work entitled “A PROJECT REPORT ON BUILDING
CONTRACTOR BOOKING SYSTEM” is bonafied work done by B.SANTHOSH (Reg
No.2221128024) in partial fulfillment of the requirement for the award of degree of Bachelor of
Computer Science degree under Alagappa University.

Guide Head of the Department

Date :

Place : Devakottai

Viva Voce Examination was conducted on _____________

External Examiner

ACKNOWLEDGEMENT

I would like to then the marvelous god for giving us the strength and wisdom for completing this project
successfully.

I wish to express our sincere thanks to principal of our college DR.RM.K. RADHAKRISHNAN,
M.A,M.PHIL,B.ED,PH.D for having conferred on me to undertake the privilege of our project.

I convey our grateful thanks to Prof.M.Gananaguru, M.Sc., M.Phil, Head of the Department of computer science,
who kindly encouraged towards our endeavor.
I deliver my sincere thanks to my guide Asst.Prof. N. Sathyapriya, M.C.A., B.Ed., who guided and encourage to
complete my project in successful manner.

I express my sincere thanks to all the staff members of our Department for their kind encouragement in completing
this course of study.

I also express our sincere thanks to my parents and all our well wishers who helped us complete this project
successfully.

BUILDING CONTRACTOR BOOKING SYSTEM

ABSTRACT

This project entitles as “Building Contractor Booking System”. Online booking system is
fast gaining ground as an accepted and used business paradigm. More and more business houses
are implementing web sites providing functionality for performing commercial transactions over
the web. It is reasonable to say that the process of booking on the web is becoming common
place. Building Contractor Booking System is a web application where the customer can book a
building contractor through a web browser. In this project the admin can monitor the overall
process. The contractor can register and login the system using his/her user name and password.
After login process the contractor can update his/her profile like contact type, budget limit etc
and he/she can view the user booking details in his/her module. In this project the user can
register and login the system using his/her user name and password. After login process the user
can view the contractor information. If the user wants to book any contractor, the booking
request is available on user module with payment.

CONTENTS
INDEX PAGE NO
• INTRODUCTION 06
• REQUIREMENT SPECIFICATION 08
• HARDWARE REQUIREMENTS
• SOFTWARE REQUIREMENTS
• ANALYSIS 10
• EXISTING SYSTEM
• PROPOSED SYSTEM
• FEASIBILITY STUDY
• SOFTWARE SPECIFICATION
• DESIGN 25
• MODULE DESCRIPTION
• SYSTEM DESIGN
• UML DIAGRAM OF OUR PROJECT
• SYSTEM IMPLEMENTATION 35
• INTRODUCTION
• TESTING 37
• INTRODUCTION
• TESTING METHODS
• SAMPLE SCREENSHOTS 40
• CODING 56
• CONCLUSION 75
• BIBLIOGRAPHY 77

INTRODUCTION
• INTRODUCTION

Building a house is a complicated process that involves knowledge of architectural design,


building codes, zoning regulations and basic construction elements. A residential building
contractor oversees the construction of individual houses and multi-unit housing projects. A
commercial building contractor oversees the construction and remodeling of stores, malls, hotels
and other commercial projects. Most building contractors own their own companies and many of
them worked in the construction industry before becoming contractors. A building contractor
finds, solicits bids from and schedules all of the subcontractors that are necessary to complete the
project. The new homeowner or business owner contracts with the building contractor and the
building contractor contracts with the subcontractors and suppliers. Contractors typically charge
from 10 percent to 15 percent of the total project cost for this service. A contracting company can
be a single, self-employed individual or a large corporation with a board of directors,
supervisors, site and project managers and office staff. The size and scope of a contractor’s
business often correlates with the need for housing or business development where the contractor
lives. In small, rural areas, a contractor might employ a handful of framing carpenters and
subcontract with specialty contractors who provide other construction services, such as
excavating, roofing, electrical and flooring. There is no set organizational standard for
contracting companies. In this project the admin can monitor the overall process. The contractor
can register and login the system using his/her user name and password. After login process the
contractor can update his/her profile like contact type, budget limit etc and he/she can view the
user booking details in his/her module. In this project the user can register and login the system
using his/her user name and password. After login process the user can view the contractor
information. If the user wants to book any contractor, the booking request is available on user
module with payment.
REQUIREMENT
SPECIFICATION

• REQUIREMENT SPECIFICATION
• HARDWARE REQUIREMENTS

• Processor : Dual core processor 2.6.0 GHZ

• RAM : 4GB

• Hard disk : 320 GB

• Compact Disk : 650 Mb

• Keyboard : Standard keyboard

• SOFTWARE REQUIREMENTS

• Operating System : Windows XP, Windows 7

• Language : ASP.NET

• IDE : Microsoft Visual Studio 2010

• Back End : SQL Server


ANALYSIS
• ANALYSIS

• EXISTING SYSTEM

Contractor Booking System in paper work. The system follows large number of paper
work for maintaining Contractor details and user can be difficult to know about the Contractor
and his/her feedback. In existing system if the user wants to know about the any Contractor
feedback, there is the manual process to know about that. It’s require more time.

DISADVANTAGES OF EXISTING SYSTEM


• Lots of the time consumed for each report generation.

• Immediate response to the queries is difficult.

• More stationary use so they are expensive.

• Manual system is takes more time.

• Existing system is manually, so it increases the chances of errors.

• PROPOSED SYSTEM

The proposed system is developed after a detailed study about the requirements requested by the
user. Proposed system is a computerized one, where all the limitations of manual system are
compensated. Building Contractor Booking System has simplified the working information and
makes a user friendly environment, where the user is provided with much flexibility to manage
effectively. It helps the admin to generate desirable reports more quickly and also to produce
better results.

ADVANTAGES

• Reduction of paper work

• Automation of existing manual information systems.

• Reduction of manual processing


• Keep track of daily information exchange at the server by the administrator.

• Increase in processing and transfer speeds of information over the network.

• Decrease in processing time

• FEASIBILITY STUDY

Feasibility study examines the viability or sustainability of an idea, project, or business.


The study examines whether there are enough resources to implement it, and the concept has the
potential to generate reasonable profits. In addition, it will demonstrate the benefits received in
return for taking the risk of investing in the idea. These studies analyze strengths, weaknesses,
opportunities, and threats to determine whether the proposals are cost-effective and beneficial to
a company’s long-term success. Furthermore, investors can benefit from evaluating the problems
and solutions listed in the study and determine whether a proposed project is the right choice for
a company.

TECHNICAL FEASIBILITY

This assessment is based on an outline design of system requirements, to determine whether the
company has the technical expertise to handle completion of the project. When writing a
feasibility report, the following should be taken to consideration:

• A brief description of the business to assess more possible factors which could affect the
study

• The part of the business being examined

• The human and economic factor

• The possible solutions to the problem

At this level, the concern is whether the proposal is both technically and legally feasible
(assuming moderate cost).[citation needed. The technical feasibility assessment is focused on
gaining an understanding of the present technical resources of the organization and their
applicability to the expected needs of the proposed system. It is an evaluation of the hardware
and software and how it meets the need of the proposed system.

OPERATIONAL FEASIBILITY STUDY

Operational feasibility is the measure of how well a proposed system solves the problems, and
takes advantage of the opportunities identified during scope definition and how it satisfies the
requirements identified in the requirements analysis phase of system development. The
operational feasibility assessment focuses on the degree to which the proposed development
project fits in with the existing business environment and objectives with regard to development
schedule, delivery date, corporate culture and existing business processes.

ECONOMIC FEASIBILITY

Economic evaluation is a vital part of investment appraisal, dealing with factors that can be
quantified, measured, and compared in monetary terms (Chen 1996). The results of an economic
evaluation are considered with other aspects to make the project investment decision as the
proper investment appraisal helps to ensure that the right project is undertaken in a manner that
gives it the best chances of success. Project investments involve the expenditure of capital funds
and other resources to generate future benefits, whether in the form of profits, cost savings, or
social benefits. For an investment to be worthwhile, the future benefit should compare favorably
with the prior expenditure of resources need to achieve them.

• SOFTWARE SPECIFICATION

FRONT END: ASP.NET

Visual Studio .Net is the fast application improvement device for BASIC. Visual Studio .Net
offers complete mix with ASP.NET and empowers to move and customize server controls and
outline Web Forms as they ought to show up when client sees them. A percentage of alternate
points of interest of making BASIC applications in Visual Studio .Net are

• Visual Studio .Net is a Rapid Application (RAD) apparatus. Rather than adding every
control to the Web Form automatically, it serves to include these controls by utilizing tool stash,
sparing programming endeavors.

• Visual Studio .Net backings custom and composite controls. Can make custom controls
that embody a typical usefulness that may need to use in various applications.
• Visual Studio .Net makes a glorious showing of rearranging the creation and utilization of
Web Services. Mush of the software engineer neighborly stuff (making all the XML-based
reports) happens consequently, without much exertion on the developer's side.

• A characteristic based writing computer program is an effective idea that empowers


Visual Studio .Net to mechanize a considerable measure of software engineer unpleasant
assignments.

.NET Programming Dialects:

The .NET Framework gives an arrangement of instruments that assistance to assemble


code that works with the .NET Framework, Microsoft gives an arrangement of dialects that are
as of now .NET perfect. Fundamental is one of those dialects.

ASP.NET Environment:

Dynamic Server Pages were discharged by Microsoft to empower the formation of


element pages taking into account client information and cooperation with a Web website.
ASP.NET enhances the first ASP by giving code-behind. With ASP.NET and code-behind, the
code and HTML can be isolated.

ASP.NET Web administrations are XML-construct benefits that are presented with
respect to the Internet that can be gotten to by other Web administrations and Web
administration customers.

ASP.NET:

ASP.NET is more than the following form of Active Server Pages (ASP); it is a brought
together Web advancement stage that gives the administrations important to designers to
fabricate undertaking class Web applications. While ASP.NET is to a great extent sentence
structure perfect with ASP, it likewise gives another programming model and foundation for
more secure, versatile, and stable applications.

ASP.NET is an assembled, .NET-based environment; you can creator applications in


any .NET perfect dialect, including VisualBasic.NET, BASIC, and JScript.NET. Furthermore,
the whole .NET Framework is accessible to any ASP.NET application. Engineers can
undoubtedly get to the regale of these advances, which incorporate oversaw normal dialect
runtime environment, sort wellbeing, legacy, et cetera.

ASP.NET has been intended to work consistently with WYSIWYG HTML editors and
other programming instruments, including Microsoft Visual Studio .NET. Does this make Web
improvement simpler, as well as gives every one of the advantages that these apparatuses bring
to the table, including a GUI that designers can use to drop server controls onto a Web page and
completely coordinated investigating backing. Engineers can browse the accompanying two
elements when making a " ASP.NET application, Web Forms and Web administrations, or
consolidate these in any capacity they see fit.

• Web Forms permits you to assemble intense structures based Web pages. At the point
when building these pages, you can utilize ASP.NET server controls to make normal Ul
components, and system them for basic assignments. These controls permit you to quickly
assemble a Web Form out of reusable implicit or custom segments, rearranging the code of a
page.

• An XML Web administration gives the intends to get to server usefulness remotely

ASP.Net Architecture:

Features:

• Intuitive C++ Based Language

Utilize a dialect displayed on C++ linguistic structure, instantly commonplace to C++ and
Java designers, and also natural new dialect builds that incredibly streamline advancement
errands

• Reliable Interoperability

Utilize code to call local Windows APIs, use pre-constructed COM parts, and influence
existing ActiveX controls to flawlessly coordinate existing applications and segments.

• Advanced, Component-Oriented Language

Exploit inborn backing for properties, indexers, delegates, single and


multidimensional clusters, propelled legacy, traits, forming, and XML remarks.

• Capable Debugging and Testing Tools

ASP .NET incorporates a capable remote and multi-dialect debugger, empowering


engineers to test applications and fabricate solid multi-level arrangements that compass process
limits and are composed in different programming dialects.

Net Framework Class Library :

Addition experienced and capable, constructed in usefulness, including a rich


arrangement of accumulation classes, systems administration bolster, multithreading bolster,
string and customary expression classes, and wide backing for XML, XML patterns, XML
namespaces, XSLT, XPath, and SOAP.

Powerful Web Development Environment:

Make Web-based arrangements in C# utilizing the mutual Web Forms Designer and XML
Designer. Engineers can likewise utilize IntelliSense elements and label finish or pick the
WYSIWYG manager for move and customize creating to construct intelligent Web applications.

. NET Framework:

Microsoft planned VB from the beginning to exploit its new .NET Framework. The .NET
Framework is comprised of four sections, the Common Language Runtime, an arrangement of
class libraries, an arrangement of programming dialects, and the ASP.NET environment.
The .NET Framework was composed on account of three objectives. In the first place, it was
planned to make Windows applications considerably more solid, while likewise furnishing an
application with more prominent level of security.

Second, it was proposed to improve the advancement of Web applications and


administrations that work in the conventional sense, as well as on cell phones too. Finally, the
structure was intended to give a solitary arrangement of libraries that would work with various
dialects. The .NET Framework is the base for the new Microsoft .NET Platform. Furthermore, it
is a typical situation for building, conveying, and running Web applications and Web Services.
The .NET Framework contains a typical dialect runtime and basic class libraries - like
ADO .NET, ASP .NET and Windows Forms - to give propelled standard administrations that
can be coordinated into a mixed bag of PC frameworks. The .NET Framework gives a
component rich application environment, streamlined improvement and simple mix between
various diverse advancement dialects. The .NET Framework is dialect nonpartisan. At present it
bolsters C++, C#, Visual Basic, and Jscript. Microsoft's Visual Studio.NET is a typical
advancement environment for the new .NET Framework.

Coordinating with IIS

IIS is the web server is utilized here. IIS 5.0 or above is key for the ASP.NET for the
earth. This arrival of ASP.NET uses IIS 5.0 as the priKim host environment. IIS dependably
accept that an arrangement of accreditations maps to a Windows NT record and uses them to
verify a client. There are three various types of validation accessible in IIS 5.0: BASIC,
DIGEST, and INTEGRATED WINDOWS Authentication (NTLM or Kerberos). You can
choose the kind of verification to use in the IIS regulatory administrations.

On the off chance that you ask for a URL containing an ASP.NET application, the solicitation
and confirmation data are given off to the application. ASP.NET gives the two extra sorts of
verification depicted in the accompanying table.

Web Service:

Web administrations are ostensibly the most energizing and improve elements of
Microsoft's. NET activity and they are liable to significantly influence the way business
collaborate utilizing PC application. Rundown of conceivable Web administrations is as changes
as the rundown of conceivable business opportunities. Web administration would normally
perform a center business administration, for example, client confirmation, Visa approval,
valuing a derivates security, submitting a buy request for a stock or estimating a same-day
shipment.

A web administration is a part that performs a capacity or administration. A segment is a


bit of programming that has a very much characterized interface, shrouded internals, and the
ability of being found. By "found" implies that you can figure out what the part' manages
without expecting to see the code inside of it. A segment is like a strategy since we can call it
with contentions that fit an arrangement of parameters, and it has the ability of returning results.

A web administration might likewise return data to the guest. This administration dwells
some place on the Web and can be gotten to from different areas on the Web. For this
administration to be called, there are various components that must be set up. To start with, the
guest must' know how to call the administration. Second, the call must be made over the Web.
At long last, the “web administration must know how to react”.

6.2 About SQL Server

SQL Server 8.0:

Social database frameworks are the most critical database frameworks utilized as a part of the
product business today. A standout amongst the most remarkable frameworks is Microsoft SQL
Server. SQL Server is a database administration framework created and showcased by
Microsoft. It runs solely under Windows NT and Windows 95/98.

• The most critical parts of SQL Server 8 are:

• SQL Server is anything but difficult to utilize.

• SQL Server scales from a portable tablet to symmetric multiprocessor frameworks.

• SQL Server gives information warehousing elements that as of recently have just been
accessible in Oracle and other more costly DBMSs.

A database framework is a general gathering of distinctive database programming segments and


databases containing the parts viz. Database application projects, Front-End segments, Database
administration frameworks, and Databases.

• A database framework must give the accompanying elements:

• A mixture of client interfaces

• Physical information autonomy

• Logical information autonomy

• Query advancement

• Data honesty

• Concurrency control

• Backup and recuperation

• Security and approval

SQL Server is a Relational Database Management System. The SQL Server social dialect
is called Transact-SQL.SQL is resource arranged dialect. This implies that SQL can inquiry
numerous lines from one or more tables utilizing only one announcement. This component
permits the utilization of this dialect at a coherently larger amount than procedural dialects.
Another vital property of SQL is its non-procedurally. SQL contains two sub dialects DDL and
DML.

SQL Server functions as a characteristic augmentation of Windows NT and windows


95/98.SQL Server is generally simple to oversee through the utilization of a graphical
registering environment for each undertaking of framework and database organization. SQL
Server uses administrations of Windows NT to offer new or expanded database capacities, for
example, sending and accepting messages and overseeing login security.

The SQL Server chairman's essential device for connecting with the framework is
Enterprise Manager. The Enterprise Manager has two primary purposes: Administration of the
database server and Management of database items.

• SQL Server Query Analyzer gives a graphical presentation of the execution arrangement
of a question and a programmed segment that recommends which list ought to be utilized for a
chose inquiry. This intelligent segment of SQL Server performs the assignments like:

• Generating and executing Transact-SQL explanations

• Putting away the produced Transact-SQL explanations in a document

• Analyzing execution gets ready for produced inquiries

• Graphically representing the execution arrangement for a chose question.

A put away method is an exceptional sort of clump written in Transact-SQL utilizing the
SQL dialect and SQL augmentations. It is saved money on the database server to enhance the
execution and consistency of monotonous undertakings. SQL Server backings put away
methods and framework techniques. Put away techniques can be utilized for the accompanying
purposes: to control access approval, to make a review trial of exercises in database tables, to
discrete information definition & information control articulations concerning a database &
every single comparing application.

The database article perspective can be utilized for:

• Restricting the utilization of specific sections and lines of tables - that is to control access
to a specific piece of one or more tables,

• To shroud the points of interest of confounded inquiries, to limit embedded & redesigned
qualities to certain extents.

The Query Optimizer is the piece of SQL Server that chooses how to best perform a question. It
creates a few inquiry execution gets ready for the given question & chooses the arrangement
with the most minimal expense.
SQL Server can work in one of two security modes:

• Windows NT

• Mixed

Windows NT security mode solely utilizes Windows NT client records to sign into the
SQL Server framework. Blended mode permits clients to associate with SQL Server utilizing
the Windows NT security framework or the SQL Server framework. Moreover it gives three
security offices to controlling access to database objects:

• Transact-SQL explanations GRANT, DENY, and REVOKE.

• Views.

• Stored methodology

A Windows NT client record or a SQL server login name permits a client to sign into the
SQL server framework. A client who hence needs to get to a database of the framework needs a
database client record to work in the DB. In this manner clients must have a DB client represent
each DB they need to utilize. In the event that there is no such record the client may be
permitted to work in the DB under the visitor account."

Put away methods can likewise be utilized to limit information access. The confinement
of information access utilizing put away methodology is based upon the property that the
consent to execute a put away' strategy is free of any authorization for DB objects that are
referenced by the put away system.

SQL server gives an instrument called a trigger for upholding procedural respectability
requirements.

A DBMS Handles 2 Sorts Of Honesty Requirements:

• Declarative Integrity limitations characterized utilizing CREATE& ALTER


TABLE articulations.

• Procedural honesty requirements took care of by triggers.

A trigger is an instrument that is conjured when a specific activity happens on a specific table.
Every trigger has 3 general parts:

• A name
• The activity

• The execution

SQL server keeps record of every change it makes to the db amid an exchange. This is
essential in the event that a lapse happens amid the execution of the exchange. For this situation
all already executed explanations inside of the exchange must be moved back. SQL server keeps
every one of these records, specifically the previously, then after the fact values, in one or more
documents called the exchange log. Each DB of the SQL server framework has its own
particular exchange log. Concurrency in multi-client frameworks, for example, SQL Server has
chosen impact of execution. At the point when access to the information is taken care of such
that stand out project at once can utilize the information, preparing moderates significantly. SQL
Server like all different DBMSs takes care of this issue utilizing exchanges. All announcements
inside an exchange manufacture a nuclear unit. This implies that either all announcements are
executed or for the situation of disappointment, all announcements are wiped out.

Elements of SQL Server

Microsoft SQL Server bolsters a full arrangement of elements that outcome in the
accompanying. SQL incorporates an arrangement of managerial and advancement instruments
that enhance our capacity to introduce, convey, oversee and use SQL Server over a few locales.

• Adaptability

The same database motor can be utilized crosswise over stages going from smart phones
Microsoft Windows95 to substantial; multiprocessor servers running Microsoft Windows NT,
Enterprise Edition.

• Ease In Building Information Distribution Centers

SQL Server incorporates instruments for removing and examining synopsis information
for online investigative preparing (OLAP). SQL Server likewise incorporates apparatuses for
outwardly planning databases and breaking down information utilizing English based inquiries.

SQL API (SQL Application Programming Interface)

Implanted SQL applications utilize the DB-library DLL to get to SQL server. The SQL
Server ODBC driver clients don't get to Microsoft SQL Server straightforwardly. They utilize an
application kept in touch with access the information in SQL Server. SQL Server can likewise
be gotten to through COM, Microsoft ActiveX, or Windows DNA (Windows Distributed
Internet Applications Architecture) parts. Applications are composed to get to SQL Server
through a database Application Programming Interface (API).

Web Clients:

A Web customer comprises of two sections:

• Dynamic Web pages containing different sorts of markup dialect which are created by
Web parts running in the Web level.

• Web program, which renders the pages got from the server.

A Web customer is now and again called a slim customer. Slim customers as a rule don't
question databases, execute complex business guidelines, or associate with legacy applications.

HTML

HTML remains for Hyper Text Markup Language. It is a basic content designing dialect
used to make hypertext records. It is a stage free dialect not at all like most other programming
dialect. HTML is impartial and can be utilized on numerous stage or desktop. It is this
component of HTML that makes it mainstream as standard on the WWW. This adaptable dialect
permits the making of hypertext connections, otherwise called hyperlinks. These hyperlinks can
be utilized to unite reports on diverse machine, on the same system or on an alternate system, or
can even indicate purpose of content in the same record.

HTML is utilized for making archives where the accentuation is on the presence of the
record. It is likewise utilized for DTP. The records made utilizing HTML can have content with
diverse sizes, weights and hues. It can also contain graphics to make the document more
effective.
DESIGN
• DESIGN

4.1 MODULE DESCRIPTION

Contractor

• Login

• Update Profile (Contact Type, Budget Limit)

• Accept/Reject Booking

• Report

User

• Register

• Login

• Booking Request

• Notification

• Feed Back

• Make Payment
MODULE DESCRIPTION

Contractor

• Login

In this module, contractor can login in the system using username and password.

• Update Profile (Contact Type, Budget Limit)

In this module, contractor can update his/her profile like contactor id, name, location,
contract type, budget limit etc.

• Accept/Reject Booking

In this module, the contractor can accept or reject the user booking. If the contractor
accepts or rejects the user booking request the automatic notification is sent to the user
registered mobile number.

• Report

In this module, the contractor can generate the report based on user requirements,
booking details etc.
User

• Register

There is registration form available where new user can create their account by providing
required information to the system. The registration form details are like name, email,
gender, mobile number, address, and etc. These details are stored in the database. And
then can getting to the username and password in the system.

• Login

In this module, user can login in the system using username and password.

• Booking Request

In this module, the user can send the booking request to the contractor.
• Notification

In this project the contractor can accept or reject the user booking request the automatic
notification is sent to the user registered mobile number.

• Feed Back

In this module, the user can post the feedback about contractor service.
• Make Payment

In this module used to make payment. This module contains user’s card details like name,
card no, amount etc.

• Post Complaint

In this module, the user can post the complaint about contractor service. The user
complaint request is sent to the admin.

• SYSTEM DESIGN
ARCHITECTURE

A system architecture or systems architecture is the conceptual model that defines the
structure, behavior, and more views of a system. An architecture description is a formal
description and representation of a system, organized in a way that supports reasoning about the
structures and behaviors of the system. System architecture can comprise system components,
the externally visible properties of those components, the relationships (e.g. the behavior)
between them. It can provide a plan from which products can be procured, and systems
developed, that will work together to implement the overall system. There have been efforts to
formalize languages to describe system architecture; collectively these are called architecture
description languages (ADLs).

Various organizations define systems architecture in different ways, including:

• An allocated arrangement of physical elements which provides the design solution for a
consumer product or life-cycle process intended to satisfy the requirements of the
functional architecture and the requirements baseline.

• Architecture comprises the most important, pervasive, top-level, strategic inventions,


decisions, and their associated rationales about the overall structure (i.e., essential
elements and their relationships) and associated characteristics and behavior.

• If documented, it may include information such as a detailed inventory of current


hardware, software and networking capabilities; a description of long-range plans and
priorities for future purchases, and a plan for upgrading and/or replacing dated equipment
and software

• The composite of the design architectures for products and their life-cycle processes.

• UML DIAGRAM OF OUR PROJECT

Use Case Diagram

A use case diagram at its simplest is a representation of a user's interaction with the system that
shows the relationship between the user and the different use cases in which the user is involved.
In this context, a "system" is something being developed or operated, such as a web site. The
"actors" are people or entities operating under defined roles within the system.

Class Diagram

A class diagram in the Unified Modeling Language (UML) is a type of static structure diagram
that describes the structure of a system by showing the system's classes, their attributes,
operations and the relationships among objects. The class diagram is the main building block of
object-oriented modeling. It is used for general conceptual modeling of the systematic of the
application, and for detailed modeling translating the models into programming code.
Sequence Diagram

A sequence diagram shows object interactions arranged in time sequence. It depicts the objects
and classes involved in the scenario and the sequence of messages exchanged between the
objects needed to carry out the functionality of the scenario. Sequence diagrams are typically
associated with use case realizations in the Logical View of the system under development.
Sequence diagrams are sometimes called event diagrams or event scenarios.

Collaboration Diagram

A collaboration diagram, also called a communication diagram or interaction diagram, is an


illustration of the relationships and interactions among software objects in the Unified Modeling
Language (UML).

Activity Diagram

Activity diagram displays a special state diagram, where most of the state are action states
and most of the transitions are triggered by completion o0f the action in the source states. The
activity can be described as an operation of the system. So the control flow is drawn from one
operation to another. This flow can be sequential, branched or concurrent. Activity diagrams
deals with all type of flow control by using different elements.
SYSTEM
IMPLEMENTATION

• SYSTEM IMPLEMENTATION

• INTRODUCTION
Implementation is the stage in the project where the theoretical design is turned into a
working system. The most critical stage is achieving a successful system and in giving
confidence on the new system for the users, what it will work efficient and effectively. It
involves careful planning, investing of the current system, and its constraints on implementation,
design of methods to achieve the change over methods. The implementation process begins with
preparing a plan for the implementation of the system. According to this plan, the activities are to
be carried out in these plans; discussion has been made regarding the equipment, resources and
how to test activities. The coding step translates a detail design representation into a
programming language
Realization. Programming languages are vehicles for communication between human and
computers programming language characteristics and coding style can profoundly affect
software quality and maintainability. The coding is done with the following characteristics in
mind.
• Ease of design to code translation.
• Code efficiency.
• Memory efficiency.
• Maintainability.
Implementation is the stage of the project when the theoretical design is turned out into a
working system. Thus it can be considered to be the most critical stage in achieving a successful
new system and in giving the user, confidence that the new system will work and be effective.
TESTING
• TESTING

• INTRODUCTION

Testing is a series of different tests that whose primary purpose is to fully exercise the
computer based system. Although each test has a different purpose, all work should verify that all
system element have been properly integrated and performed allocated function. Testing is the
process of checking whether the developed system works according to the actual requirement
and objectives of the system. The philosophy behind testing is to find the errors. A good test is
one that has a high probability of finding an undiscovered error. A successful test is one that
uncovers the undiscovered error. Test cases are devised with this purpose in mind. A test case is a
set of data that the system will process as an input. After a system has been verified, it needs to
be thoroughly tested to ensure that every component of the system is performing in accordance
with the specific requirements and that it is operating as it should including when the wrong
functions are requested or the wrong data is introduced. Testing measures consist of developing
a set of test criteria either for the entire system or for specific hardware, software and
communications components. For an important and sensitive system such as an electronic voting
system, a structured system testing program may be established to ensure that all aspects of the
system are thoroughly tested.
• TESTING METHODS

Unit Testing

Unit testing refers testing of all the individual programs. This is sometimes called as
program testing. This test should be carried out during programming stage in order to find the
errors in coding and logic for each program in each module. Unit test focuses verification effort
on the smallest unit of software design module. In this project, the user must fill each field
otherwise the user to enter values.

Validation Testing

Valid and invalid data should be created and the program should be made to process this
data to catch errors. When the user of each module wants to enter into the page by the login page
using the use rid and password .If the user gives the wrong password or use rid then the
information is provided to the user like “you must enter user id and password”. Here the inputs
given by the user are validated. That is password validation, format of date are correct, textbox
validation. Changes that need to be done after result of this testing.

Acceptance Teasing

Acceptance testing is performed on a collection of business functions in a Production


environment and after the completion of functional testing. This is the final Stage in the testing
process before the system is accepted for operational use. This testing should be done with
original data and with the presence of the users. This test confirms the system ready for
production.
SAMPLE
SCREENSHOTS

• SAMPLE SCREENSHOTS
CODING
• CODING

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

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


{

SqlConnection con = new SqlConnection(@"Data Source=.\


SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{

cmd = new SqlCommand("insert into feedbackTB values('"+Session["uname"].ToString()


+"','" + TextBox5.Text + "' )", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<Script> alert('Feedback Added!') </Script>");
}
protected void Button2_Click(object sender, EventArgs e)
{

TextBox5.Text = "";

}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;

protected void Page_Load(object sender, EventArgs e)


{
}
protected void Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
}
protected void Button1_Click(object sender, EventArgs e)
{

string s = FileUpload1.PostedFile.FileName;
FileUpload1.PostedFile.SaveAs(Server.MapPath("~/upload/"+s));
string a = "~/upload/" + s;

cmd = new SqlCommand("insert into serviceTB values('" + TextBox1.Text + "','" +


TextBox2.Text + "','"+TextBox3.Text+"','"+a+"') ", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<Script> alert('Service Added!') </Script>");
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
cmd = new SqlCommand("select * from serviceTB", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
DataList1.DataSource = dt;
DataList1.DataBind();
}
}

protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)


{
if (e.CommandName == "Edit")
{

string strId = DataList1.DataKeys[e.Item.ItemIndex].ToString();


cmd = new SqlCommand("Delete from serviceTB where ID='" + strId + "'", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<Script> alert('Service Deleted!') </Script>");
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
cmd = new SqlCommand("select * from bookingTB where status =''", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();

}
protected void Button1_Click(object sender, EventArgs e)
{
cmd = new SqlCommand("update bookingTB set status='"+DropDownList1.Text+"' where
id ='" + TextBox1.Text + "'", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<script>alert('Status Update')</script>");
}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
cmd = new SqlCommand("select * from regtb ", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

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


{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
if (TextBox1.Text == "admin" & TextBox2.Text == "admin")
{
Response.Redirect("AdminHome.aspx");

}
else
{
Response.Write("<Script> alert('Password Mismatch!') </Script>");

}
}
protected void Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";

}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
cmd = new SqlCommand("select * from bookingTB where status='Approved' ", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
}

sing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;

protected void Page_Load(object sender, EventArgs e)


{
cmd = new SqlCommand("select * from feedbackTB ", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

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


{
protected void Page_Load(object sender, EventArgs e)
{

}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|DataDirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;

protected void Page_Load(object sender, EventArgs e)


{
}
protected void Button1_Click(object sender, EventArgs e)
{
cmd = new SqlCommand("insert into regtb values('" + TextBox1.Text + "','" +
TextBox2.Text + "','" + RadioButtonList1.Text + "','" + TextBox3.Text + "','" + TextBox4.Text +
"','" + TextBox5.Text + "','" + DropDownList1.Text + "','" + TextBox6.Text + "','" +
TextBox7.Text + "','" + TextBox8.Text + "')", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<Script> alert('Record Saved!') </Script>");

}
protected void Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
TextBox8.Text = "";
TextBox9.Text = "";

}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
public partial class Search : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|DataDirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;

protected void Page_Load(object sender, EventArgs e)


{
if (!IsPostBack)
{
cmd = new SqlCommand("select * from serviceTB", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
DataList1.DataSource = dt;
DataList1.DataBind();
}
}

protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)


{
if (e.CommandName == "Edit")
{

string strId = DataList1.DataKeys[e.Item.ItemIndex].ToString();


Session["id"] = strId;
Response.Redirect("userbill.aspx");

protected void Button4_Click(object sender, EventArgs e)


{
}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

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


{
string style;
string a = "", b = "", c = "", d = "";
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|DataDirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{

cmd = new SqlCommand("select * from serviceTB where ID ='" + Session["id"].ToString()


+ "'", con);
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
amount.Text = dr["Amount"].ToString();
style = dr["Model_Type"].ToString();
Image1.ImageUrl = dr["Image"].ToString();

}
con.Close();

}
protected void Button1_Click(object sender, EventArgs e)
{
cmd = new SqlCommand("insert into bookingTB values('" + Session["uname"].ToString() +
"','" + style + "','" + Session["id"].ToString() + "','" + amount.Text + "','" + no.Text + "','"
+details.Text + "','" +a+ "','" + b + "','" + c + "','"+d+"')", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<script>alert('Request Sended Wait for Constructor approval')</script>");
}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|DataDirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
cmd = new SqlCommand("select * from bookingTB where username ='" +
Session["uname"].ToString() + "' and status='Approved' ", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
cmd = new SqlCommand("select * from regtb where username = '" +
Session["uname"].ToString() + "' ", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
DetailsView1.DataSource = dt;
DetailsView1.DataBind();
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|DataDirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;

protected void Page_Load(object sender, EventArgs e)


{

}
protected void Button1_Click(object sender, EventArgs e)
{

con.Open();
cmd = new SqlCommand("select * from regtb where username='" + TextBox1.Text + "' and
Password='" + TextBox2.Text + "'", con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
Session["uname"] = TextBox1.Text;
Session["Mobile"] = dr["mobile"].ToString();
Response.Redirect("UserHome.aspx");

}
else
{
Response.Write("<script> alert('username or Password Incorrct!') </Script>");
}

con.Close();

}
protected void Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";
}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

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


{
SqlConnection con = new SqlConnection(@"Data Source=.\
SQLEXPRESS;AttachDbFilename=|Datadirectory|\contradb.mdf;Integrated Security=True;User
Instance=True");
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{

TextBox1.Visible = false;
TextBox2.Visible = false;
DropDownList1.Visible = false;
cmd = new SqlCommand("select * from bookingTB where username
='"+Session["uname"].ToString()+"' and status !=''", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();

cmd = new SqlCommand("select * from bookingTB where Username ='" +


Session["uname"].ToString() + "' and status != ''", con);
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
Label2.Text = dr["status"].ToString();

con.Close();

if (Label2.Text == "Approved")
{
TextBox1.Visible = true;
TextBox2.Visible = true;
DropDownList1.Visible = true;
}
}
protected void Button1_Click(object sender, EventArgs e)
{
cmd = new SqlCommand("update bookingTB set card_type='" + DropDownList1.Text +
"',card_no='"+TextBox1.Text+"',cv_no='"+TextBox2.Text+"' where id ='" + TextBox3.Text + "'
and username='"+Session["uname"].ToString()+"'", con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<script>alert('Status Update')</script>");
}

CONCLUSION
• CONCLUSION

The project entitled as “Building Contractor Booking System” has been developed to satisfy all
the proposed requirements. The process of recording details about contractor details, user details
and contractor feedback details is more simple and easy. The system reduces the possibility of
errors to a great extent and maintains the data in an efficient manner. User friendliness is the
unique feature of this system. The system generates the reports as and when required. The
system is highly interactive and flexible for further enhancement. The coding is done in a
simplified and easy to understandable manner so that other team trying to enhance the project
can do so without facing much difficulty. The documentation will also assist in the process as it
has also been carried out in a simplified and concise way.
BIBLIOGRAPHY
10. BIBLIOGRAPHY

BOOK REFERENCE:

• N.J. Belkin and W.B. Croft, “Information Filtering andInformation Retrieval: Two Sides
of the Same Coin?”Comm.

• Advanced .NET Remoting in VB.NET (Ingo Rammer, Apress, July 2002)

• ASP to ASP.NET Migration Handbook (Christian Nagel et al, Wrox, January 2003)

• Beginning Visual C# (Christian Nagel et al, Wrox, September 2001)

• Data-Centric .NET Programming (Christian Nagel et al, Wrox, December 2001)

• Professional .NET Network Programming 2nd Edition (Christian Nagel et al, Wrox,
September 2004)

• P.W. Foltz and S.T. Dumais, “Personalized InformationDelivery: An Analysis of


Information Filtering Methods,”Comm.

• S. Pollock, “A Rule-Based Message Filtering System,”ACM Trans. Office Information


Systems.

WEBSITE REFERENCE

• www.csharpcornar.com

• www. Microsoft.com/sql

• www.databasejournal.com

• www.microsoft.com/vcsharp

You might also like