0% found this document useful (0 votes)
209 views

Sample Student

This document describes a proposed online passport application system. It would allow users to register, search for passports by location, date, qualification or title, and apply for passports online. The system would use forms authentication to authenticate users and store user data in a SQL database. Several pages would include validation controls. The objectives are to efficiently store and retrieve user data, facilitate passport searching, generate reports, and allow online updating of data for improved data access and security. Hardware requirements include a computer with 1GB RAM and hard disk space, and the software would include Windows, Visual Studio, SQL Server, and IIS. Design documents include use case and data flow diagrams.

Uploaded by

Anirudh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views

Sample Student

This document describes a proposed online passport application system. It would allow users to register, search for passports by location, date, qualification or title, and apply for passports online. The system would use forms authentication to authenticate users and store user data in a SQL database. Several pages would include validation controls. The objectives are to efficiently store and retrieve user data, facilitate passport searching, generate reports, and allow online updating of data for improved data access and security. Hardware requirements include a computer with 1GB RAM and hard disk space, and the software would include Windows, Visual Studio, SQL Server, and IIS. Design documents include use case and data flow diagrams.

Uploaded by

Anirudh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 151

PROJECT TITLE

INTRODUCTION

Since the advent of computers in last two decades, every organization is going under
the process of computerization. The computerization has many benefits. Primarily a
computer is helpful in four major aspects of any kind of organization:
 Time efficiency
 Cost effective
 Huge data storage capacity

1
 Simple operation.
This is a public website for appling for Passport online. All the registered users of
Passport site have there own personal home page. The Passport site include a Search
button for finding Quick Passport, it has four option that is
 Search by location
 Search by Date
 Search by Qualification.
 Search by Passport Title.
This Passport site uses forms authentication to authenticate users. When new users
register the forms, authentication module automatically give a authentication ticket to the
user’s browser to identify the user.
Several of the pages include in the Passport site use validation controls to validate form
information before it is added to Database table.
To simplify development all the pages in the Passport site are built with user
controls. For example, the standard header and footer for each page are created with
header and footer user control. Uses of the website can publicity post Passport and find
better Passport of companies. If a user is interested in a Passport , the user can submit a
resume, and if employer is interested in that user then they enquiry about user and send
response by mail or phone.

OBJECTIVE

The objectives of developing the Passport center are as given below: -

 To store data of the entire user who are registered in the site.

 To solve the user’s problem in time efficient manner. Helping the user to search
different Passport with a robust search tools

 To facilitate easy and efficient retrieval of data as and when required for Passport
by the company.

2
 To generate and print out the various reports.

 Online updating of all type of data, updating data using web based interfaces and
with the help of buttons and links in an easy and convenient way.

 Data security is maintained to relatively high level by implementing it at


Database level, so as to ensure that only authorized users have access to
confidential client information.
 Developing a viable candidate system that fulfill the Faster and accurate
information retrieval
 Easy registration
 Login dependent information retrieval and updating.Correct and consistent
maintenance of data and its quick retrieval
 Improving the switches button and hyperlink so that the candidate shall find all
the queries they need at first sight.
The overall objective of the system to bring the IT-Passport seeker and employer
round the globe more closely to each other so that Passport seeker can get correct
Passport and employer can get the correct candidate.

3
SURVEY OF TECHNOLOGY

 SERVER SIDE COMPONENTS: ACTIVE SERVER PAGES

In the world of web-accessible ASP.NET application Active server pages and


Servlets occupy a central position between enabled clients and application servers. ASP
working in the environment of the web container that provides connection and
services.By means of these connections, ASP control the presentation of data derived
from operations on database to network-connected clients. This client role is suggested in
figure-
Client Presentation
Web Browsers Internet Aware
HTML pages Devices
ASP

HTML, Multimedia, XML Objects

Web Server / Web container

Server presentation control Active Server Pages

Binary files, Query, Result, XML

ADO.NET

Business Logic

Binary files, Query, Result, XML


Back End Database SQL Database, Object Database
File System

4
 SQL DATABASE MANAGEMENT SYSTEM
Database systems have become ubiquitous across the computing
landscape. This is partly because of the basic facilities offered by database
management systems: physical data independence, ACID transaction properties, a
high-level query language, stored procedures, and triggers. These facilities
permits sophisticated applications to ‘push’ much of their complexity into the
database itself. The proliferation of database systems in the mobile and embedded
market segments is due, in addition to the features above, to the support for two-
way database replication and synchronization offered by most commercial
database management systems. Data synchronization technology makes it
possible for remote users to both access and update corporate data at a remote,
off-site location. With local (database) storage, this can be accomplished even
when disconnected from the corporate network.

SQL is a realational database management system.

A relational database management system (RDBMS) is a program that lets


you create, update, and administer a relational database. Most commercial
RDBMS's use the Structured Query Language (SQL) to access the database,
although SQL was invented after the development of the relational model and is
not necessary for its use.

The leading RDBMS products Microsoft's SQL Server. Despite repeated


challenges by competing technologies, as well as the claim by some experts that
no current RDBMS has fully implemented relational principles, the majority of
new corporate databases are still being created and managed with an RDBMS.

5
PROJECT CATEGORY

“Web Based RDBMS”

The relational model was propounded by E.F. codd of the IBM in 1972. One of
the main advantages of the relational model is that it is conceptually simple and more
importantly based on mathematical theory of relation. It is also frees the users from
details of storage structure and access methods.

A database can be understood as a collection of related files. How those files are
related depends on the model used. Early models included the hierarchical model (where
files are related in a parent/child manner, with each child file having at most one parent
file), and the network model (where files are related as owners and members, similar to
the network model except that each member file can have more than one owner).
FUTURE OR RDBMS: -
 Data are the values stored in the database. On its own, data means very little.
 A database is a collection of tables.
 Each table contains records, which are the horizontal rows in the table. These are
also called tuples.
 Each record contains fields, which are the vertical columns of the table. These are
also called attributes.
 Fields can be of many different types. There are many standard types, and each
DBMS (database management system, such as Oracle or SQL) can also have their
own specific types, but generally they fall into at least three kinds - character,
numeric and date
 The domain refers to the possible values each field can contain (it's sometimes
called a field specification).
 An index is a physical mechanism that improves the performance of a database.
Indexes are often confused with keys
 A view is a virtual table made up of a subset of the actual tables.

6
HARDWARE & SOFTWARE SPECIFICATION

The hardware & software specification and environment specifications used by


programmers are:
HARDWARE:
 Computer system: Standard pc/at compatible with Pentium 3 or Pentium 4 CPU
or more.
 Primary memory: This Information System works within 1 G.B. if user memory
(RAM) addressed by MS windows.
 Hard disk having 1GB free space.
 Input device: Mouse & keyboard compatible with PC/ AT, video adapters and
monitors. It is a colored program so better to use a colored monitor
 Color monitors for best performance.
SOFTWARE:
 Windows xp or above
 Ms Visual Studio 2008
 MsSqlSrver 2005
 Internet explorer 5.0.
 IIS 5.0 or above
 The hardware & software specification and environment specifications to run the
application.

7
DESIGN SPECIFICATION

1. USE CASE DIAGRAM

registration

Document
verificatio
Applicant n Registrar

Acknowled
gment slip

8
2. 2. DATA FLOW DIAGRAM

Applicant info Passport Applicant info Applicant


Details Details
info Registration info
Registered
User Apply Registration
Details

info
Document info
Copy of scaned
document
Document
details

(CONTEXT LEVEL DFD)

9
Browser database
info

Selection process

Selection info
Control no info Control No
info Process
Enter
Document New applicant info

New applicant
Process info Database

Login info
Login info Login process Login register
Password

FIRST LEVEL DFD

10
System Updating

Applicant profile
Applicant
profile details
Applicant Detail
info
info
Applicant info
details
info Configure
System
Database
info
info Listing of all the
Apply registered Applicant
info
Details
User process info Apply details

Applicant Interact
Process

Login info
Registration info

login Login Process

Registration info Register


Registered Process

SECOND LEVEL DFD

11
3. ENTITY RELATIONSHIP DIAGRAM

12
DATABASE STRUCTURE

 Passport table

Field Name Data Type Size Description


Passport code Integer, [ Primary key ] 10 Passport code
User id Integer , [Foreign Key] 10 User code
User first name Varchar 50 First name of the user
User last name Varchar 50 Last name of the user
Date of birth Date/time Birth Date of the user
Address Varchar 50 First location
City Varchar 50 City of the location
State Varchar 50 State name
Zip Integer 10 Zip code of the city
Country Varchar 50 User country name
Phone Integer 10 Phone no of the user
Email Varchar 50 Email id of the user
Sex Boolean Male(M),female(F)
Qualification1 Varchar 50 First qualification
Qualification2 Varchar 50 Second qualification
Qualification3 Varchar 50 Higher qualification

 Login table

Field name Data Type Size Description


User id Varchar, Primary key 50 User id is the E-mail_id of the user)

User password Varchar 50 Registered user have pwd

13
 Apply table

Field Name Data Type Size Description


Apply date Date Apply date of the Passport
Passport id Integer, [Foreign Key] 10 Applicant Passport id
User id Integer , [Foreign Key] 10 Applicant User id
Response Varchar 150 Pending , Short listedRejected

 Passport table
Field Name Data Type Size Description
Passport _Id Varchar, [primary key ] 50 Passport id
Passport _sdate Date Passport apply date
Passport _mail_id Varchar 50 Passport email id
Passport _location Varchar 50 Passport location

 Enqirytable
Field Name Data Type Size Description
enquiry _id Varchar, [primary key ] 50 Enquiry id
enquiry _date Date Enquiry date
enquiry _status Varchar 50 Status of enquiery
enquiry _description Varchar 50 Description of enquiey

 Delevery
Field Name Data Type Size Description
delivery_number Varchar, [primary key ] 50 Deleveryid
delivery _date Date Delevery date
delivery _status Varchar 50 Status of Delevery
delivery _address Varchar 50 Address of delivery

14
delivery _contact Varchar 50 Contact detail of person
Remark Varchar 50 Remark for delevery

15
PROCESS LOGIC

User

User Interacts with browser and Enters address of site

If System asked for details


new

Database
Home page open and computer asked for login and password

Server stores details with Uid / pwd


Yes By
Application No

Generates Selection / Home Page open


various reports By Name and
DOB

No

By Date of
submition

if
By passport
Number

Get company detail 2

Passport search
1
16
Companydetails
User are assign the input

2
1

Server check input


Send mail

Servers fetch Passport from

Apply for passwort through id


Database

Apply passport

17
MODULES

The project include following main modules:-

 Login of the Passport Aplicant


 Registration of user.
 Passport description.
 User profile information.
 The validation master
 Report genaration
 Brief description of the all modules.
Login of the Passport -applicant and administrator
This module is considered with login of new user and administrator. Every user must
enter his Passport and some details about itself for login the home page and after
submitted his Passport system provided a particular user-id and password at the time of
registration. The administrator can also login from this module. He can insert, delete or
update the user login name and password.this module check the authenticity of the person
accessing the project. The main objective behind this module is to provide security to the
project so that access is restricted to the authorized users.
Input is taken as login and password that the user Enters.
This login id and password sent back to the activeX exe through DLL to check the
information in the database.
If the login id and password entered by the user matches those of the database file
then it will return and redirected to respective control panel, other wise give a Error
massage “login denied”.

 Registration of user: It takes the information the user and enter it into the
database. This module uses the table ‘Documantations for its operation
This table has following sub module.

18
 Add
 Edit
 Save
 Delete
 Passport description: It takes the information form the user and enters it
into database. This module user the table ‘PASSPORT’ for its operation.
This table has following sub module.
 Add
 Edit
 Update
 Delete

 Company info: It takes the information form the user and enters it into database.
This module user the table. ‘ Company’ for its operation

 User profile info:It table the information the user enters it into database. This
module user the table ‘resumes’ for its operation.This table user has following sub
module:-
 add
 update
 delete

 Validation master:This module validation the entry made by user if the entry is
not as per the specification a wrong message is given.

 Application module:With the user of this module user apply to this company he
desire this modules user the table ‘Passport and “apply” for its operation.

19
20
REPORT GENERATION

 Report generation: This system will generate the report for the an file software
like. Following reports are genreaded:-
 How many user are currently wring the site
 How many companies are there who has Passport requirement.
 How many candidate are there who user eligible for particular Passport option
 Report on Passport selection
 For Passport seeker on the baric of Passport search by option
 Search by Application Number
 Search by Name and Date of birth
 Search by data
 Report of company detail that have Passport requirement.
 Report on Passport selection for Passport seeker on the basis of quick search
option
 Report of the new user who has registered and enter Passport and other detail.
 Report of the registered user who have user id and password.

21
FUTURE SCOPE

Enhancement of our proposed system after successfully implementing the it can be added
in the system that automatically displays the details when the User apply for Passport
after mailing his resume.When the developed system runs successfully, it can be also be
used that the all Passport company can automatically get the Passport of the user they
have same Passport vacancies.
Online User register facility could be brought on Web that would enable the User
to register and can see the detail in the system itself by entering his login id No.
There should be some page like Passport sample question paper and online test can give
the better option for finding Passport and company need only to conduct viva-exam not
written exam for that user who has passed online examination.
If user want to send Passport detail to his friend then there is option to mail
Passport detail to friend is necessary in Passport page.
Each of these tasks serves describes the problem so that an overall approach or
solution may be synthesized.

1: Registered Module:
In this module, User enters a login & password and the software checks its
validity. If the login & password is valid then he is allowed to enter, otherwise “Invalid
User/Password” message is displayed. Different data access rights are assigned to
different users.

2: Master Module.
This module is used to add new candidate, new Passport ,new company details
etc.

3: Apply Module:
In this module, User apply for the Passport which is best suited to him as per their
qualification, location.

22
4: Modifying/Updating Existing Entries:
In this module, whenever an existing entity is required to be modified the
corresponding forms are opened and the database is manipulated and the data is fetched.
Now the user can made the required changes and then accordingly, he updates the data.
Again, the checks are followed in case there is any invalid entry.

5: Searching:
In this module, User can search on the requirement their choice that mean, it
(search engine) will help to search in all record/ information of available Passport
/company/candidate.

6: Validation of Data Entered by the User & Error Handling:


In this module, the validity of data entered by the user during the various business
processes is checked through various validation checks. For example, there should not be
any characters entered in the numeric fields, likewise if there is any error occurs than it
should handle that particular error and give the required messages.

23
SECURITY MESAURES

Security in database involves both policies and mechanisms to protect the data and ensure
that it is not accessed, altered or deleted without proper authorization. Integrity implies that any
properly authorized access, alternation or deletion of the data in the database does not change the
validity of the data. The economic or strategic reasons for protecting data from unauthorized
access, corruption or destruction, there is a privacy dimension for data security or integrity.
Privacy is the ethical and legal rights that individual have with regard to control over the
dissemination and use of their personal information.
Data has to be protected in the database. There is a similar need for protection in a non
database environment. The operating system must ensure that files belonging to the database are
not used directly without proper authorization.

 IDENTIFICATION AND AUTHORIZATION


The authorization mechanism prepares the user profile for a user and indicates the
portion of the database accessible to that user and mode of the access allowed. The
enforcement of the security policies in the database system requires that the system
knows the identity of the user making the requests. This in turn requires that before
making any request, the user has to identify herself or himself to the system and the
authenticate identification to confirm that the user is in fact the correct person.

 AUTHENTICATION
The simplest and most common authentication scheme used is a password to
authenticate the user. The user enters the user name or number and then authenticates
her /him by the password. A number of methods can be used in the authentication: by
something known only by the user, by something that only the user possesses, or by some
physical/physiological characteristics of the user.

24
BIBLIOGRAPHY

 www.w3school.com
 Addison.WesleyASP.NET Solutions—23 Case Studies: Best Practices for Developers
 Premier Press - Ado.net Professional Projects
 Wrox.Press-ProfessionalADO.NETProgramming
 Wrox.Press-Professional ASP.NET Programming

25
2.PROJECT
2. TITLE

26
3.INTRODUCTION
3.

Since the advent of computers in last two decades, every organization is going under the
process of computerization. The computerization has many benefits. Primarily a
computer is helpful in four major aspects of any kind of organization:
 Time efficiency
 Cost effective
 Huge data storage capacity
 Simple operation.
This is a public website for appling for Passport online. All the registered users of
Passport site have there own personal home page. The Passport site include a Search
button for finding Quick Passport, it has four option that is
 Search by location
 Search by Date
 Search by Qualification.
 Search by Passport Title.
This Passport site uses forms authentication to authenticate users. When new users
register the forms, authentication module automatically give a authentication ticket to the
user’s browser to identify the user.
Several of the pages include in the Passport site use validation controls to validate form
information before it is added to Database table.
To simplify development all the pages in the Passport site are built with user
controls. For example, the standard header and footer for each page are created with
header and footer user control. Uses of the website can publicity post Passport and find
better Passport of companies. If a user is interested in a Passport , the user can submit a
resume, and if employer is interested in that user then they enquiry about user and send
response by mail or phone.

27
4.0 OBJECTIVE

The objectives of developing the Passport center are as given below: -


 To store data of the entire user who are registered in the site.

 To solve the user’s problem in time efficient manner. Helping the user to search
different Passport with a robust search tools

 To facilitate easy and efficient retrieval of data as and when required for Passport
by the company.

 To generate and print out the various reports.

 Online updating of all type of data, updating data using web based interfaces and
with the help of buttons and links in an easy and convenient way.

 Data security is maintained to relatively high level by implementing it at


Database level, so as to ensure that only authorized users have access to
confidential client information.
 Developing a viable candidate system that fulfill the Faster and accurate
information retrieval
 Easy registration
 Login dependent information retrieval and updating. Correct and consistent
maintenance of data and its quick retrieval
 Improving the switches button and hyperlink so that the candidate shall find all
the queries they need at first sight.
The overall objective of the system to bring the IT-Passport seeker and employer
round the globe more closely to each other so that Passport seeker can get correct
Passport and employer can get the correct candidate.

28
5.0 SYSTEM ANALYSIS

5.1 Identification of Need

The complete understanding of software requirements is essential to the success of a


software development effort. The requirements analysis task is a process of discovery,
refinement modeling and specification. The software scope initially established by the
system engineer and refined during software project planning is refined in detail.
Modular of the required data, information and control flow, and operational behavior are
created. Alternative solution are analyzed and allocated to various software elements.
Both developer and customer take an active role in requirements analysis and
specification. The customer attempts to reformulate a sometimes-nebulous concept of
software function and performance into concrete detail. The developer acts as
interrogator consultant and problem solver.
Requirements analysis is a software engineering task that bridges the gap between
system level software allocation and software design.
Requirement analysis enabler the system engineer to specify software function
and performance indicate software’s interface with other system elements and establish
constraints that software must meet.
Software requirements analysismay be divided into five areas of effort:
(a) Problem recognition.
(b) Evaluation and synthesis
(c) Modeling
(d) Specification
(e) Review
Initially, the analyst studies the system specification and the software project plan.
Problem evaluation and solution synthesis is the next major area of effort for analysis.
Upon evaluating current problems and desired information (input and output) the analyst
begins to synthesize one or more solutions.
During the evaluation and solution synthesis activity, the analyst creates models
of the system in an effort to better understand data and control flow, functional

29
processing and behavioral operation, and information content. The model serves as a
foundation for software design and as the basis for the creation of a specification for the
software.

5.2 Preliminary Investigation

Present system is manual. The working of the organization May be described as:

All details of customer, product, sale, purchase, registration etc are maintained in
registers. All registrations are also maintained in registers. All Bills are manually created,
and send at desired place for further use. The daily-to-daily entries are also being
manually.

Preliminary investigation took me to the Accounts room of Agency, where I came


across the current working process. Although the process of maintaining data is not a
recorded one as such there were no documents to be reviewed in order to determine
efficacy of the current working process. So I had to emphasize on the observation I made
while in the office. In order to complement my onsite observations I undertook a simple
interview of office bearers. The results of which are broadly catalogued below.

In concurrence with onsite observation I conducted some interviews. To get a


closer look at the present working culture and identify the problem domain I talked to
some of office bearers. I presented them with the following set of questions.

Questionnaire:

Some general questions-

1.Who is behind the request for this work?

2.Who will use the software?

3.Why do you want this software?

4.Can you show me the environment in which the software will be used?

5.What is your requirement?

30
6.What will be the economic benefit of a successful solution?

Other question about software-

1.What do you feel is the biggest bottleneck in your work?

Ans.The slow working process of the work due to high number of calculations.

2. What effect does it have on your work?

Ans. Usually it delays our work. As such we have to prepare ourselves 3 to 4 days
beforehand to say the least.

3. Are you always satisfied with your results?

Ans. No because it hardly leads to a conclusive result rather generating further queries.
Also the bulk of work sometimes forces us to limit our capabilities and skip through
some material and information since they may not be available.

The preliminary investigation gave me clear information about the ills


plaguing the present system.

5.3Feasibility Study

Before getting started on the new system it was important to determine the feasibility
involved in the developed system so that the new system development could be develop.
Feasibility is the determination of whether or not a project is not worth doing. The project
followed in making this determination is called a feasibility study. This type of study
determines if a project can and should Be Taken. Once it has been determined that project
is feasible, the analyst can go ahead and the prepare the project specification which
finalizes project requirements.
Generally, feasibility studies are undertaken within tight time constraints and
Normally culminate in a written and feasibility report.

The developed system is started after considering the main three type of
feasibilities which are discussed below: -

1)-Technical feasibility

31
2)-Operational feasibility

3)-Economic feasibility

1. Technical Feasibility

As we know the technical feasibility is concerned with specifying equipment and


software that will successfully satisfy the user requirement. The technical needs of the
system may very considerably, but might include:

 The facility to produce outputs in a given time.


 Response time under certain conditions.
 Ability to process a certain volume of transaction at a particular speed.
 Facility to communicate data to distinct location.
In examination technical feasibility, configuration of the system is given more
importance than the actual make of hardware. The configuration should give the
complete picture about the system’s requirements: How many workstations are required,
how these units are interconnected so that they could operate and communicate smoothly.

2. Economic Feasibility

Economic analysis is the most frequently used technique for evaluating the
effectiveness of a proposed system. More commonly known as cost/benefits analysis the
procedure is to determine the benefits and savings that are expected from a purposed
system and compare with costs.
If benefits out weigh cost, a decision is taken to design and implement the system
otherwise further justification or alternative in the proposed system will have to be made
if it is to have a chance of being approved. This is an on going effort that improves in
accuracy at each phase of the system life cycle.
The analysis part also clears the doubt of economic problems could be possible in
developing the system. As already mentioned that the company has to just pay the

32
developed software cost and not other investment is needed at the time of implementation
of the new system as the preliminary requirement are already exist in the company.
Since the cost difference between the present system and the new proposed computerized
system will be large. Considering the fact that new system will require only one time
monetary investment whereas the present system keeps on adding to the cost in a daily
basis. We can conclude that the breakeven point will be reached
within a year, making this proposed computerized news management system
economically feasible.

3. Operational Feasibility

Proposed projects are beneficial only if they can be turned into information system
that will meet the operating requirements of the organization. This test of feasibility asks
if the system will work when it developed and installed. Are there major barriers to
implementation? Some of the important questions that are useful to test the operational
feasibility of a project are given below:
 Is there sufficient support for the project from the implementation? From user? If
the present system is well liked and used to the extent that persons will not be
able to see reasons for change, there may be resistance.
 Are current business methods acceptable to the user? If they are not, user may
welcome a change that will bring about a more operational and useful system.
 Have the user been involved in the planning and development of the project? If
they are involved at the earliest stage of project development, the chances of
resistance can be possibly reduced.
 Will the proposed system cause harm? Will it produce poorer result in any case
or area? Will the performance of staff member fall down after implementation?
Issue that appears to be quite minor at the early stage can grow into major
problem after implementation. Therefore, it is always advisable to consider operational
aspects carefully. The system is developed in keeping mind that it should be user friendly
and easy to operate hence the system is operational feasible.

33
34
5.4Project planning

Gantt chart
Gantt charts (developed by Henry L. Gantt) are project control techniques that can be
used for several purposes, including scheduling, budgeting and resource planning. A
Gantt chart is a bar chart, with each bar representing an activity. The bars are drawn
against a time line. The length of each bar is proportional to the length of time planned
for the activity.

We estimated the number of weeks required for each of the seven tasks as follows:

1. Analysis 3 Weeks
2. Design 4 Weeks
3. Coding 8 Weeks
4. Testing 4 Weeks
5. Write Manual 2 Weeks
6. Implementation 1 Week
7. Maintenance 2 Weeks

35
Gantt Chart

36
5.5Project Scheduling

A PERT (Program Evaluation and Review Technology) chart is a network of boxes (or
circles) and arrows. There are different variations of PERT Charts, some use the boxes to
represent the activities and some use arrows to do so. We will use the first approach here.
Each box thus represents an activity. The arrows are used to show the dependencies of
activities on one another. The activity at the head of an arrow can not start until activity at
the tail of the arrow is finished.

37
5.6 Software Requirement Specification

The software requirements specification is produced at the culmination of the analysis


task. The function and performance allocated to software as part of system engineering
are refined by establishing a complete information description a detailed functional and
behavioral description, a indications of performance requirements and design constraints,
appropriate validation criteria and other data pertinent to requirements.

 Introduction
a. Purpose
b. Scope
c. Definition, Acronyms, Abbreviations
d. References
e. Developer’s Responsibilities Overview
 General Description
a. Product Functions Overview
b. User Characteristics
c. General Constraints
d. General Assumptions and Dependencies
 Specific Requirements
a. Inputs and Outputs
b. Functional Requirements
c. External Interface Requirements
d. Performance Constraints
e. Design Constraints
(i) Software Constraints
(ii) Hardware Constraints
 Validation and Criteria
a. Performance bounds
b. Classes of tests
c. Expected Software response
d. Special Considerations

38
 Acceptance Criteria

1.Introduction: -

This is the requirements document for the project that will be used
throughout the work. The system to be developed is for front office and financial work of
agency, based on the inputs given. This document follows the IEEE standard for a
requirement specification document, with some variations.
a) Purpose:

The purpose of this document is to describe the requirements of agency. It


also describes the interfaces for the system.
b) Scope:

This document is the only one that describes the requirements of the
system. It is meant for use by the developers and will be the basis for validating
the final delivered system. Any changes made to the requirements in the future
have to go through a formal change approval process. The developer is
responsible for asking for clarifications, where necessary, and will not make any
alterations without the permission of the client.
c) Definitions, Acronyms, Abbreviations:

Not applicable.

d) References:

Not applicable.

e) Developer’s Responsibilities Overview:

The developer is responsible for (i) developing the system, (ii) installing
the software on the client’s hardware, (iii) conducting any user training that might
be needed for using the system, and (iv) maintaining the system for a period of
one year after installation.

39
2. General Description: -

a) Product Functions Overview:

Every user must enter his Passport and some details about itself for login the
home page and after submitted his Passport system provided a particular user-
id and password at the time of registration. The administrator can also login
from this module. He can insert, delete or update the user login name and
password.this module check the authenticity of the person accessing the
project. The main objective behind this module is to provide security to the
project so that access is restricted to the authorized users.
Input is taken as login and password that the user Enters.
This login id and password sent back to the activeX exe through DLL to
check the information in the database.

b) User Characteristics:

The main users of this system will be the registration department and
accounts department, who are somewhat literate with computers and can use
programs efficiently.

c) General Constraints:

The system should run on win 95 /98/2000 or above.

d) General Assumptions and Dependencies:

Not applicable.

3. Specific Requirements:-

a) Inputs and Outputs:

40
This Passport site uses forms authentication to authenticate users. When
new users register the forms, authentication module automatically give a
authentication ticket to the user’s browser to identify the user.
Several of the pages include in the Passport site use validation controls to
validate form information before it is added to Database table.

b) Functional Requirements:

It present description of each function required to solve the problem. A


processing narrative is provided for each function, design constraints are
stated and justified, performance characteristics are stated, and one or more
diagrams are included to graphically represent the overall structure of the
software and interplay among software functions and other system elements
under this topic, the functional working of the various modules where give the
complete picture for the data flow from one location to other.

c) External Interface Requirements:

Only one user command is required. The file name must be prompted by the
system in status bar.
d)Performance Constraints:

The reports and bills should be printed in less than 1 minute.

e) Design Constraints:

The system is to run under the WINDOWS operating system.

4. Validation Criteria:-

Probably the most important section of a software requirements specification is


validation Criteria. The specification of validation criteria acts as an implicit review of all
other requirements. The tests must be conducted to validate function, performance and
constraints.
In this project I have try the various steps in testing the links and connectivity of
the data Directorate of public grievances takes up a grievances where it is satisfied that eh

41
matter has not been dealt with by the concerned SSA in a fair, just or objective manner or
has been unduly delayed. It may take up such a care for investigation, call for a report
and or file from the concerned SSA and ask them to reconsider the matter and to arrive at
a fair decision in a time bound manner.

5.Acceptance Criteria:-
Before accepting the system, the developer must demonstrate that the system
works on the course data for the last 4 semesters. The developer will have to show
through test cases that all conditions are satisfied.

5.7 Software Engineering paradigm applied

After getting detail of each section, whole process was re-evaluated and a proper design
for the system was brought into existence.

42
The activates are defined as follows:
 Identification of the system or subsystem’s key “Stakeholders”
 Determination of the stakeholders “Win conditions”
 Negotiation of the stakeholders’ win conditions to reconcile them into a set of
win-win conditions for all concerned.

5.8 Project diagram

Use Case Diagram

registration

Document
verificatio
Applicant n Registrar

Acknowled
gment slip

43
Data Flow Diagram

Applicant info Passport Applicant info Applicant


Details Details
info Registration info
Registered
User Apply Registration
Details

info
Document info
Copy of scaned
document
Document
details

(CONTEXT LEVEL DFD)

44
Browser database
info

Selection process

Selection info
Control no info Control No
info Process
Enter
Document New applicant info

New applicant
Process info Database

Login info
Login info Login process Login register
Password

FIRST LEVEL DFD

45
System Updating

Applicant profile
Applicant
profile details
Applicant Detail
info
info
Applicant info
details
info Configure
System
Database
info
info Listing of all the
Apply registered Applicant
info
Details
User process info Apply details

Applicant Interact
Process

Login info
Registration info

login Login Process

Registration info Register


Registered Process

SECOND LEVEL DFD

46
Entity Relationship Diagram

47
6.0 SYSTEM DESIGN

6.1 Modularisation Details

The project include following main modules:-


 Login of the Passport Applicant
 Registration of user.
 Passport description.
 User profile information.
 The validation master
 Report generation
 Brief description of the all modules.
Login of the Passport -applicant and administrator
This module is considered with login of new user and administrator. Every user must
enter his Passport and some details about itself for login the home page and after
submitted his Passport system provided a particular user-id and password at the time of
registration. The administrator can also login from this module. He can insert, delete or
update the user login name and password.this module check the authenticity of the person
accessing the project. The main objective behind this module is to provide security to the
project so that access is restricted to the authorized users.
Input is taken as login and password that the user Enters.
This login id and password sent back to the activeX exe through DLL to check the
information in the database.
If the login id and password entered by the user matches those of the database file
then it will return and redirected to respective control panel, other wise give a Error
massage “login denied”.

 Registration of user:
It takes the information the user and enter it into the database. This module uses
the table ‘Documantations for its operation

48
This table has following sub module.
 Add
 Edit
 Save
 Delete
 Passport description: It takes the information form the user and enters it
into database. This module user the table ‘PASSPORT’ for its operation.
This table has following sub module.
 Add
 Edit
 Update
 Delete

 Company info: It takes the information form the user and enters it into database.
This module user the table. ‘ Company’ for its operation

 User profile info:It table the information the user enters it into database. This
module user the table ‘resumes’ for its operation.This table user has following sub
module:-
 add
 update
 delete

 Validation master:This module validation the entry made by user if the entry is
not as per the specification a wrong message is given.

 Application module:With the user of this module user apply to this company he
desire this modules user the table ‘Passport and “apply” for its operation.

49
6.2 Database Design

 Passport table

50
51
 User Registeration table

52
 Apply table

53
 Passport Fee

54
 Enqirytable

55
 Admin Login

56
6.3 User InterfaceDesign

Index

57
About us

58
Fees

59
Instruction

60
Login

61
Registeration

62
User Homepage

63
PassportForm

64
65
66
67
After login status form

68
Without Login Status Form

69
Admin Home

70
Admin Fees Updating

71
Passport Request

72
RequestDetails

73
74
PassportPatched

75
Passport Dispatched

76
User Registeration Details

77
Status Patch with login

78
Status patch without login

79
Coding
7.1 Complete Project Coding
C Sharp Code (C#)

fees.aspx.cs

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;

publicpartialclassfees : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ddlbind();
}
}

void ddlbind()
{
string sqlstatement = "select fees from passportfee where aplicantage='"
+ ddlage.Text + "' and noofbooklet='" + ddlbookpage.Text + "' and
RequiredSchema='" + ddlschema.Text + "'";
SqlDataAdapter adp =
code.adpObj(code.conObj(ConnectionStr.Connectionstr()), sqlstatement);
DataTable dt = newDataTable();
adp.Fill(dt);
foreach (DataRow dr in dt.Rows)
{
lblamount.Text = (dr["fees"].ToString());
}
}
protectedvoid ddlschema_SelectedIndexChanged(object sender, EventArgs e)
{
ddlbind();
}
protectedvoid ddlbookpage_SelectedIndexChanged(object sender, EventArgs
e)
{
ddlbind();
}
protectedvoid ddlage_SelectedIndexChanged(object sender, EventArgs e)
{
ddlbind();
}

80
}

Home.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

publicpartialclassHome : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
try
{
Label1.Text = Session["name"].ToString();
Label1.Text.ToUpper();
}
catch (Exception)
{

Server.Transfer("login.aspx");
}
checkentry();
}
protectedvoid LinkButton1_Click1(object sender, EventArgs e)
{
Session.Abandon();
Response.Redirect("login.aspx");
}
void checkentry()
{
data code = newdata();
string id=Session["rid"].ToString();
DataTable dt = newDataTable();
SqlDataAdapter adp =
code.adpObj(code.conObj(ConnectionStr.Connectionstr()), "select * from
passportform where Regid='" + id + "'");
adp.Fill(dt);
foreach (DataRow dr in dt.Rows)
{
if (dr["passform"].ToString()!="NOT")w
{
ImageButton5.Visible = false;
}

81
else
{
ImageButton5.Visible = true;
}
}

}
}

Login.aspx.cs

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;

publicpartialclasslogin : System.Web.UI.Page
{
data code = newdata();

protectedvoid Page_Load(object sender, EventArgs e)


{

protectedvoid btnlogin_Click(object sender, EventArgs e)


{
SqlConnection con = newSqlConnection(ConnectionStr.Connectionstr());
try
{
SqlCommand cmd = newSqlCommand("select * from userregisteration where
regid='" + txtuid.Text + "' and name='" + txtuname.Text + "' and pwd='"
+ txtpass.Text + "'", con);
con.Open();
SqlDataReader dr = cmd.ExecuteReader();

if (dr.Read())
{
Session["rid"] = txtuid.Text;

Session["name"] = txtuname.Text;

Response.Redirect("Home.aspx");
}
else
{

ClientScript.RegisterStartupScript(Page.GetType(),
"validation", "<script language='javascript'>alert('Invalid Username and
Password')</script>");
}

82
dr.Close();
SqlCommand cmd1 = newSqlCommand("select * from AdminLogin where
Adminid='" + txtuid.Text + "' and AdminName='" + txtuname.Text + "' and
Adminpass='" + txtpass.Text + "'", con);

SqlDataReader dr1 = cmd1.ExecuteReader();

if (dr1.Read())
{
Session["Aaminid"] = txtuid.Text;

Session["adminname"] = txtuname.Text;
dr1.Close();
Response.Redirect("~/Admin/AdminHome.aspx");
}
else
{
txtpass.Text = "";
txtuid.Text = "";
txtuname.Text = "";
ClientScript.RegisterStartupScript(Page.GetType(),
"validation", "<script language='javascript'>alert('Invalid Username and
Password')</script>");
}
}
catch (Exception ex)
{
Response.Write(ex);
}
finally
{
if (con.State != ConnectionState.Closed && con != null)
{
con.Close();
}
}
}
}
Passportform.aspx.cs

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

publicpartialclasspassportform : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
try
{
string uid = Session["rid"].ToString();
}
catch (Exception)

83
{
Server.Transfer("login.aspx");
}
TextBox27.Enabled = false;
TextBox27.Text = DateTime.Now.ToShortDateString();
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
if (CheckBox1.Checked==true)
{
string typeofapplication;
string pages;
string validityrequired;
string anothername;
string changeevername;
string addoutofindia;
string permanentaddsamepresentadd;
string haveapplypass;
string criminalrecord;
string criminaloffen;
string refuseordenied;
string revoked;
string politicasylum;
string emergencycertificate;

string sqlquery = string.Empty;

if (RadioButton1.Checked==true)
{
typeofapplication = "Normal";
}
else
{
typeofapplication = "Tatkal";
}
if (RadioButton3.Checked==true)
{
pages = "36 Pages";
}
else
{
pages = "60 Pages";
}
if (RadioButton5.Checked==true)
{
validityrequired = "10 Year";
}
else
{
validityrequired = "Up to 18 Year Old";
}
if (RadioButton8.Checked==true)
{
anothername = "Yes";
}
else

84
{
anothername = "No";
}

if (RadioButton10.Checked==true)
{
changeevername = "Yes";
}
else
{
changeevername = "No";
}
if (RadioButton12.Checked==true)
{
addoutofindia = "Yes";
}
else
{
addoutofindia = "No";
}

if (RadioButton14.Checked==true)
{
permanentaddsamepresentadd = "Yes";
}
else
{
permanentaddsamepresentadd = "No";
}

if (RadioButton16.Checked==true)
{
haveapplypass = "Yes";
}
else
{
haveapplypass = "No";
}

if (RadioButton18.Checked==true)
{
criminalrecord = "Yes";
}
else
{
criminalrecord = "No";
}

if (RadioButton20.Checked==true)
{
criminaloffen = "Yes";
}
else
{
criminaloffen = "No";
}

85
if (RadioButton22.Checked==true)
{
refuseordenied = "Yes";
}
else
{
refuseordenied = "No";
}

if (RadioButton24.Checked==true)
{
revoked = "Yes";
}
else
{
revoked = "No";
}

if (RadioButton26.Checked==true)
{
politicasylum = "Yes";
}
else
{
politicasylum = "No";
}

if (RadioButton28.Checked==true)
{
emergencycertificate = "Yes";
}
else
{
emergencycertificate = "No";
}
string dob = TextBox3.Text;
string reid= Session["rid"].ToString();
sqlquery = "update passportform set typeofapplication='" +
typeofapplication + "',typeofpassbooklet='" + pages +
"',applicantname='" + TextBox1.Text + "',applicantsurname='" +
TextBox2.Text + "',anothrname='" + anothername + "',changename='" +
changeevername + "',applicantdob='" + dob + "',vilagetowncity='" +
TextBox4.Text + "',country='" + DropDownList1.Text + "',state='" +
DropDownList2.Text + "',gender='" + DropDownList4.Text + "',
maritalstatus='" + DropDownList5.Text + "',pan='" + TextBox5.Text +
"',voterid='" + TextBox6.Text + "',employementtype='" +
DropDownList11.Text + "',gvservent='" + DropDownList6.Text +
"',eduqualification='" + DropDownList7.Text + "',ecrcatlog='" +
DropDownList8.Text + "',fathername='" + TextBox9.Text +
"',fathersurename='" + TextBox10.Text + "',legalgardianname='" +
TextBox11.Text + "',legalgardiansurname='" + TextBox12.Text +
"',mothername='" + TextBox13.Text + "',mothersurename='" +
TextBox14.Text + "',presentaddoutind='" + addoutofindia +
"',permanentaddaspresentadd='" + permanentaddsamepresentadd +
"',emrgamandadd='" + TextBox15.Text + "',emrgmob='" + TextBox16.Text +
"',emrgtelphone='" + TextBox17.Text + "',emrgemailadd='" +
TextBox18.Text + "',rifffirstnameadd='" + TextBox19.Text +

86
"',rifffirstmob='" + TextBox20.Text + "',rifffirsttelphone='" +
TextBox21.Text + "',prvpassno='" + TextBox22.Text + "',privissuedate='"
+ TextBox23.Text + "',privdateexp='" + TextBox24.Text +
"',evrapplynotissued='" + haveapplypass + "',arrstvarentpending='" +
criminalrecord + "',arrstcriminalofften='" + criminaloffen +
"',reessueddeniedpassport='" + refuseordenied + "',impoundedrevoke='" +
revoked + "',politicleassylum='" + politicasylum +
"',emergencycertificate='" + emergencycertificate + "',place='" +
TextBox26.Text + "',dateofsubmitform='" + TextBox27.Text +
"',passform='" + "YES" + "',status='"+"Dispatch"+"' where Regid='" +
reid + "'";
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()),
sqlquery);

}
else
{

Response.Write("Check this box");


}

}
}
Status.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

publicpartialclassstatus : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{
TextBox1.Enabled = false;

try
{
string uid = Session["rid"].ToString();
bind();
}
catch (Exception)
{
Server.Transfer("login.aspx");
}
}
void bind()

87
{
string query = string.Empty;
string uid = Session["rid"].ToString();
SqlCommand cmd = newSqlCommand();
SqlConnection con = newSqlConnection(ConnectionStr.Connectionstr());
try
{
query = "select * from passportform where Regid='" + uid +
"'";
cmd.Connection = con;
cmd.CommandText = query;
SqlDataAdapter adp = newSqlDataAdapter(cmd);
DataTable dt = newDataTable();
adp.Fill(dt);
foreach (DataRow dr in dt.Rows)
{
TextBox1.Text = dr["status"].ToString();
}
}
catch (Exception ex)
{
Response.Write("ERROR :" + ex.Message);
}
}
}

StatusDetails.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

publicpartialclassstatusdetails : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
Label2.Visible = false;
status.Visible = false;
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
string query = string.Empty;
SqlCommand cmd = newSqlCommand();
SqlConnection con = newSqlConnection(ConnectionStr.Connectionstr());
try

88
{
query = "select * from passportform where applicantname='" +
TextBox1.Text + "' and vilagetowncity='" + TextBox2.Text + "'";
cmd.Connection = con;
cmd.CommandText = query;
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
status.Text = dr["status"].ToString();
Label2.Visible = true;
status.Visible = true;
}
else
{
status.Text = "NO Records Found";
}

}
catch (Exception ex)
{
Response.Write("ERROR :" + ex.Message);
}
finally
{
if (con.State!=ConnectionState.Closed && con!=null)
{
con.Close();
}
}

}
}
User.master.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Data.SqlClient;

publicpartialclassUser : System.Web.UI.MasterPage
{
protectedvoid Page_Load(object sender, EventArgs e)
{

try

89
{
string uid = Session["rid"].ToString();
Label1.Text = Session["name"].ToString();
Label1.Text.ToUpper();
}
catch (Exception)
{
Server.Transfer("login.aspx");
}
checkentry();
}
protectedvoid LinkButton1_Click1(object sender, EventArgs e)
{
Session.Abandon();

Response.Redirect("login.aspx");
}

void checkentry()
{
data code = newdata();
string id = Session["rid"].ToString();
DataTable dt = newDataTable();
SqlDataAdapter adp =
code.adpObj(code.conObj(ConnectionStr.Connectionstr()), "select * from
passportform where Regid='" + id + "'");
adp.Fill(dt);
foreach (DataRow dr in dt.Rows)
{
if (dr["passform"].ToString() != "NOT")
{
ImageButton5.Visible = false;
}
else
{
ImageButton5.Visible = true;
}
}

}
}

Userregisteration.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

90
publicpartialclassUserRegisteration : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
lblregid.Visible = false;
Label1.Visible = false;
Label2.Visible = false;
HyperLink1.Visible = false;
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
string regid= code.generateid("select * from userregisteration",
ConnectionStr.Connectionstr());
lblregid.Text=regid;
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()), "insert
into userregisteration(name,email,pwd,addd,phone,regid) values('" +
txtname.Text + "','" + txtemail.Text + "','" + txtpass.Text + "','" +
txtadd.Text + "','" + txtphone.Text + "','"+regid+"')");
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()), "insert
into passportform(Regid,passform)
values('"+lblregid.Text+"','"+"NOT"+"')");
lblregid.Visible = true;
Label1.Visible = true;
Label2.Visible = true;
HyperLink1.Visible = true ;
txtreset();

}
void txtreset()
{
txtadd.Text = "";
txtemail.Text = "";
txtname.Text = "";
txtpass.Text = "";
txtphone.Text = "";

}
}
AdminPanel

AdminMaseterPage.master.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

91
publicpartialclassAdmin_AdminMasterPage : System.Web.UI.MasterPage
{
protectedvoid Page_Load(object sender, EventArgs e)
{
try
{
string id= Session["adminname"].ToString();
}
catch (Exception)
{
Server.Transfer("~/login.aspx");
}
}
protectedvoid LinkButton1_Click(object sender, EventArgs e)
{
Session.Abandon();
Response.Redirect("~/login.aspx");
}
}

Passportfee.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

publicpartialclassAdmin_PassportFee : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid btnsubmit_Click(object sender, EventArgs e)
{
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()),"update
passportfee set fees='"+txtamount.Text+"' where
aplicantage='"+ddlage.SelectedItem.Text+"' and
noofbooklet='"+ddlbookpage.SelectedItem.Text+"' and
RequiredSchema='"+ddlschema.SelectedItem.Text+"'");
}
}

Requestdetails.aspx.cs

using System;
using System.Collections;

92
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;

publicpartialclassAdmin_requestdetails : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
try
{
string id=Request.QueryString["id"].ToString();
datalistbind();
}
catch (Exception)
{
Server.Transfer("UserRequest.aspx");
}
}

privatevoid datalistbind()
{
string id=Request.QueryString["id"].ToString();
DetailsView1.DataSource =
disconnectedCode.datasetObject(code.adpObj(code.conObj(ConnectionStr.Con
nectionstr()), "select typeofapplication as 'APPLICATION
TYPE',typeofpassbooklet as 'BOOKLET SIZE',applicantname as 'APPLICANT
NAME',applicantsurname as 'SURE NAME',anothrname as 'ANOTHER
NAME',changename as 'EVER CHANGE NAME',applicantdob as 'DATE OF
BIRTH',vilagetowncity as 'CITY',country as 'COUNTRY',state as
'STATE',gender as 'GENDER',maritalstatus as 'MARITAL STATUS',pan as
'PAN',voterid as 'VOTER ID',employementtype as 'EMPLOYEMENT
TYPE',gvservent as 'PARENTS GOVERMENT SERVENT',eduqualification as
'QUALIFICATION',ecrcatlog as 'NON-ECR CATEGORY',fathername as 'FATHER
NAME',fathersurename as 'FATHER SURE NAME',legalgardianname as 'LEGAL
GUARDIANS',legalgardiansurname as 'LEGAL GUARDIANS SURE NAME',mothername
as 'MOTHER NAME',mothersurename as 'MOTHER SURE NAME',presentaddoutind
as 'PRESENT ADDRESS OUT OF INDIA',permanentaddaspresentadd as 'PERMANENT
ADDRESS SAME AS PRESENT ADDRESS',emrgamandadd as 'EMERGENCY NAME AND
ADDRESS',emrgmob as 'EMERGENCY MOBILE NO',emrgtelphone as 'EMERGENCY
TELEPHONE NO',emrgemailadd as 'EMERGENCY MAIL ADDRESS',rifffirstnameadd
as 'REFERENCE NAME AND ADDRESS',rifffirstmob as 'REFERENCE
MOBILE',rifffirsttelphone as 'REFERENCE TELEPHONE NO',prvpassno as
'PREVIOUS PASSPORT NO',privissuedate as 'PREVIOUS ISSUE
DATE',privdateexp as 'PREVIOUS EXPIRY DATE',evrapplynotissued as
'APPLIED PASSPORT BUT NOT ISSUED?',arrstvarentpending as 'EVER CHARGED
WITH CRIMINAL PROCEEDING',arrstcriminalofften as '5 YEARS IMMEDIATELY
PRECEDING THE DATE',reessueddeniedpassport as 'EVER BEEN REFUSED OR
DENIED PASSPORT?',impoundedrevoke as 'PASSPORT EVER BEEN IMPOUNDED OR

93
REVOKED',politicleassylum as 'EVER APPLIED FOR/BEEN GRANTED POLITICAL
ASYLUM FORIGEN COUNTRY?',emergencycertificate as 'EVER RETURNED TO INDIA
ON EMERGENCY CERTIFICATE ?',place as 'PLACE',dateofsubmitform as 'DATE
OF SUBMITT FORM',Regid as 'APPLICANT REGISTERATION ID',status as
'STATUS' from passportform where id='" + id + "'"));
DetailsView1.DataBind();
}
protectedvoid DetailsView1_ItemDeleting(object sender,
DetailsViewDeleteEventArgs e)
{

}
protectedvoid Button1_Click(object sender, EventArgs e)
{
if (DropDownList1.Text!="SELECT STATUS")
{
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()), "update
passportform set status='" + DropDownList1.SelectedItem.Text + "'");
datalistbind();
}
}
protectedvoid Button2_Click(object sender, EventArgs e)
{
string id=Request.QueryString["id"].ToString();
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()), "delete
from passportform where id='" + id + "'");
Response.Redirect("UserRequest.aspx");
}
}

UserRegisteration.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

publicpartialclassAdmin_UserRegisteration : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{
gridbind();

}
void gridbind()
{

94
SqlDataAdapter
adp=code.adpObj(code.conObj(ConnectionStr.Connectionstr()),"Select *
from userregisteration");
GridView1.DataSource=disconnectedCode.datasetObject(adp);
GridView1.DataBind();

}
protectedvoid GridView1_PageIndexChanging(object sender,
GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
gridbind();
}
protectedvoid GridView1_RowDeleting(object sender,
GridViewDeleteEventArgs e)
{
string id = GridView1.DataKeys[e.RowIndex].Value.ToString();
code.cmdObj(code.conObj(ConnectionStr.Connectionstr()),"delete
from userregisteration where id='"+id+"'");
gridbind();
}
}

UserRequest.aspx.cs

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

publicpartialclassAdmin_UserRequest : System.Web.UI.Page
{
data code = newdata();
protectedvoid Page_Load(object sender, EventArgs e)
{

bind();

}
void bind()
{
string sqlstatement = string.Empty;
sqlstatement = "select * from passportform order by id DESC";
SqlDataAdapter adp =
code.adpObj(code.conObj(ConnectionStr.Connectionstr()), sqlstatement);

95
DataTable dt = newDataTable();
adp.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
}

AppCode

ConnectionString.cs

using System.Data.SqlClient;

///<summary>
/// Summary description for ConnectionString
///</summary>
publicclassConnectionStr
{
public ConnectionStr()
{
//
// TODO: Add constructor logic here
//
}

publicstaticstring Connectionstr()
{
SqlConnectionStringBuilder sb = newSqlConnectionStringBuilder();
sb.DataSource = ".";
sb.InitialCatalog = "PassportManagementSystem";
sb.IntegratedSecurity = true;
return sb.ConnectionString;
}

data.cs

using System;
using System.Data;
using System.Data.SqlClient;

///<summary>
/// Summary description for data
///</summary>
publicclassdata:datacodeinterface
{
public data()
{

96
//
// TODO: Add constructor logic here
//
}

#region datacodeinterface Members

publicSqlConnection conObj( string constr )


{

string strobject = string.Empty;


strobject = constr;
SqlConnection con;
con = newSqlConnection();
con.ConnectionString = strobject;
return con;
}

publicSqlCommand cmdObj( SqlConnection con , string sqlstr )


{
SqlCommand cmd = newSqlCommand();
try
{
cmd.Connection = con;
cmd.CommandType = CommandType.Text;
cmd.CommandText = sqlstr;
con.Open();
cmd.ExecuteNonQuery();
return cmd;
}
catch ( Exception )
{
throw;
}
finally
{
if (con.State != ConnectionState.Closed || con == null)
{
con.Close();
}
}
}

publicSqlDataAdapter adpObj( SqlConnection con , string sqlstr )


{
try
{
SqlDataAdapter adp = newSqlDataAdapter( sqlstr , con );
return adp;
}
catch ( Exception )
{

throw;
}
finally
{

97
if ( con.State != ConnectionState.Closed || con == null )
{
con.Close();
}
}
}

#endregion

publicstring generateid( string query ,string constr )


{

SqlConnection con = newSqlConnection( );


con.ConnectionString = constr;
SqlCommand cmd = newSqlCommand();
cmd.Connection = con;
cmd.CommandText = query;
SqlDataAdapter adp = newSqlDataAdapter( cmd );
DataTable dt = newDataTable();
adp.Fill(dt);
int a;
a = dt.Rows.Count;
string id = "USER_" + a;
return id;

}
}

disconnectedCode.cs

using System.Data;
using System.Data.SqlClient;

///<summary>
/// Summary description for disconnectedCode
///</summary>
publicclassdisconnectedCode
{
public disconnectedCode()
{
//
// TODO: Add constructor logic here
//
}
publicstaticDataTable datatableObject( SqlDataAdapter adp )
{

DataTable dt = newDataTable();
adp.Fill(dt);
return dt;

publicstaticDataSet datasetObject( SqlDataAdapter adp )

98
{

DataSet ds = newDataSet();
adp.Fill(ds);
return ds;

}
}

datacodeinterface.cs

using System.Data.SqlClient;
///<summary>
/// Summary description for datacodeinterface
///</summary>

publicinterfacedatacodeinterface
{

SqlConnection conObj( string constr );


SqlCommand cmdObj( SqlConnection con , string sqlstr );
SqlDataAdapter adpObj( SqlConnection con , string sqlstr );

99
Html Code(html)

Aboutus.aspx

<%@PageTitle="About-Us"Language="C#"MasterPageFile="~/
MasterPage.master"AutoEventWireup="true"CodeFile="aboutus.aspx.cs"Inheri
ts="aboutus"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">

<tablewidth="700px">
<tr>
<tdalign="center">
<strong>Passport Seva</strong>
</td>
</tr>
<tr>
<td>
<strong>
<p>
This is a public website for appling for Passport online. All the
registered users of Passport site have there own personal home page. The
Passport site include a Search button for finding Quick Passport, it has
four option that is&nbsp;
*Search by location
* Search by Date
* Search by Qualification.
* Search by Passport Title.
This Passport site uses forms authentication to authenticate users. When
new users register the forms, authentication module automatically give a
authentication ticket to the user’s browser to identify the user.</p>

<p>Passport Seva enables simple, efficient and transparent processes for


delivery of passport related services. Apart from creating a countrywide
networked environment for Government officials, it aims to integrate
with the state police for physical verification of applicant's
particulars and

100
antecedents and with India Post for delivery of passports. Key aspects
of the service transformation achieved by PSP are as
follows</p></strong>
</td></tr></table>
</asp:Content>

fees.aspx

<%@PageTitle="Fee
Details"Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup
="true"CodeFile="fees.aspx.cs"Inherits="fees"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tablewidth="600px">
<tr>
<tdstyle="text-align: center"colspan="2">
<h2>FEE DETAILS</h2>
&nbsp;</td>
</tr>
<tr>
<tdstyle="width: 339px; text-align: center; font-weight: 700;">
Type of Service *</td>
<td>
<asp:LabelID="lblfresh"runat="server"style="font-weight:
700"Text="Fresh"></asp:Label>
</td>
</tr>
<tr>
<tdstyle="text-align: center; font-weight: 700">
Applicant&#39;s Age *</td>

<td>
<asp:DropDownListID="ddlage"runat="server"
onselectedindexchanged="ddlage_SelectedIndexChanged">
<asp:ListItem>Select Age</asp:ListItem>
<asp:ListItem>10 Year</asp:ListItem>
<asp:ListItem>18 Year And Above</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>

101
<tdclass="style2"style="height: 26px; text-align: center; font-weight:
700;">
No of pages in Booklet *</td>
<tdstyle="height: 26px">
<asp:DropDownListID="ddlbookpage"runat="server"AutoPostBack="True"
onselectedindexchanged="ddlbookpage_SelectedIndexChanged">
<asp:ListItem>Select Booklet</asp:ListItem>
<asp:ListItem>36 Pages</asp:ListItem>
<asp:ListItem>60 Pages</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<tdclass="style2"style="text-align: center; font-weight: 700">
Required Scheme *</td>
<td>
<asp:DropDownListID="ddlschema"runat="server"
onselectedindexchanged="ddlschema_SelectedIndexChanged"
AutoPostBack="True">
<asp:ListItem>Select Schema</asp:ListItem>
<asp:ListItem>Normal</asp:ListItem>
<asp:ListItem>Tatkal</asp:ListItem>
</asp:DropDownList>
</td>
<tr>
<tdstyle="width: 339px; text-align: center; font-weight: 700;">
Fee Amount (in Rs.)</td>
<tdstyle="font-weight: 700">
<asp:LabelID="lblamount"runat="server"></asp:Label>
</td>
</tr>
<tr>
<tdstyle="width: 339px; text-align: center">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Home.aspx

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Home.aspx.cs"Inherits
="Home"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<title>Home Page</title>
</head>
<bodyleftmargin="0"topmargin="0"style="color: rgb(0, 0, 128);
background-color: rgb(204, 204, 153);">

102
<formid="form1"runat="server">
<div>
<br/>
<divid="header"align="center">
<imgsrc="img/cpvdc.jpg"width="577"height="99"/><br/>
<imgsrc="img/cpvda.jpg"width="438"height="18"/>
<br/>

</div>
<tablealign="center">
<tr>
<tdalign="center"style="width: 0px;"bgcolor="#808000"
height="18">
<pstyle="word-spacing: 1px; margin-top: 1px; margin-bottom: 1px; width:
796px;"><font
color="#ffffff"face="Arial, Helvetica, sans-serif"size="3"><b>W E L C O
M E&nbsp;&nbsp;
T O &nbsp;C P V&nbsp;&nbsp; D I V I S I O N</b></font></p></td>
</tr>
<tr>
<tdalign="center">
<table>
<tr><td></td><tdalign="right"style="font-weight: 700">Welcome
<asp:LabelID="Label1"runat="server"></asp:Label>&nbsp;&nbsp;!
<asp:LinkButtonID="LinkButton1"runat="server"onclick="LinkButton1_Click1
">LOGOUT</asp:LinkButton>
</td></tr>
<tr><tdwidth="120px">
<tableclass="style1">
<tr>
<td>
<asp:ImageButtonID="ImageButton5"runat="server"Height="33px"
ImageUrl="~/my pms btn/forms.png"PostBackUrl="~/passportform.aspx"
Width="121px"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton7"runat="server"Height="33px"
ImageUrl="~/my pms btn/statusinquery.png"PostBackUrl="~/status.aspx"
Width="121px"/>
</td>
</tr>
</table>

</td><tdwidth="700px"align="center"><h1>Welcome User !</h1></td></tr>


</table>
</td>
<tr>
<tdstyle="width: 0px;"align="center"bgcolor="#808000"
height="18">
<pstyle="word-spacing: 1px; margin-top: 1px; margin-bottom: 1px; width:
795px;"
align="left"><fontcolor="#ffffff"><b><a
href="http://passport.gov.in/cpv/dpPandvisaform.pdf"
style="text-decoration: none;">&nbsp;***Instruction and Application form
For issue of

103
Official/Diplomatic Passports and visa note***</a></b></font></p>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

Index.aspx

<%@PageTitle="Home
Page"Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="t
rue"CodeFile="index.aspx.cs"Inherits="index"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<imgsrc="index.png"/>
</asp:Content>

Introduction.aspx

<%@PageTitle="Instruction"Language="C#"MasterPageFile="~/
MasterPage.master"AutoEventWireup="true"CodeFile="introduction.aspx.cs"I
nherits="introduction"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<div>
<table>
<tr>
<td>
<imgsrc="instruction.png"/></td>
</tr>
</table>
</div>
</asp:Content>

Login.aspx

<%@PageTitle="Login
Page"Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="t
rue"CodeFile="login.aspx.cs"Inherits="login"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tablewidth="700px"align="center"><tr><td>
<tablewidth="300px"
style="border-color: #333333"border="3px"align="center">
<tr>
<tdalign="right">
REGISTER ID</td>
<td>

104
<asp:TextBoxID="txtuid"runat="server"Height="22px"Width="139px"></
asp:TextBox>
</td>
</tr>
<tr>
<tdalign="right">
USER NAME</td>
<td>
<asp:TextBoxID="txtuname"runat="server"Height="22px"Width="139px"></
asp:TextBox>
</td>
</tr>
<tr>
<tdalign="right">
PASSWORD</td>
<td>
<asp:TextBoxID="txtpass"runat="server"Height="23px"Width="139px"
TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:ButtonID="btnlogin"runat="server"Text="Login"
onclick="btnlogin_Click"/>
</td>
</tr>
</table>
</td></tr></table>
</asp:Content>

Masterpage.master

<
%@MasterLanguage="C#"AutoEventWireup="true"CodeFile="MasterPage.master.c
s"Inherits="MasterPage"%>

<%@Registersrc="menubar.ascx"tagname="menubar"tagprefix="uc1"%>

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<title>Untitled Page</title>
<styletype="text/css">
.style1
{
width: 10px;
}
</style>
<linkhref="css/StyleSheet.css"rel="stylesheet"type="text/css"/>
</head>
<bodyleftmargin="0"topmargin="0"style="color: rgb(0, 0, 128);
background-color: rgb(204, 204, 153);">
<formid="form1"runat="server">
<div>
<br/>

105
<divid="header"align="center">
<imgsrc="img/cpvdc.jpg"width="577"height="99"/><br/>
<imgsrc="img/cpvda.jpg"width="438"height="18"/>
<br/>

</div>
<tablealign="center">
<tr>
<tdalign="center"style="width: 0px;"bgcolor="#808000"
height="18">
<pstyle="word-spacing: 1px; margin-top: 1px; margin-bottom: 1px; width:
796px;"><font
color="#ffffff"face="Arial, Helvetica, sans-serif"size="3"><b>W E L C O
M E&nbsp;&nbsp;
T O &nbsp;C P V&nbsp;&nbsp; D I V I S I O N</b></font></p></td>
</tr>
<tr>
<td>
<table><tr><tdwidth="120px">
<uc1:menubarID="menubar3"runat="server"/>

</td><tdwidth="700px">
<asp:ContentPlaceHolderID="ContentPlaceHolder1"runat="server">
</asp:ContentPlaceHolder>

</td></tr></table>

</td>
</tr>
<tr>
<tdstyle="width: 0px;"align="center"bgcolor="#808000"
height="18">
<pstyle="word-spacing: 1px; margin-top: 1px; margin-bottom: 1px; width:
795px;"
align="left"><fontcolor="#ffffff"><b>***Instruction and Application form
For issue of
Official/Diplomatic Passports note***</b></font></p>
<tablealign="right"class="tblcsss"style="width: 408px">
<trwidth="300px"><td>Design &amp; Develope by :- Mohd Hashir
Akhtar</td></tr></table>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

Passportform.aspx

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="passportform.aspx.cs"
Inherits="passportform"%>

106
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<title>Passport Form</title>
<linkhref="css/StyleSheet.css"rel="stylesheet"type="text/css"/>
<styletype="text/css">
.style1
{
width: 100%;
}
.style2
{
height: 25px;
}
</style>
<scriptlanguage="javascript"type="text/javascript">
// <!CDATA[

function Button2_onclick() {
window.print();
}

// ]]>
</script>
</head>
<body>
<formid="form1"runat="server">
<tableclass="style1">
<tr>
<td>
<asp:LinkButtonID="LinkButton1"runat="server"PostBackUrl="~/
Home.aspx">Back
To Previous Page</asp:LinkButton>
<br/>
<asp:ImageID="Image1"runat="server"ImageUrl="~/img/loin.png"Width="70px"
CssClass="img"Height="100px"/>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<tdcolspan="2"style="text-align: center">
<strong>PASSPORT APPLICATION FORM</strong><br/>
&nbsp;<strong>Government of India, Ministry of External
Affairs</strong><br/>
&nbsp;Please read the Passport Information Booklet carefully before
filling the form.
Furnishing of incorrect information/ suppression of
information would lead to
rejection of application and would attract penal
provisions as prescribed under
the Passports Act, 1967. Please produce your original
documents at the time of

107
submission of the form. All fields marked with (*) are
mandatory to fill.</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="2">
<strong>Service Required</strong></td>
</tr>
<tr>
<tdstyle="font-weight: 700"class="style2">
Type of Application * </td>
<tdclass="style2">
<asp:RadioButtonID="RadioButton1"runat="server"GroupName="1"Text="Normal
"/>
<asp:RadioButtonID="RadioButton2"runat="server"GroupName="1"
Text="Tatkaal"/>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Type of Passport Booklet * </td>
<td>
<asp:RadioButtonID="RadioButton3"runat="server"GroupName="2"
Text="36 Pages"/>
<asp:RadioButtonID="RadioButton4"runat="server"GroupName="2"
Text="60 Pages"/>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Validity Required (For minors between 15 and 18)</td>
<td>
<asp:RadioButtonID="RadioButton5"runat="server"GroupName="3"
Text="10 Years"/>
<asp:RadioButtonID="RadioButton6"runat="server"GroupName="3"
Text="Up to age 18"/>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="2">
<strong>Applicant Details</strong></td>
</tr>
<tr>
<tdcolspan="2">
<strong>Applicant&#39;s Given Name (Given Name means First Name followed
by middle
Name (if any)) *</strong></td>
</tr>
<tr>
<tdcolspan="2">
<asp:TextBoxID="TextBox1"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<strong>Surname</strong></td>
<td>
&nbsp;</td>

108
</tr>
<tr>
<tdcolspan="2">
<asp:TextBoxID="TextBox2"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Are you known by any other names(aliases)? *</td>
<td>
<asp:RadioButtonID="RadioButton8"runat="server"GroupName="4"Text="Yes"/>
<asp:RadioButtonID="RadioButton9"runat="server"GroupName="4"Text="No"/>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Have you ever changed your name ? *
</td>
<td>
<asp:RadioButtonID="RadioButton10"runat="server"GroupName="5"Text="Yes"/
>
<asp:RadioButtonID="RadioButton11"runat="server"GroupName="5"Text="No"/>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Date of Birth (DD/MM/YYYY) *</td>
<td>
<asp:TextBoxID="TextBox3"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="2">
<strong>Place Of Birth </strong>
</td>
</tr>
<tr>
<td>
Village or Town or City *</td>
<td>
<asp:TextBoxID="TextBox4"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Country (If abroad)*
</td>
<td>
<asp:DropDownListID="DropDownList1"runat="server"Width="300px">
<asp:ListItem>Select Country</asp:ListItem>
<asp:ListItem>India</asp:ListItem>
<asp:ListItem>Pakistan</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<tdcolspan="2">

109
<tableclass="style1">
<tr>
<td>
State (If in India)*
</td>
<td>
<asp:DropDownListID="DropDownList2"runat="server"Width="150px">
<asp:ListItem>Select State</asp:ListItem>
<asp:ListItem>Up</asp:ListItem>
<asp:ListItem>Mp</asp:ListItem>
<asp:ListItem>Lahore</asp:ListItem>
</asp:DropDownList>
</td>
<td>
District (If in India)*</td>
<td>
<asp:DropDownListID="DropDownList3"runat="server"Width="150px">
<asp:ListItem>Select City</asp:ListItem>
<asp:ListItem>Lucknow</asp:ListItem>
<asp:ListItem>Kanpur</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<tdcolspan="4">
If born before 15/08/1947 in a place now in
Pakistan or Bangladesh, select
&quot;Undivided India&quot;.</td>
</tr>
<tr>
<td>
Gender *</td>
<td>
<asp:DropDownListID="DropDownList4"runat="server"Width="150px">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:DropDownList>
</td>
<td>
&nbsp;Marital Status *</td>
<td>
<asp:DropDownListID="DropDownList5"runat="server"Width="150px">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Single</asp:ListItem>
<asp:ListItem>Married</asp:ListItem>
<asp:ListItem>Divorced</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
PAN (If available)</td>
<td>
<asp:TextBoxID="TextBox5"runat="server"Width="300px"></asp:TextBox>
</td>
<td>

110
Voter ID (If available)</td>
<td>
<asp:TextBoxID="TextBox6"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Employment Type *
</td>
<tdcolspan="3">
<asp:DropDownListID="DropDownList11"runat="server"Width="400px">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Goverment</asp:ListItem>
<asp:ListItem>Homemaker</asp:ListItem>
<asp:ListItem>Not employed</asp:ListItem>
<asp:ListItem>Others</asp:ListItem>
<asp:ListItem>Owner</asp:ListItem>
<asp:ListItem>Private</asp:ListItem>
<asp:ListItem>Retiered Goverment Servant</asp:ListItem>
<asp:ListItem>Retired-Private Service</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<tdcolspan="3">
Is either of your parent (in case of minor)/
spouse, a government servant? *</td>
<td>
<asp:DropDownListID="DropDownList6"runat="server"Width="150px">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Yes</asp:ListItem>
<asp:ListItem>No</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
Educational Qualification *</td>
<td>
<asp:DropDownListID="DropDownList7"runat="server">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>5th pass or less</asp:ListItem>
<asp:ListItem>Between 6th and 9th standard</asp:ListItem>
<asp:ListItem>10th pass and above</asp:ListItem>
<asp:ListItem>Gradute and above</asp:ListItem>
</asp:DropDownList>
</td>
<td>
Are you eligible for Non-ECR category?
*</td>
<td>
<asp:DropDownListID="DropDownList8"runat="server"Width="150px">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Yes</asp:ListItem>
<asp:ListItem>No</asp:ListItem>
</asp:DropDownList>
</td>

111
</tr>
<tr>
<tdbgcolor="Silver"colspan="4">
<strong>Family Details (You have to provide atleast one
Father/Mother/Legal
Guardian details.)</strong></td>
</tr>
<tr>
<tdcolspan="4">
Father&#39;s Given Name (Given Name means
First Name followed by Middle Name (If
any))</td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox9"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="2">
<strong>Surname</strong></td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox10"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="4">
Legal Guardian&#39;s Given Name (if
applicable)</td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox11"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="2">
<strong>Surname</strong></td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox12"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="4">

112
<strong>Mother&#39;s Given Name (Given Name means First Name followed by
Middle Name
(If any))</strong></td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox13"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="2">
<strong>Surname</strong></td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox14"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="4"style="font-weight: 700">
Present Residential Address details (where
applicant presently resides)</td>
</tr>
<tr>
<tdcolspan="2">
Is your present address out of India? *</td>
<tdcolspan="2">
<asp:RadioButtonID="RadioButton12"runat="server"GroupName="6"Text="Yes"/
>
<asp:RadioButtonID="RadioButton13"runat="server"GroupName="6"Text="No"/>
</td>
</tr>
<tr>
<tdcolspan="2">
Is permanent address same as present
address?</td>
<tdcolspan="2">
<asp:RadioButtonID="RadioButton14"runat="server"GroupName="7"Text="Yes"/
>
<asp:RadioButtonID="RadioButton15"runat="server"GroupName="7"Text="No"/>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="4">
<strong>Emergency Contact Details *</strong></td>
</tr>
<tr>
<tdcolspan="4">
<strong>Name and Address *</strong></td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox15"runat="server"Width="600px"></asp:TextBox>

113
</td>
</tr>
<tr>
<td>
Mobile Number</td>
<td>
<asp:TextBoxID="TextBox16"runat="server"Width="300px"></asp:TextBox>
</td>
<td>
Telephone Number</td>
<td>
<asp:TextBoxID="TextBox17"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
E-mail</td>
<tdcolspan="3">
<asp:TextBoxID="TextBox18"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="4">
<strong>References in your Village or Town or City</strong></td>
</tr>
<tr>
<tdcolspan="4">
<strong>First Reference Name and Address *</strong></td>
</tr>
<tr>
<tdcolspan="4">
<asp:TextBoxID="TextBox19"runat="server"Width="600px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Mobile Number</td>
<td>
<asp:TextBoxID="TextBox20"runat="server"Width="300px"></asp:TextBox>
</td>
<td>
Telephone Number</td>
<td>
<asp:TextBoxID="TextBox21"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="4">
<strong>Previous Passport/ Application Details</strong></td>
</tr>
<tr>
<tdcolspan="4">
<strong>Have you held/ hold any diplomatic/ official passport?
</strong></td>
</tr>
<tr>
<td>

114
Passport Number</td>
<td>
<asp:TextBoxID="TextBox22"runat="server"Width="300px"></asp:TextBox>
</td>
<td>
Date of Issue(DD/MM/YYYY)</td>
<td>
<asp:TextBoxID="TextBox23"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="2">
Date of Expiry (DD/MM/YYYY)</td>
<tdcolspan="2">
<asp:TextBoxID="TextBox24"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="2">
<strong>Have you ever applied for passport, but not issued?
*</strong></td>
<tdcolspan="2">
<asp:RadioButtonID="RadioButton16"runat="server"GroupName="8"Text="Yes"/
>
<asp:RadioButtonID="RadioButton17"runat="server"GroupName="8"Text="No"/>
</td>
</tr>
<tr>
<tdbgcolor="Silver"colspan="4"style="font-weight: 700">
Other Details</td>
</tr>
<tr>
<tdcolspan="3"style="font-weight: 700">
1) Have you ever been charged with criminal
proceedings or any arrest warrant/
summon pending before a court of India?
*</td>
<td>
<asp:RadioButtonID="RadioButton18"runat="server"GroupName="9"Text="Yes"/
>
<asp:RadioButtonID="RadioButton19"runat="server"GroupName="9"Text="No"/>
</td>
</tr>
<tr>
<tdcolspan="3"style="font-weight: 700">
2) Have you at any time during the period of
5 years immediately preceding the
date of this application been convicted by a
court in India for any criminal
offence and sentenced to imprisonment for
two years or more? *</td>
<td>
<asp:RadioButtonID="RadioButton20"runat="server"GroupName="10"Text="Yes"
/>
<asp:RadioButtonID="RadioButton21"runat="server"GroupName="10"Text="No"/
>
</td>

115
</tr>
<tr>
<tdcolspan="3">
<strong>3) Have you ever been refused or denied passport?
*</strong></td>
<td>
<asp:RadioButtonID="RadioButton22"runat="server"GroupName="11"Text="Yes"
/>
<asp:RadioButtonID="RadioButton23"runat="server"GroupName="11"Text="No"/
>
</td>
</tr>
<tr>
<tdcolspan="3"style="font-weight: 700">
4) Has your Passport ever been impounded or
Revoked? *</td>
<td>
<asp:RadioButtonID="RadioButton24"runat="server"GroupName="12"Text="Yes"
/>
<asp:RadioButtonID="RadioButton25"runat="server"GroupName="12"Text="No"/
>
</td>
</tr>
<tr>
<tdcolspan="3"style="font-weight: 700">
5) Have you ever applied for/ been granted
political asylum to/ by any foreign
country? *</td>
<td>
<asp:RadioButtonID="RadioButton26"runat="server"GroupName="13"Text="Yes"
/>
<asp:RadioButtonID="RadioButton27"runat="server"GroupName="13"Text="No"/
>
</td>
</tr>
<tr>
<tdcolspan="3"style="font-weight: 700">
6) Have you ever returned to India on
Emergency Certificate (EC) or were ever
deported or repatriated? *</td>
<td>
<asp:RadioButtonID="RadioButton28"runat="server"GroupName="14"Text="Yes"
/>
<asp:RadioButtonID="RadioButton29"runat="server"GroupName="14"Text="No"/
>
</td>
</tr>
<tr>
<tdcolspan="4"style="font-weight: 700">
Self Declaration I owe allegiance to the
sovereignty , unity &amp; integrity of
India, and have not voluntarily acquired
citizenship or travel document of any
other country. I have not lost, surrendered
or been deprived of the the
citizenship of India and I affirm that the
information given by me in this form

116
and the enclosures is true and I solely
responsible for its accuracy, and I am
liable to be penalized or prosecuted if
found otherwise. I am aware that under
the Passport Act, 1967 it is a criminal
offence to furnish any false information
or to suppress any material information with
a view to obtaining passport or
travel document.</td>
</tr>
<tr>
<td>
<asp:CheckBoxID="CheckBox1"runat="server"Text="I Agree"/>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
Place *</td>
<td>
<asp:TextBoxID="TextBox26"runat="server"Width="300px"></asp:TextBox>
</td>
<td>
Date (DD/MM/YYYY) *</td>
<td>
<asp:TextBoxID="TextBox27"runat="server"Width="300px"></asp:TextBox>
</td>
</tr>
<tr>
<tdcolspan="2">
<asp:ButtonID="Button1"runat="server"Text="Validate &amp; Save"
onclick="Button1_Click"style="font-weight: 700"/>
</td>
<td>
<inputid="Button2"type="button"value="Print"onclick="return
Button2_onclick()"/></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>

117
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</form>
</body>
</html>

Status.aspx

<%@PageLanguage="C#"MasterPageFile="~/
User.master"AutoEventWireup="true"CodeFile="status.aspx.cs"Inherits="sta
tus"Title="Status Page"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tablewidth="700px"
style="border-color: #333333"border="3px"align="center">
<tr>
<tdalign="center"width="160px">
&nbsp;</td>
<tdwidth="300px"align="center">
&nbsp;</td>

118
</tr>
<tr>
<tdalign="center"width="160px">
STATUS</td>
<tdwidth="300px"align="center">
<asp:TextBoxID="TextBox1"runat="server"TextMode="MultiLine"></
asp:TextBox>
</td>
</tr>
<tr>
<tdalign="center"width="160px">
&nbsp;</td>
<tdwidth="300px"align="center">
&nbsp;</td>
</tr>
</table>
</asp:Content>

Statusdetails.aspx

<%@PageLanguage="C#"MasterPageFile="~/
MasterPage.master"AutoEventWireup="true"CodeFile="statusdetails.aspx.cs"
Inherits="statusdetails"Title="Status Inquery"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tablewidth="450px"
style="border-color: #333333"border="3px"align="center">
<tr>
<tdalign="center"width="160px"colspan="2"
style="width: 299px; font-weight: 700">

<h2>
STATUS INQUERY</h2>
</td>
</tr>
<tr>
<tdalign="center"width="160px">
NAME(without sure name)</td>
<tdwidth="139px"align="center">
<asp:TextBoxID="TextBox1"runat="server"TextMode="MultiLine"></
asp:TextBox>
</td>
</tr>
<tr>
<tdalign="center"width="160px">
CITY</td>
<tdwidth="139px"align="center">
<asp:TextBoxID="TextBox2"runat="server"TextMode="MultiLine"></
asp:TextBox>
</td>
</tr>
<tr>
<tdalign="center"width="160px">
&nbsp;</td>

119
<tdwidth="139px"align="center">
<asp:ButtonID="Button1"runat="server"onclick="Button1_Click"
Text="GET STATUS"/>
</td>
</tr>
<tr>
<tdalign="center"width="160px">
<asp:LabelID="Label2"runat="server"Text="STATUS"></asp:Label>
</td>
<tdwidth="139px"align="center">
<asp:LabelID="status"runat="server"></asp:Label>
</td>
</tr>
</table>
</asp:Content>

User.master

<
%@MasterLanguage="C#"AutoEventWireup="true"CodeFile="User.master.cs"Inhe
rits="User"%>

<%@Registersrc="usermenu.ascx"tagname="usermenu"tagprefix="uc1"%>

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<title>Untitled Page</title>
</head>
<bodyleftmargin="0"topmargin="0"style="color: rgb(0, 0, 128);
background-color: rgb(204, 204, 153);">
<formid="form1"runat="server">
<div>
<br/>
<divid="header"align="center">
<imgsrc="img/cpvdc.jpg"width="577"height="99"/><br/>
<imgsrc="img/cpvda.jpg"width="438"height="18"/>
<br/>

</div>
<tablealign="center">
<tr>
<tdalign="center"style="width: 0px;"bgcolor="#808000"
height="18">
<pstyle="word-spacing: 1px; margin-top: 1px; margin-bottom: 1px; width:
796px;"><font
color="#ffffff"face="Arial, Helvetica, sans-serif"size="3"><b>W E L C O
M E&nbsp;&nbsp;
T O &nbsp;C P V&nbsp;&nbsp; D I V I S I O N</b></font></p></td>
</tr>
<tr>
<tdalign="center">
<table>
<tr><td></td><tdalign="right"style="font-weight: 700">Welcome
<asp:LabelID="Label1"runat="server"></asp:Label>&nbsp;&nbsp;!
<asp:LinkButtonID="LinkButton1"runat="server"onclick="LinkButton1_Click1
">LOGOUT</asp:LinkButton>

120
</td></tr>
<tr><tdwidth="120px">
<tableclass="style1">
<tr>
<td>
<asp:ImageButtonID="ImageButton5"runat="server"Height="33px"
ImageUrl="~/my pms btn/forms.png"PostBackUrl="~/passportform.aspx"
Width="121px"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton7"runat="server"Height="33px"
ImageUrl="~/my pms btn/statusinquery.png"PostBackUrl="~/status.aspx"
Width="121px"/>
</td>
</tr>
</table>

</
td><tdwidth="700px"><asp:ContentPlaceHolderID="ContentPlaceHolder1"runat
="server">
</asp:ContentPlaceHolder>
</td></tr>
</table>
</td>
<tr>
<tdstyle="width: 0px;"align="center"bgcolor="#808000"
height="18">
<pstyle="word-spacing: 1px; margin-top: 1px; margin-bottom: 1px; width:
795px;"
align="left"><fontcolor="#ffffff"><b><a
href="http://passport.gov.in/cpv/dpPandvisaform.pdf"
style="text-decoration: none;">&nbsp;***Instruction and Application form
For issue of
Official/Diplomatic Passports and visa note***</a></b></font></p>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

UserRegisteration.aspx

<%@PageLanguage="C#"MasterPageFile="~/
MasterPage.master"AutoEventWireup="true"CodeFile="UserRegisteration.aspx
.cs"Inherits="UserRegisteration"Title="Registeration Page"%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">

<tablewidth="470px"
style="border-color: #333333"border="3px"align="center">

121
<tr>
<tdalign="center"colspan="2">
<b>USER REGISTERATION FORM</b></td>
</tr>
<tr>
<tdalign="right"style="width: 154px">
<b>Name</b></td>
<td>
<asp:TextBoxID="txtname"runat="server"Width="200px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"
ErrorMessage="*"ControlToValidate="txtname"></
asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tdalign="right"style="width: 154px">
<b>Email</b></td>
<td>
<asp:TextBoxID="txtemail"runat="server"Width="200px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator2"runat="server"
ErrorMessage="*"ControlToValidate="txtemail"></
asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tdalign="right"style="width: 154px">
<b>Password</b></td>
<td>
<asp:TextBoxID="txtpass"runat="server"Width="200px"TextMode="Password"><
/asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator3"runat="server"
ControlToValidate="txtpass"ErrorMessage="*"></
asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tdalign="right"style="width: 154px">
<b>Re-Password</b></td>
<td>
<asp:TextBoxID="TextBox6"runat="server"Width="200px"TextMode="Password">
</asp:TextBox>
<asp:CompareValidatorID="CompareValidator1"runat="server"
ErrorMessage="Not Match"ControlToCompare="txtpass"
ControlToValidate="TextBox6"></asp:CompareValidator>
</td>
</tr>
<tr>
<tdalign="right"style="width: 154px">
<b>Address</b></td>
<td>
<asp:TextBoxID="txtadd"runat="server"Width="200px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator4"runat="server"
ControlToValidate="txtadd"ErrorMessage="*"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tdalign="right"style="width: 154px">

122
<b>Phone</b></td>
<td>
<asp:TextBoxID="txtphone"runat="server"Width="200px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator5"runat="server"
ControlToValidate="txtphone"ErrorMessage="*"></
asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<tdalign="right"style="width: 154px">
&nbsp;</td>
<td>
<asp:ButtonID="Button1"runat="server"onclick="Button1_Click"
Text="Register Now"/>
<asp:LabelID="Label2"runat="server"></asp:Label>
</td>
</tr>
<tr>
<tdalign="center"colspan="2">
<asp:LabelID="Label1"runat="server"Text="Registeration ID"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;
<asp:LabelID="lblregid"runat="server"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:HyperLinkID="HyperLink1"runat="server"NavigateUrl="~/login.aspx">Go
to
Login Page</asp:HyperLink>
</td>
</tr>
</table>
</asp:Content>

AdminHome.aspx

<%@PageLanguage="C#"MasterPageFile="~/Admin/
AdminMasterPage.master"AutoEventWireup="true"CodeFile="AdminHome.aspx.cs
"Inherits="Admin_AdminHome"Title="Untitled Page"%>

<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<h1>This is Admin Home Page!</h1>
</asp:Content>

AdminMasterPage.master

123
<
%@MasterLanguage="C#"AutoEventWireup="true"CodeFile="AdminMasterPage.mas
ter.cs"Inherits="Admin_AdminMasterPage"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<title>Untitled Page</title>
<linkhref="css/menu.css"rel="stylesheet"type="text/css"/>
<asp:ContentPlaceHolderid="head"runat="server">
</asp:ContentPlaceHolder>
<styletype="text/css">
.style1
{
font-size: 40pt;
font-weight: bold;
background-color:Gray;
height: 115px;
}
</style>
</head>
<body>
<formid="form1"runat="server">
<divalign="center"style="background-color:"Lime">
<tablewidth="900px">
<tr>
<tdclass="style1"style="background-color: #FFFF99">Welcome To Admin
Panel</td>
</tr>
<tr>
<tdalign="center">
<ul>
<ahref="AdminHome.aspx"><liclass="li"style="width:45px;">HOME</li></a>
<ahref="PassportFee.aspx"><liclass="li"style="width:155px;">PASSPORT
FEES</li></a>
<ahref="UserRequest.aspx"><liclass="li"style="width:160px;">PASSPORT
REQUEST</li></a>
<ahref="UserRegisteration.aspx"><liclass="li"style="width:180px;">USER
REGISTERATION</li></a>
<asp:LinkButtonID="LinkButton1"runat="server"onclick="LinkButton1_Click"
>LOGOUT
?</asp:LinkButton>
</ul>

</td>
</tr>
<tr>
<tdalign="center">
<asp:ContentPlaceHolderID="ContentPlaceHolder1"runat="server">
</asp:ContentPlaceHolder>

</td>

124
</tr>
<tr>
<tdstyle="background-color: #333333">
<br/>
<br/>
<br/>
</td>
</tr>

</table>

</div>
</form>
</body>
</html>

Passportfees.aspx

<%@PageLanguage="C#"MasterPageFile="~/Admin/
AdminMasterPage.master"AutoEventWireup="true"CodeFile="PassportFee.aspx.
cs"Inherits="Admin_PassportFee"Title="Untitled Page"%>

<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">

</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tablealign="center">
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Applicant&#39;s Age *</td>
<td>
<asp:DropDownListID="ddlage"runat="server">
<asp:ListItem>Select Age</asp:ListItem>
<asp:ListItem>10 Year</asp:ListItem>
<asp:ListItem>18 Year And Above</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
No of pages in Booklet *</td>
<td>
<asp:DropDownListID="ddlbookpage"runat="server">
<asp:ListItem>Select Booklet</asp:ListItem>
<asp:ListItem>36 Pages</asp:ListItem>
<asp:ListItem>60 Pages</asp:ListItem>
</asp:DropDownList>
</td>
</tr>

125
<tr>
<tdstyle="font-weight: 700">
Required Scheme *</td>
<td>
<asp:DropDownListID="ddlschema"runat="server">
<asp:ListItem>Select Schema</asp:ListItem>
<asp:ListItem>Normal</asp:ListItem>
<asp:ListItem>Tatkal</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<tdstyle="font-weight: 700">
Fee Amount (in Rs.)</td>
<td>
<asp:TextBoxID="txtamount"runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:ButtonID="btnsubmit"runat="server"onclick="btnsubmit_Click"
style="font-weight: 700"Text="Submit"/>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

RequestDetails.aspx

<%@PageLanguage="C#"MasterPageFile="~/Admin/
AdminMasterPage.master"AutoEventWireup="true"CodeFile="requestdetails.as
px.cs"Inherits="Admin_requestdetails"Title="Untitled Page"%>

<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
<styletype="text/css">
.style2
{
width: 100%;
}
.style3
{
height: 23px;

126
}
</style>
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tableclass="style2">
<tr>
<tdclass="style3">
</td>
<tdclass="style3">
</td>
</tr>
<tr>
<tdalign="center"colspan="2">
<asp:DetailsViewID="DetailsView1"runat="server"BackColor="White"BorderCo
lor="#CCCCCC"
BorderStyle="None"BorderWidth="1px"CellPadding="3"CssClass="detailcontro
l"
Height="50px"Width="500px"onitemdeleting="DetailsView1_ItemDeleting">
<FooterStyleBackColor="White"ForeColor="#000066"/>
<RowStyleForeColor="#000066"/>
<PagerStyleBackColor="White"ForeColor="#000066"HorizontalAlign="Left"/>
<HeaderStyleBackColor="#006699"Font-Bold="True"ForeColor="White"/>
<EditRowStyleBackColor="#669999"Font-Bold="True"ForeColor="White"/>
</asp:DetailsView>
</td>
</tr>
<tr>
<tdwidth="330"align="right">
Delete This Record</td>
<td>
<asp:ButtonID="Button2"runat="server"onclick="Button2_Click"Text="Delete
"/>
</td>
</tr>
<tr>
<tdwidth="300"align="right">
Update Status</td>
<td>
<asp:DropDownListID="DropDownList1"runat="server"Width="200px">
<asp:ListItem>SELECT STATUS</asp:ListItem>
<asp:ListItem>Patch</asp:ListItem>
<asp:ListItem>Dispatch</asp:ListItem>
</asp:DropDownList>
&nbsp;<asp:ButtonID="Button1"runat="server"onclick="Button1_Click"
Text="UPDATE"/>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

127
UserRegisteration.aspx

<%@PageLanguage="C#"MasterPageFile="~/Admin/
AdminMasterPage.master"AutoEventWireup="true"CodeFile="UserRegisteration
.aspx.cs"Inherits="Admin_UserRegisteration"Title="Untitled Page"%>

<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
<styletype="text/css">
.style2
{
width: 100%;
}
</style>
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tableclass="style2">
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<tdcolspan="2"align="center">
<asp:GridViewID="GridView1"runat="server"CellPadding="4"ForeColor="#3333
33"
GridLines="None"AllowPaging="True"AutoGenerateDeleteButton="True"
onpageindexchanging="GridView1_PageIndexChanging"
onrowdeleting="GridView1_RowDeleting"DataKeyNames="id">
<RowStyleBackColor="#F7F6F3"ForeColor="#333333"/>
<FooterStyleBackColor="#5D7B9D"Font-Bold="True"ForeColor="White"/>
<PagerStyleBackColor="#284775"ForeColor="White"HorizontalAlign="Center"/
>
<SelectedRowStyleBackColor="#E2DED6"Font-
Bold="True"ForeColor="#333333"/>
<HeaderStyleBackColor="#5D7B9D"Font-Bold="True"ForeColor="White"/>
<EditRowStyleBackColor="#999999"/>
<AlternatingRowStyleBackColor="White"ForeColor="#284775"/>
</asp:GridView>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

UserRequest.aspx

<%@PageLanguage="C#"MasterPageFile="~/Admin/
AdminMasterPage.master"AutoEventWireup="true"CodeFile="UserRequest.aspx.
cs"Inherits="Admin_UserRequest"Title="Untitled Page"%>

128
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
<styletype="text/css">
.style2
{
color: #00CC00;
font-family: Calibri;
font-size: x-large;
text-transform: uppercase;
text-decoration: underline;
text-align: center;
border-left-color: #A0A0A0;
border-right-color: #C0C0C0;
border-top-color: #A0A0A0;
border-bottom-color: #C0C0C0;
}
</style>
<linkhref="css/menu.css"rel="stylesheet"type="text/css"/>
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat
="Server">
<tableborder="1px">
<tr>
<tdwidth="80px">Submission Date</td>
<tdwidth="50px">Application Type</td>
<tdwidth="120px">Booklet Type</td>
<tdwidth="80px">Applicant Name</td>
<tdwidth="70px">Applicant Surname</td>
<tdwidth="110px">Date of Birth</td>
<tdwidth="90px">Town</td>
<tdwidth="80px">State</td>
<tdwidth="80px">Country</td>
<tdwidth="120px">All Details</td>
</tr></table>
<table>

<tr>
<td>
<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"
BorderWidth="0px"CssClass="gridcountrol">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table>
<tr>
<tdwidth="100px"><asp:LabelID="Label1"runat="server"Text='<
%#Eval("dateofsubmitform") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label2"runat="server"Text='<
%#Eval("typeofapplication") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label3"runat="server"Text='<
%#Eval("typeofpassbooklet") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label4"runat="server"Text='<
%#Eval("applicantname") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label5"runat="server"Text='<
%#Eval("applicantsurname") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label6"runat="server"Text='<
%#Eval("applicantdob") %>'></asp:Label></td>

129
<tdwidth="150px"><asp:LabelID="Label7"runat="server"Text='<
%#Eval("vilagetowncity") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label8"runat="server"Text='<
%#Eval("state") %>'></asp:Label></td>
<tdwidth="150px"><asp:LabelID="Label9"runat="server"Text='<
%#Eval("country") %>'></asp:Label></td>
<tdwidth="150px"><ahref='requestdetails.aspx?id=<%#Eval("id") %>'>Show
All Details</a></td>

</tr>
</table>

</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>

</tr>

</table>
</asp:Content>

Menu bar.ascx

<
%@ControlLanguage="C#"AutoEventWireup="true"CodeFile="menubar.ascx.cs"Inherits="me
nubar"%>
<styletype="text/css">
.style1
{
width: 100px;
}
</style>

<tableclass="style1">
<tr>
<td>
<asp:ImageButtonID="ImageButton5"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/home.png"PostBackUrl="~/index.aspx"
CausesValidation="False"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton1"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/aboutus.png"PostBackUrl="~/aboutus.aspx"
style="margin-right: 0px"CausesValidation="False"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton4"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/fees.png"PostBackUrl="~/fees.aspx"
CausesValidation="False"/>
</td>
</tr>

130
<tr>
<td>
<asp:ImageButtonID="ImageButton6"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/introduction.png"PostBackUrl="~/introduction.aspx"
CausesValidation="False"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton7"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/log (1).png"PostBackUrl="~/login.aspx"
CausesValidation="False"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton2"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/reg.png"PostBackUrl="~/UserRegisteration.aspx"
CausesValidation="False"/>
</td>
</tr>
<tr>
<td>
<asp:ImageButtonID="ImageButton3"runat="server"Width="121px"Height="33px"
ImageUrl="~/my pmsbtn/statusinquery.png"
PostBackUrl="~/statusdetails.aspx"CausesValidation="False"/>
</td>
</tr>
</table>

131
7.2 Code Efficiency

Ithas been recognized that good coding style can overcome many of the
deficiencies of a primitive programming language, while poor styles can defeat the intent
of an excellent language. The goal of a good coding style is to provide easily understood,
straight–forward and elegant code. The guidelines for coding include:
 Use of a few standard control constants.
 Use of unconditional branching (go to) in a disciplined manner.
 Introduction of user-defined data types to model entities in the problem domain.
 Hiding of data structures behind access functions.
 Providing standard documentation prologues for each subprogram and
compilation unit.
 Use of indentation, parenthesis, and blank spaces, blank lines, borders and
comments to enhance readability.

7.3Optimisation of Code

Object oriented programming principles have been implemented during coding


for this software. Choice of Visual Basic as a language for my project was based on the
fact that this language utilizes the principles of OOPS to a greater degree. By creating
code objects, code reusability increases to a greater extent. With less code more
efficiency can be achieved. Object-oriented means that we organize software as a
collection of discrete object that incorporate both data structure and behavior. In
conventional programming, data structure and behavior are loosely connected.

132
7.4 Validation Checks

133
8.0Testing

8.1 Testing Techniques and Testing Strategies

8.1.1) Testing Techniques:-


Software design is a critical element of software quality
assurance and represents the ultimate review of specification, design and code
generation. Once source code has been generated, software must be tested to
uncover as many as errors as possible before delivery to the customer. The first
approach is called black–box testing and the second, white–box testing.

White Box Testing:-


White box testing is a test case design method that uses the control
structural of the procedural design to derive test cases. It is also called glass
box testing. Using this method, we can derive test cases that-

 Guarantee that all independent paths within a module have been exercised at
least once.
 Exercise all logical decisions on their true and false sides Executes all loops
at their boundaries and within their operational bounds.
 Execute all loops at their boundaries and within their operational bounds.
 Exercise internal data structures to ensure their validity.

134
Black Box Testing:-
Black–box testing focuses on the functional requirements of the
software i.e. it enables the software engineer to derive sets of input conditions
that will fully exercise all functional requirements for a program. It is also
called behavioral testing. Black–box testing attempts to find errors in the
following categories: -

 Incorrect or missing functions


 Interface errors
 Errors in data structures or external database access
 Initialization and termination errors
 Performance errors

Alpha and Beta testing are also used to uncover errors that only the end-user seems
able to find.

a). Alpha Testing

The customer conducts the Alpha test at the developer’s site. The software
is used in a natural setting with the developer “looking over the shoulder” of the
user and recording errors and usage problem. Alpha test are conducted in
controlled environment.
b). Beta Testing

The Beta-test is conducted at one or more customer sites by the end-user of


the software. Unlike Alpha testing, the developer is generally not present.
Therefore, the Beta-test is a “live” application of the software in an environment
that cannot be controlled by the developer. The customer records all problems
(real or imagined) that are encountered during Beta testing and reports there to the
developer at regular intervals. As a result of problems reported during Beta-tests,
software engineers make modifications and then prepare for release of the software
product to the entire customer base.

135
In this work, we will perform incremental testing in which components and
subsystem of the system are tested separately before integrating them to form, the
system from system testing. This type of testing will provide quality.

8.1.2) Testing Strategies:-


Designing effective test cases is important but so is the strategy we use to
execute them. A strategy for software test case design methods that result in
the successful construction of software. The strategy provides a road map that
describes the steps to be conducted as a part of testing.

There are a number of testing strategies, which have the following


generic characteristics: -

 Testing begins at the component level and works “outward” toward


the integration of the entire computer–based system.

 Different testing techniques are approximate at different points in


time.

 Testing is conducted by the developer of the software and (for large


projects) an independent test group.

 Testing and debugging are different activities, but debugging must be


accommodated in any testing strategy.

System testing

Validation testing

Integration testing
Unit testing

Code
Design
Requirements

System engineering 136


Initially, system engineering defines the role of software and leads to software
requirement analysis where the information domain, function, behavior,
performance, constraints and validation criteria for software are established. Moving
inward along the spiral, we come to the design and finally to coding. There are a
number of testing strategies, which are given below: -

Unit testing

In the unit testing interfaces, local data structures, boundary conditions,


independent paths, error-handling paths are tested. Test cases should be design
to uncover errors due to erroneous computations, incorrect comparisons, or
improper control flow developed, reviewed and verified for correspondence to
component level design, . For this purpose basis path and loop testing is done.
After source level code has been unit test case design begins. In unit test
application ‘drivers’ are developed which are programs, accept test case data,
passes such data to the component to be tested and prints relevant results.
‘Stubs’ are also developed which serve to replace modules, that are
subordinate the component to be tested.

Integration testing

Integration testing is systematic technique for constructing the program


structure while at the same time conducting the tests to uncover errors
associated with interfacing. The objective is to take unit tested components and
build a program structure that has been dictated by design. There are two types
of integration – Bottom up integration and Top down integration. Regression
and smoke testing are done in integration testing strategy.

Validation testing

137
Next step is the validation testing where requirements established as
part of software requirements analysis are validated against the software that
has been constructed. At the culmination of integration testing, software is
completely assembled as a package, interfacing errors has been uncovered and
corrected, and a final series of software tests i.e. validation testing begins.
Validation succeeds when software functions in a manner that can be
reasonably expected by the customer.

Software validations can be achieved through a series of black-box tests


that demonstrate conformity with requirements. Configuration review, alpha
testing and beta testing techniques are conducted to enable the customer to
validate all requirements. Acceptance tests are conducted by the end-users over
a period of weeks or months.

System testing

Finally, we arrive at system testing where the software and other system
elements are tested as a whole. System testing verifies that all elements mesh
properly and that overall system function / performance is achieved. Ultimately
software is incorporated with other system elements and a series of system
integration and validation tests are conducted. Recovery testing, stress testing,
security testing, performance testing are some system tests which are
performed during system testing.

138
9.0 SYSTEM SECURITY MEASURES

Security in database involves both policies and mechanisms to protect the data and ensure
that it is not accessed, altered or deleted without proper authorization. Integrity implies
that any properly authorized access, alternation or deletion of the data in the database
does not change the validity of the data. The economic or strategic reasons for protecting
data from unauthorized access, corruption or destruction, there is a privacy dimension for
data security or integrity. Privacy is the ethical and legal rights that individual have with
regard to control over the dissemination and use of their personal information.
Data has to be protected in the database. There is a similar need for protection in a
non database environment. The operating system must ensure that files belonging to the
database are not used directly without proper authorization.

 Identification and Authorization


The authorization mechanism prepares the user profile for a user and indicates the
portion of the database accessible to that user and mode of the access allowed. The
enforcement of the security policies in the database system requires that the system
knows the identity of the user making the requests. This in turn requires that before
making any request, the user has to identify herself or himself to the system and the
authenticate identification to confirm that the user is in fact the correct person.

 Authentication
The simplest and most common authentication scheme used is a password to
authenticate the user. The user enters the user name or number and then authenticates
her /him by the password. A number of methods can be used in the authentication: by
something known only by the user, by something that only the user possesses, or by some
physical/physiological characteristics of the user.

139
10.0 IMPLEMENTATION AND MAINTENACE

INTRODUCTION: -

The implementation phase of software development is also concerned with translating


design specification into source code. It is necessary to write source code and internal and
documentation so that conformance of the code to its specification can be easily verified,
and so that debugging, testing and modification are eased. This can be achieved by
making the source code as clear and straight forward as possible. The implementation
team should therefore be provided with-defined set of software requirements, an
architectural design specification and a detailed design description.
User training is another important area, which is responsible for minimizing resistance to
change and giving the new system a chance to provide its worth. Training aids, such as
user-friendly manuals, data dictionary, and jobs performance aids that communication
information about the new system; help-screens provide the user with a good start on the
new system.
Following conversion, it is desirable to review the performance of the system and
to evaluate it against established criteria. Software maintenance follows conversion,
which includes minor enhancements or corrections to problems that surface late in the
system's operating.

MAINTENANCE

 Software maintenance is used to describe the software engineering activities that


occur following delivery of a software product to the customer
 Activities involved in maintenance of a software product include:
 Analysis activities
 Standards and guidelines
 Design activities
 Implementation activities
 Supporting documents

140
 Configuration management is concerned with tracking and controlling of the
work product that constitute a software product
 Configuration management tools include
 Configuration management data bases
 Version control libraries

 Automated tools to support software maintenance include technical support


tools and managerial support tools
 Other automated tools include
 Text editor
 Debugging aids
 Linkage editor
Computer Maintenance covers a wide range of activities. Many activities performed
during development of Airlines Reservation System for Global Airways to enhance the
maintainability of it are as follows---

o Analysis Activities The analysis phase of software development is concerned


with determining customer requirements and constraints, and establishing
feasibility of the product. From maintenance view point, the most important
activities that occur during analysis are establishing standards and guidelines for
the project and the work products to ensure uniformity of the products; setting of
milestones to ensured that the work products are produce on schedule; specifying
quality assurance procedures to ensure development of high quality documents;
identifying product enhancements that will most likely occur following initial
delivery of the system; and estimating the resources( personnel, equipment, floor
space) required to perform the maintenance activities.

o Standards and Guidelines various types of standards and guidelines we


developed to enhance the maintainability of our software.

141
o Design Activities Design is concerned with developing the functional
components, conceptual data structures and interconnection in a software system.
The most important activity for enhancing maintainability during the design.
Automated tools to support software maintenance include technical support tools

and managerial support tools. Tolls to support the technical aspects of software

maintenance span the spectrum from analysis and design tolls to implementation to
debugging and testing tools. Automated tolls include text editors debugging aids, cross-
reference generators, linkage editors, comparators, complexity metric calculators, and
version control system and configuration management databases.

Text editor permits rapid, efficient modification of source programs, test data and
supporting documents. Text editors can be used to insert and replace segments of source
code, internal comments, test data and supporting documents; to systematically change
all occurrences of an identifier or other textual strings to locate all references to a given
identifier or other string of text; and to save both old and new versions of a routine, test
file or document. A syntax-directed text editor can ensure that all cross-references in text
editor can ensure that all cross-references in the supporting documents are correctly
updated.
Debugging aids provide traps, dumps, and traces assertion checking and history
file aid in locating the causes of known errors. System-level-cross-reference generators
provide cross-reference listings for procedure calls, statements usage and data references.
Cross-references directories provide the calling structures of who calls whom and from
where, and procedures names and statement numbers where formal parameters local
variables and global variables are defined, set and used.

As we already know maintenance of the software is an important part of using it.


Thus various maintenance procedures have to be followed.

142
11.0 COST ESTIMATION OF PROJECT

It includes the overall estimation of cost of the proposed software on the basis of money,
effort, resources and time to build the software. Estimation begins with the description of
the scope of the project. The problem is then decomposed into a set of smaller problems
and each of these is estimated using historical data and experience as guides. Estimation
carries inherent risk and this risk leads to uncertainty.
There are three factors, which affect the uncertainty inherent in
planning factors. These are: -

 Project complexity

 Project size

 Degree of structural uncertainty

 Availability of historical information

I have done the estimation of the proposed software on the basis of object points weights
on the object are given by “Boehm” which are constant. Taking these constants we can
easily estimate the cost of proposed project.

Table for complexity weight : -

Complexity weight

Object type Simple Medium Difficult

Screen 1 2 3

Reports 2 5 8

3GL/4GL 10
component

143
Table for Productivity rates for object points : -

Developer’s Very Very


experience/capability high
Low Low Nominal High

Environment Very Very


maturity/capability high
Low Low Nominal High

PROD

4 7 13 25 50

Table for input/report/3GL/4GL components

Object type Simple Medium Difficult

Screen 18 4 2

Reports 10 2 0

3GL/4GL component 1

Object points for input components

18* 1 + 4* 2 + 2 * 3

=18 + 8+ 6 = 32

Object points for reports

10*2+ 2*5 = 30

Object points for main component

10 * 1 = 10

Total object points (NOP) = 32+30+10

= 72

Taking nominal production rate (PROD) = 13 NOP/programmer month

144
Estimated effort = NOP/PROD

= 72/13

= 5.55 programmer months

~ 6 programmer months

Cost of the programmer = Rs.21, 000/month

Cost of the software = 20,000 * 6

= Rs.1, 26000

145
12.0 PERT AND GANT CHART

12.1 Gantt chart


Gantt charts (developed by Henry L. Gantt) are project control techniques that can be
used for several purposes, including scheduling, budgeting and resource planning. A
Gantt chart is a bar chart, with each bar representing an activity. The bars are drawn
against a time line. The length of each bar is proportional to the length of time planned
for the activity.

We estimated the number of weeks required for each of the seven tasks as follows:
1. Analysis 3 Weeks
2 .Design 4 Weeks
3. Coding 8 Weeks
4. Testing 4 Weeks
5. Write Manual 2 Weeks
6. Implementation 1 Week
7. Maintenance 2 Weeks

146
Gantt Chart

147
12.2 Pert Charts
A PERT (Program Evaluation and Review Technology) chart is a network of boxes (or
circles) and arrows. There are different variations of PERT Charts, some use the boxes to
represent the activities and some use arrows to do so. We will use the first approach here.
Each box thus represents an activity. The arrows are used to show the dependencies of
activities on one another. The activity at the head of an arrow can not start until activity at
the tail of the arrow is finished.

148
13.0 FUTURE SCOPE

Enhancement of our proposed system after successfully implementing the it can be added
in the system that automatically displays the details when the User apply for Passport
after mailing his resume.When the developed system runs successfully, it can be also be
used that the all Passport company can automatically get the Passport of the user they
have same Passport vacancies.
Online User register facility could be brought on Web that would enable the User
to register and can see the detail in the system itself by entering his login id No.
There should be some page like Passport sample question paper and online test can give
the better option for finding Passport and company need only to conduct viva-exam not
written exam for that user who has passed online examination.
If user want to send Passport detail to his friend then there is option to mail
Passport detail to friend is necessary in Passport page.
Each of these tasks serves describes the problem so that an overall approach or
solution may be synthesized.

1: Registered Module:
In this module, User enters a login & password and the software checks its
validity. If the login & password is valid then he is allowed to enter, otherwise “Invalid
User/Password” message is displayed. Different data access rights are assigned to
different users.

2: Master Module.
This module is used to add new candidate, new Passport ,new company details
etc.

3: Apply Module :
In this module, User apply for the Passport which is best suited to him as per their
qualification ,location .
149
4: Modifying/Updating Existing Entries:
In this module, whenever an existing entity is required to be modified the
corresponding forms are opened and the database is manipulated and the data is fetched.
Now the user can made the required changes and then accordingly, he updates the data.
Again, the checks are followed in case there is any invalid entry.

5: Searching:
In this module, User can search on the requirement their choice that mean, it
(search engine) will help to search in all record/ information of available Passport
/company/candidate.

6: Validation of Data Entered by the User & Error Handling:


In this module, the validity of data entered by the user during the various business
processes is checked through various validation checks. For example, there should not be
any characters entered in the numeric fields, likewise if there is any error occurs than it
should handle that particular error and give the required messages.

150
14.0 BIBLIOGRAPHY

 www.w3school.com
 www.dotnetfounda.com
 www.sqlauthority.com
 Elsevier Inc, C# 2.0 Practical Guide For Programmers
 Wrox.Press-ProfessionalADO.NETProgramming
 Addison.WesleyASP.NET Solutions—23 Case Studies: Best Practices for Developers
 Premier Press - Ado.net Professional Projects
 Wrox.Press-Professional ASP.NET Programming

151

You might also like