capstone project report2013

104
CAPSTONE PROJECT REPORT (Project Term August-December, 2013) GOVERNMENT PORTAL SYSTEM WEBSITE (ASP.NET) Submitted by Pooja chahal Registration Number: Priyanka thakur Registration Number: Abhishek Malviya Registration Number: Project Group Number: G028

Upload: amarbant-singh-d

Post on 19-Jan-2016

29 views

Category:

Documents


3 download

DESCRIPTION

poject report

TRANSCRIPT

Page 1: Capstone Project Report2013

CAPSTONE PROJECT REPORT

(Project Term August-December, 2013)

GOVERNMENT PORTAL SYSTEM WEBSITE

(ASP.NET)

Submitted by

Pooja chahal Registration Number:

Priyanka thakur Registration Number:

Abhishek Malviya Registration Number:

Project Group Number: G028

Under the Guidance of

Miss.Deepika Sukhija

Discipline of Computer Science and information Technology

Lovely Professional University, Phagwara

August to December, 2013

Page 2: Capstone Project Report2013

DECLARATION

We hereby declare that the project work entitled “Government Portal system” is an authentic

record of our own work carried out as requirement of capstone project for the award of

degree of B.Tech-M.Tech(CSE), Lovely Professional University, Phagwara, under the

guidance of Miss.Deepika Sukhija during August to December, 2013.

Date: 6 DEC 2013 Project Team Members

Priyanka Thakur

Pooja Chahal

Abhishek Malviya

It is certified that the above statement made by the students is correct to the best of my

knowledge and belief.

Mentor

Miss. Deepika Sukhija

CSE Dept.

UID:11471

Page 3: Capstone Project Report2013

ACKNOWLEDGEMENT

It is a pleasure for us to find ourselves penning down these lines to express our sincere thanks

to all our coordinators to give us this opportunity of preparing this project, to enhance our

professional practice. We express our deep sense of gratitude to our Mentor Miss Deepika

Sukhija to give us knowledge about the topic and concept related to this particular project.

Without his guidance we cannot imagine to complete our project on time. We present our

deepest gratitude to all our coordinators and teachers for always boosting up our morals and

providing us encouraging environment. In the last, we want to thank our parents, without

whom nothing was possible. Finally, thanks goes to all of our team members for the

collective efforts in making this project, helping me in the areas where I lack and an

honorable mention for my family and friends for their understanding and supports on me in

doing this project. Without helps of the particular that mentioned above, I would face many

difficulties while doing this project.

Page 4: Capstone Project Report2013
Page 5: Capstone Project Report2013

TABLE OF CONTENTS

TABLE OF FIGURES

1. Profile of the problem: Introduction

Purpose: Scope

2. Existing System Introduction Existing Website: DFD for present system What’s new in the system to be developed?

3. Problem Analysis: Product Definition Feasibility Analysis Project Plan:

4. Specific Requirement Software Requirement : Hardware Requirement:

5. Design: System Design:

Database Design: E-R Diagram of the project:

Flowchart:6. Technology/Domain/Tool:

Introduction: Microsoft.Net Framework SQL Server 2008:

7. My project work: Coding Screenshots of the application

8. References:

Page 6: Capstone Project Report2013

Table of figure:

Figure 1: DFD for Existing Government website

Figure 2: Table for Project Plan

Figure 3: Login Table

Figure 4: Sign up Table

Figure 5: Passport service entry Table

Figure 6: E-R Diagram of the Project

Figure 7: Flowchart of user Login module

Figure 8: Flowchart of admin login module

1. Profile of the Problem:

Page 7: Capstone Project Report2013

Introduction: Government portal system is specifically developed for online Sumiton for government Document, service provided by Government like passport seva, voterIDcard, Ration card , Bharat Sarkar yojanaye etc.all this service’s is provided by government portal system website. Semi Government work with all this government website to overcome the load and provide flexibility to citizens. The system provide user account to manage their data. The application is based on three-tier architecture .the system will check the user’s

existence in the database and provide the set of services to user.

Purpose:

o User can easily upload there document

o Our website is efficient

o The system user administrator can update the databases and make new

changes

o The administrator needs to enter particular username and password to make

any changes.

Scope:

The documentation of a project's scope, which is called a scope statement, terms of reference or statement of work, explains the boundaries of this project, which establishes responsibilities for each team member and sets up procedures for how the work is completed and will be verified and approved. During the project, this documentation helps us remain focused and on task. The scope statement also provides us guidelines for making decisions about change requests during this project. It is natural for parts of a large project to change along the way, so the better the project has been "scoped" at the beginning, the better the project team will be able to manage change so this work has been done to maintain the security of the system as well as preparing new ideas of thoughts. We can compress, resize, crop and give fill light to image file using this software. The software helps to save the storage space and to resize the image as per the requirement.

Page 8: Capstone Project Report2013

2. Existing system: Introduction: The system will check the user’s existence in the database and

provide the set of services to the user. The business logic helps in authenticating the application, authorizing the user and providing services. The technology are chosen by keeping the compatibility and performance as the constraints for the application.

Existing website: Provide user account. Application for Government services. Bharat sarkar yojnaye.

Page 9: Capstone Project Report2013

DFD for Present System:

Database

Figure1: DFD for Existing Government websites

What’s new in the system to be developed?

In order to overcome the drawbacks in the Existing system, new database: Integrated Reliable Consistent Flexible Secure

Admin Create

User

Account

User

Query

User Account

Info

USER

Page 10: Capstone Project Report2013

3. PROBLEM ANALYSIS

Product Definition: The Government Portal System Consists of

Following modules:

Login process: This module allow valid user to access the

functionalities provided by the website.

Signup process: This module allow user to create the user account.

Update Profile: This module allow the user to update profile of their

account.

Service’s: This module allow the user to fill the different service’s

provided by website.

Blogging: This module give information to user about new program

introduced by Indian Government.

Feasibility Analysis: The Internet is dramatically changing the way that

Indian government service the public. Taking advantage of new technology,

many State and local governments are using the web to offer citizens a host

of services including corresponding online with local officials, providing

information about government services, renewing library books or driver’s

licenses. providing tax information and accepting tax returns and applying for

jobs or benefits, allow programs and services to be offered in a more

dynamic, interactive way, increasing citizen participation, increase

convenience and speed in obtaining information or services, reduce

costs in providing programs and information about government

services, reduce the amount of paperwork and expand the possibilities

of reaching new sectors of the community or offering new programs.

The coordination between user and website. A comprehensive

feasibility study of social, economic and technical aspect has also been

made and implemented as below:-

Page 11: Capstone Project Report2013

Social Feasibility:o It has simplified the government procedure.o User and semi government sector authority had a huge acceptance to the

notion.

Economic Feasibility:o The project is economically feasible.

Project Plan : Individual contributions are as follow:

Pooja Chahal:o Designing of user interface of user module. o User validation with Priyanka Thakur.o Designing of administrator module with priyanka Thakur.o Designing of user interfaced of user account module.o Master page design

Priyanka Thakur:o Database connectivity.o Database creation in sqlserver with abhishek malviya.o Database validation.o Designing of user account module with Pooja Chahal.

Abhishek Malviya:o Database coding of user module.o Database validation along with Priyanka Thakur.o Database coding of administrator module.o Designing of Masterpage along with pooja chahal.

Page 12: Capstone Project Report2013

Month Sep Oct Nov Week 1 2 3 4 1 2 3 4 1 2 3 4 Problem Analysis Requirement Database Design SRS E-R Interface Design CodeValidation & verification(testing) Documentation

Figure 2: Table of Project Plan

4. Specific Requirement: Software requirements:

o Operating System: Window Xp or highero Platform:.NET(Asp.net )o Database Server: MS SQL Server 2008o Tools: MS Visual Studio 2008o Client: Google Chrome

Hardware Requirements:o Processor: Intel Pentiun or moreo RAM: 512 MBo Hard Disk: 100MP of Free Space

Page 13: Capstone Project Report2013

5. Design:

System Design: Database Design:

o Login Table: This table will contain the user ID, Password of all the user.

Attribute Data type Size Description

User ID Varchar 20 Assign unique ID to new user Password Varchar 20 Users will have password

Figure 3: Login Tableo Sign up Table: This table containing the information which is used for sign

up to acquire a new login Id and password for user account with website.

Attribute Data type Size DescriptionFirst name Varchar 20 User nameLast name Varchar 20 User last nameFathers name Varchar 20 User father’s nameFathers idproof Varchar 20 User father;s ID ProofDOB Int 8 User date of BirthAddress Varchar 50 User permanent addressImage Varchar 30 User image

Figure4: Signup Table

o Passport seva: This table containing the information about service required by user.

Attribute Data type size DescriptionPassport Office Varchar 20 Passport Office for filling

applicationFirst name Varchar 20 User nameLast name Varchar 20 User last nameDOB Int 8 Date id BirthUser ID Varchar 20 User Login IDPassword Varchar 20 User passwordConfirm Varchar 20 Confirm password

Page 14: Capstone Project Report2013

password Figure 5: passport entry Table

E-R Diagram of the project:

USER

UserID

Passwor

Address

Father ID proof

Email

Man-age

Admin

Admin ID

Password

IS A

My Account Detail

User queryUpdation

User Info

Update Profile

Check query

Administrator

Mana-ge

Mana-ge

Database

Update data

Search

Page 15: Capstone Project Report2013

Figure6: E-R Diagram

Flowchart:

User module:o User will enter user ID and password.o If his login is validated, he will enter into his account to carry out the

activities.o If login fails, he will have re-enter his credential again.

NO

YES

Displays

Start

Login

(Enter id and password)

ID and password

Valid

Account

Page 16: Capstone Project Report2013

Figure 7: User module Flowchart

Administrator Module:o Administrator will enter his login Id and password.o If login is validated, he will enter into in account and supervise the function

of user account and updation done by his.o If login fails, he again has to enter the credentials.

NO

YES

End

Start

Login

(enter Id and password)

Id and password

valid

Supervises the updation

End

Page 17: Capstone Project Report2013

Figure8: Administrator module Flowchart

6. Technology/Domain/Tool:

INTRODUCTION OF .NET FRAMEWORK- Microsoft .NET Framework (pronounced dot net) is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages. Programs written for .NET Framework execute in a software environment (as contrasted to hardware environment), known as the Common Language Runtime (CLR), an application virtual machine that provides services such as security, memory management, and exception handling. The class library and the CLR together constitute .NET Framework. Microsoft .NET Framework's Base Class Library provides user interface, data access, database connectivity, cryptography, web application development, numeric algorithms, and network communications. Programmers produce software by combining their own source code with .NET Framework and other libraries.

CIL AND JIT:-When we compile code that uses the .NET framework, we don’t immediately create operating system specific native code. Instead we compile our code in common intermediate language (CIL or MISL) code or Microsoft immediate language .This code is not specific to nay operating system(OS) or any particular language such as C,C# or VBB. Other .NET language such as C++ or Visual Basic also compiles the code of this language as the first stage. This step is carried out by VS when we develop a c# application.The next step is to convert the intermediate language to the native code that can be understood by the operating system. This is the job of Just in Time compiler (JIT) which compiles CLI into native code that is specific to OS and machine architecture being targeted. This native code can be executed by OS. The JIT compiles the CLI code only when it is needed. This compilation can happen when the application is running. Several JIT compiler exist, each targeting a different architecture, and the CLR uses the appropriate one to create a native code. This reduce a lot of the work on the programmer site.

ASSEMBLIES-

Page 18: Capstone Project Report2013

When a code return using .net framework is compiled,CLI code is sorted in a assembly.Assembly include both executable file that we can run directly from windows without the need of any other program and libraraies for use by any othe application. Assemblies also contain meta information(information about information contained in assembly)and optional resources.This make tha assemblies to be fully self descriptive.

GARBAGE COLLECTOR- One of the most important features of managed code is the concept of garbage collectoion.This is .net method of making sure that the memory used by the applications is freed up completely when tha application is no longer in use.The .NET garbage collector works by peridiocally inspecting the memory of computer and removing anything from it that is no longer needed.There is a no set frame for this,it might happen because thousand times in a second or once few seconds

.

SQL Server 2008:Microsoft SQL Server 2008 is a set of components that work together to meet the data storage and analysis need to the largest Web sites and enterprise data processing system. The topics in SQL Server Architecture describe how the various components work together to manage data effectively.

Features of SQL Server 2008:

o Transparent Database Encryption: The ability to encrypt an entire database without having to change any code in your application adding an additional layer to your data security.

o 2) Filestream Data: being able to store binary large objects out on the file system while still being a transactional and recoverable part of the database.

Page 19: Capstone Project Report2013

o 3) Policy Based Management: the ability to manage multiple servers from a central set of policies (previously named the Declarative Management Framework).

o 4) Multi-Server Queries: being able to submit a batch of queries against multiple servers simultaneously.

o 5) SSMS Debug: the ability to debug any Transact-SQL within SSMS using breakpoints etc.

o 6). Enhanced Database Mirroring: including better reliability and performance with automatic data page repair.

o 7) Intellisense in SQL Server Management Studio: interactive help as you type giving object names and syntax support similar to Visual Studio

o 8) Change Tracking: the ability to track changes without timestamp columns and triggers.

Page 20: Capstone Project Report2013

7. CODING OF THE PROJECT:

About as:

<%@PageTitle=""Language="C#"MasterPageFile="~/

MasterPage.master"AutoEventWireup="true"CodeFile="Aboutus.aspx.cs"Inherits="Aboutus

"%>

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

</asp:Content>

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

<divid="content"style="width:869px; height:400px;">

<h1> About Consular, Passport and Visa Division (CPV)</h1>

<pstyle="height: 347px; width: 773px;">

The Consular, Passport and Visa (CPV) Division of the Ministry of External Affairs,

Government of India provides passport services through Central Passport Organization

(CPO)

and its network of Passport Offices and Passport Seva Kendras; and consular,

visa and passport services to overseas Indians/foreign nationals through

the Indian Missions and Posts abroad.

<br/>

<br/>

Indian passports are issued through a network of 37 Passport Offices,

CPV Division (only Diplomatic and Official passports) and the Andaman

and Nicobar Islands Administration. This network has been expanded by

adding 77 Passport Seva Kendras as extended arms of Passport Offices.

For Indians living abroad, passport and other miscellaneous services

are rendered by 180 Indian Missions/Posts. All Passport Offices issue

machine-readable passports as per the guidelines laid down by the

International Civil Aviation Organization.

<br/>

Page 21: Capstone Project Report2013

<br/>

The Central Passport Organization was created in 1959 as a subordinate

office of the Ministry of External Affairs and is headed by Joint

Secretary and Chief Passport Officer, who also acts as Appellate

Authority under the Passports Act, 1967 and the Head of Department

under the Delegation of Financial Powers Rules 1978. Joint Secretary

(Consular) is responsible for consular affairs whereas Joint Secretary

(PV) is entrusted with visa matters. The Division works under the

supervision of Additional Secretary (CPV).

</p>

</div>

</asp:Content>

Masterpage:

<

%

@MasterLanguage="C#"AutoEventWireup="true"CodeFile="MasterPage.master.cs"Inherits

="MasterPage"%>

<!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>GOVERMEMT OF INDIA</title>

<asp:ContentPlaceHolderid="head"runat="server">

</asp:ContentPlaceHolder>

<styletype="text/css">

.style1

Page 22: Capstone Project Report2013

{

width: 100%;

height: 31px;

}

#emblem

{

width: 1301px;

}

.style6

{

width: 138px;

}

#emblemAndheader

{

width: 1297px;

}

.style17

{

height: 26px;

width: 776px;

}

.style21

{

width: 213px;

height: 44px;

}

.style22

{

width: 302px;

}

.style23

{

width: 404px;

}

Page 23: Capstone Project Report2013

.style24

{

width: 369px;

}

.style25

{

width: 302px;

height: 43px;

}

.style26

{

width: 369px;

height: 43px;

}

.style27

{

width: 404px;

height: 43px;

}

#form1

{

width: 1298px;

height: 1095px;

}

.style30

{

width: 147px;

}

.style35

{

width: 146px;

}

.style36

{

Page 24: Capstone Project Report2013

width: 149px;

}

.style37

{

width: 135px;

}

.style38

{

width: 126px;

}

</style>

</head>

<bodystyle="height: 1100px; width: 1351px; margin-top:0px;"

>

<formid="form1"runat="server">

<divid="newdiv"

style="width:1352px; height:1100px; background-color: #CCFF99;">

<divid="bodyImage"

style="border-style: outset; width:1000px; margin-left:175px; margin-right:150px;

height:1100px; background-color:#333300">

<divid="emblem"

style="width:221px; height:201px; margin-left:0px; margin-top:0px; background-image:

url('/userinterface/images/images%20(8).jpg');">

<divid="emblemAndheader"style="width:776px; height:205px; padding:0px; margin-

top:0px; background-color:#FFFFFF; margin-left:221px; margin-right:150px; margin-top:

0px;"

>

Page 25: Capstone Project Report2013

<h1style="background-color:transparent; margin-top:0px; margin-left:250px; font-family:

'Cooper Black'; font-size: xx-large; font-style: italic; font-variant: normal; text-transform:

uppercase; width: 499px; height: 197px; background-image:

url('/userinterface/images/77.jpg');">GOVERMENT OF INDIA </h1>

</div>

</div>

<divid="menu"

style="background-color:Black; margin-left:0px; margin-top:0px; margin-right:150px; width:

996px;">

<tableclass="style1">

<tr>

<tdalign="center"class="style30"style="background-color:Gray;">

<iframeid="googlebox"src="GoogleBox.htm"frameborder="0"scrolling="no"

style="padding-top:0px; height:29px; width:205px;">

</iframe>

</td>

<tdalign="center"class="style35"style="background-color:Gray;">

<asp:HyperLinkID="HyperLink1"runat="server"ForeColor="White"

NavigateUrl="~/Home.aspx">Home</asp:HyperLink>

</td>

<tdalign="center"class="style6"style="background-color:Gray;">

<asp:LabelID="Label1"runat="server"ForeColor="White">Service</asp:Label>

</td>

<tdalign="center"class="style36"style="background-color:Gray;">

<asp:HyperLinkID="HyperLink2"runat="server"ForeColor="White"NavigateUrl="~/

Aboutus.aspx">About us</asp:HyperLink>

</td>

Page 26: Capstone Project Report2013

<tdalign="center"class="style37"style="background-color:Gray;">

<asp:HyperLinkID="HyperLink3"runat="server"ForeColor="White"NavigateUrl="~/

Blogs.aspx">Blogs</asp:HyperLink>

</td>

<tdalign="center"class="style38"style="background-color:Gray;">

<asp:HyperLinkID="HyperLink4"runat="server"ForeColor="White"NavigateUrl="~/

contactus.aspx">Contact us</asp:HyperLink>

</td>

<tdalign="center"class="style6"style="background-color:Gray;">

<asp:HyperLinkID="HyperLink5"runat="server"ForeColor="White"NavigateUrl="~/

Login.aspx">Login</asp:HyperLink>

</td>

</tr>

</table>

</div>

<divid="maincontent"style=" width:998px; height:638px; margin:0 0 0 0;">

<tablecellpadding="0">

<tr>

<tdclass="style21">

<asp:ButtonID="Button1"runat="server"BackColor="#666666"ForeColor="White"

Text="Passport Offices"Width="219px"Height="44px"BorderWidth="0px"

onclick="Button1_Click"/>

</td>

<tdclass="style17"rowspan="5">

<divid="slider"style="margin-left:0px; width:776px; height:225px; ">

<asp:ScriptManagerID="image"runat="server">

</asp:ScriptManager>

<asp:UpdatePanelID="Updatepanel"runat="server">

<ContentTemplate>

<asp:TimerID="Timer"runat="server"Interval="4000"OnTick="timer_Tick">

</asp:Timer>

<asp:ImageID="imageslide"Height="220px"Width="777px"runat="server"

Page 27: Capstone Project Report2013

style="margin-left: 0px"/>

</ContentTemplate>

</asp:UpdatePanel>

</div>

</td>

</tr>

<tr>

<tdclass="style21">

<asp:ButtonID="Button2"runat="server"Width="219px"Height="44px"

BackColor="#666666"Text="State"BorderWidth="0px"ForeColor="White"

onclick="Button2_Click"/>

</td>

</tr>

<tr>

<tdclass="style21">

<asp:ButtonID="Button3"runat="server"Width="219px"Height="44px"

BackColor="#666666"Text="What's New"BorderWidth="0px"

ForeColor="White"onclick="Button3_Click"/>

</td>

</tr>

<tr>

<tdclass="style21">

<asp:ButtonID="Button4"runat="server"Width="219px"Height="44px"

BackColor="#666666"Text="Passport Service"BorderWidth="0px"

ForeColor="White"onclick="Button4_Click"/>

</td>

</tr>

<tr>

<tdclass="style21">

<asp:ButtonID="Button5"runat="server"Width="219px"Height="44px"

Page 28: Capstone Project Report2013

BackColor="#666666"Text=" Govt Jobs"BorderWidth="0px"

ForeColor="White"/>

</td>

</tr>

</table>

<divid="updatecontent"

style="width:776px; height:206px; margin-top:0px; margin-left:221px">

<asp:ContentPlaceHolderid="ContentPlaceHolder1"runat="server">

</asp:ContentPlaceHolder>

</div>

</div>

<div ="madecontent"

style="width:998px; margin-top:0px; margin-left:0px; margin-right:150px; height:214px;

background-color:#6600CC">

<tableclass="style1"style="height: 224px">

<tr>

<tdclass="style25"align="center">

<asp:HyperLinkID="HyperLink6"runat="server"ForeColor="White">Home</

asp:HyperLink>

</td>

<tdclass="style26"align="center">

<asp:LabelID="Label2"runat="server"ForeColor="White"

Text="Legal information"></asp:Label>

</td>

Page 29: Capstone Project Report2013

<tdclass="style27"align="center">

<asp:HyperLinkID="HyperLink10"runat="server"ForeColor="White">visa

services</asp:HyperLink>

</td>

<tdclass="style27"align="center">

<asp:HyperLinkID="HyperLink17"runat="server"ForeColor="White">Overseas ondian

Affairs </asp:HyperLink>

</td>

</tr>

<tr>

<tdclass="style22"align="center">

<asp:HyperLinkID="HyperLink7"runat="server"ForeColor="White">AboutUs</

asp:HyperLink>

</td>

<tdclass="style24"align="center">

<asp:HyperLinkID="HyperLink11"runat="server"ForeColor="White">Term &amp;

Condition</asp:HyperLink>

</td>

<tdclass="style23"align="center">

<asp:HyperLinkID="HyperLink14"runat="server"ForeColor="White">HyperLink

Policy</asp:HyperLink>

</td>

<tdclass="style23"align="center">

<asp:HyperLinkID="HyperLink18"runat="server"ForeColor="White">Foreigners

Division</asp:HyperLink>

</td>

</tr>

<tr>

<tdclass="style22"align="center">

<asp:HyperLinkID="HyperLink8"runat="server"ForeColor="White">Passport

offices</asp:HyperLink>

</td>

<tdclass="style24"align="center">

Page 30: Capstone Project Report2013

<asp:HyperLinkID="HyperLink12"runat="server"ForeColor="White">Privacy

Policy</asp:HyperLink>

</td>

<tdclass="style23"align="center">

<asp:HyperLinkID="HyperLink15"runat="server"ForeColor="White">Ministry of External

Affairs</asp:HyperLink>

</td>

<tdclass="style23"align="center">

<asp:HyperLinkID="HyperLink19"runat="server"ForeColor="White">Election Commission

Of India</asp:HyperLink>

</td>

</tr>

<tr>

<tdclass="style22"align="center">

<asp:HyperLinkID="HyperLink9"runat="server"ForeColor="White">consulor

services</asp:HyperLink>

</td>

<tdclass="style24"align="center">

<asp:HyperLinkID="HyperLink13"runat="server"ForeColor="White">Copyright

Policy</asp:HyperLink>

</td>

<tdclass="style23"align="center">

<asp:HyperLinkID="HyperLink16"runat="server"ForeColor="White">National Portal Of

India</asp:HyperLink>

</td>

<tdclass="style23"align="center">

<asp:HyperLinkID="HyperLink20"runat="server"ForeColor="White">Help</

asp:HyperLink>

</td>

</tr>

</table>

</div>

Page 31: Capstone Project Report2013

</div>

</div>

</form>

</body>

</html>

Logindata:

<

%

@PageLanguage="C#"AutoEventWireup="true"CodeFile="logindata.aspx.cs"Inherits="logi

ndata"%>

<!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></title>

</head>

<body>

<formid="form1"runat="server">

<divid="logindata"style=" width:1271px; height:900px; ">

<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"

DataSourceID="SqlDataSource1"

Page 32: Capstone Project Report2013

EmptyDataText="There are no data records to display.">

<Columns>

<asp:BoundFieldDataField="Image"HeaderText="Image"SortExpression="Image"/>

<asp:BoundFieldDataField="UserID"HeaderText="UserID"

SortExpression="UserID"/>

</Columns>

</asp:GridView>

<asp:SqlDataSourceID="SqlDataSource1"runat="server"

ConnectionString="<%$ ConnectionStrings:sign_upConnectionString %>"

SelectCommand="SELECT [Image], [UserID] FROM [UserImage1]">

</asp:SqlDataSource>

</div>

</form>

</body>

</html>

Login page:

<

%

@PageLanguage="C#"AutoEventWireup="true"CodeFile="Login.aspx.cs"Inherits="Login"

%>

<!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">

Page 33: Capstone Project Report2013

<title></title>

</head>

<bodystyle=" height: 1000px; background-color:Gray; width: 1237px; margin-top: 0px;"

>

<formid="form1"runat="server">

<divid="loginpage"

style="margin-left:400px;

margin-top:200px; margin-right:400px; margin-bottom:0px; width:100px; height: 100px;">

<h1style="margin-left: 21px; margin-right: 100px; margin-bottom: 0px; width:

431px">Welcome To The Login page</h1>

</div>

<divid="logindata"

style=" margin-left:400px; margin-top:0px; width:438px; height:200px; background-image:

url('images/images (39).jpg');">

<tableclass="style1"style="width:438px; height:63;">

<tr>

<tdalign="center"class="style11">

<asp:LabelID="Label1"runat="server"ForeColor="White"Text="Username"></asp:Label>

</td>

<tdclass="style12">

<asp:TextBoxID="TextBox1"runat="server"Height="31px"Width="271px"></asp:TextBox>

</td>

</tr>

<tr>

<tdalign="center"class="style13">

<asp:LabelID="Label2"runat="server"ForeColor="White"Text="Password"></asp:Label>

</td>

<tdclass="style14">

<asp:TextBoxID="TextBox2"runat="server"Height="31px"TextMode="Password"

Width="270px"></asp:TextBox>

<br/>

</td>

Page 34: Capstone Project Report2013

</tr>

</table>

<divid="enterbutton"style=" margin-left:50px; margin-top:10px; margin-right:50;">

<asp:ButtonID="Button1"Font-Italic="true"runat="server"ForeColor="Black"

Text="Enter"Height="34px"Width="138px"onclick="Button1_Click"/>

<h2style="width: 300px; color:white;">If Not Login <ahref="Sign_up.aspx">click here

</a></h2>

</div>

</div>

</form>

</body>

</html>

Home page:

<%@PageTitle=""Language="C#"MasterPageFile="~/

MasterPage.master"AutoEventWireup="true"CodeFile="Home.aspx.cs"Inherits="Home"%>

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

<styletype="text/css">

.style23

{

height: 32px;

}

Page 35: Capstone Project Report2013

.style24

{

height: 32px;

width: 225px;

}

</style>

</asp:Content>

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

<divid="homeContent"

style="width:775px; height:223px; margin-left:0px; background-color:White">

<asp:LabelID="Label3"runat="server"BorderColor="#666633"BorderStyle="Solid"

ForeColor="Black"Text="NEW UPDATE"></asp:Label>

</div>

<divstyle="width:773px; height:177px; margin-left:0px; margin-right:150px">

</div>

Page 36: Capstone Project Report2013

</asp:Content>

Googlebox.htm:::::

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

<title></title>

</head>

<bodystyle="margin-top:0px; padding-top:0px;">

<formid="searchbox_demo"action="http://www.google.com/

GoogleSearch.aspx"target="_top">

<div>

<inputtype="hidden"name="cref"value="www.google.com"/>

<inputtype="hidden"name="ie"value="utf-8"/>

<inputtype="hidden"name="hl"value=""/>

<inputname="q"type="text"size="40"/>

<inputtype="submit"name="sa"value="Search"/>

</div>

</form>

<scripttype="text/javascript"src="https://www.google.com/cse/tools/onthefly?

form=searchbox_demo&lang="></script>

</body>

Page 37: Capstone Project Report2013

</html>

:

Passportdata:

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="~/

Passportdata.aspx.cs"Inherits="Passportdata"%>

<!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></title>

</head>

<body>

<formid="form1"runat="server">

<divid="passportdataAcces"style="width:1300px; height:654px;">

<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"

CellPadding="4"DataKeyNames="loginid"DataSourceID="SqlDataSource1"

EmptyDataText="There are no data records to display."ForeColor="#333333"

GridLines="None"ShowFooter="True"Width="1198px"

>

<AlternatingRowStyleBackColor="White"/>

<Columns>

<asp:TemplateFieldShowHeader="False">

<EditItemTemplate>

Page 38: Capstone Project Report2013

<asp:LinkButtonID="LinkButton1"runat="server"CausesValidation="True"

CommandName="Update"Text="Update"></asp:LinkButton>

&nbsp;<asp:LinkButtonID="LinkButton2"runat="server"CausesValidation="False"

CommandName="Cancel"Text="Cancel"></asp:LinkButton>

</EditItemTemplate>

<ItemTemplate>

<asp:LinkButtonID="LinkButton1"runat="server"CausesValidation="False"

CommandName="Edit"Text="Edit"></asp:LinkButton>

&nbsp;<asp:LinkButtonID="LinkButton2"runat="server"CausesValidation="False"

CommandName="Delete"Text="Delete"></asp:LinkButton>

</ItemTemplate>

<FooterTemplate>

<asp:LinkButtonID="lbinsert"ValidationGroup="INSERT"runat="server">Insert</

asp:LinkButton>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="firstname"SortExpression="firstname">

<EditItemTemplate>

<asp:TextBoxID="TextBox1"runat="server"Text='<%# Bind("firstname")

%>'></asp:TextBox>

<asp:RequiredFieldValidatorid="rfveditname"runat="server"ErrorMessage="name is

required field"ControlToValidate="TextBox1"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label1"runat="server"Text='<%# Bind("firstname") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="Textfirstname"runat="server"></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvinsertname"ValidationGroup="INSERT"runat="server"E

rrorMessage="name is required

field"ControlToValidate="Textfirstname"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

Page 39: Capstone Project Report2013

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="lastname"SortExpression="lastname">

<EditItemTemplate>

<asp:TextBoxID="TextBox2"runat="server"Text='<%# Bind("lastname")

%>'></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvedilast"runat="server"ErrorMessage="lastname is

required field"ControlToValidate="TextBox2"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label2"runat="server"Text='<%# Bind("lastname") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="Textlastname"runat="server"></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvinsertlast"ValidationGroup="INSERT"runat="server"Err

orMessage="name is required

field"ControlToValidate="Textlastname"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="passportoffice"SortExpression="passportoffice">

<EditItemTemplate>

<asp:DropDownListID="DropDownList1"runat="server">

<asp:ListItem>Delhi</asp:ListItem>

<asp:ListItem>Jalandhar</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

Page 40: Capstone Project Report2013

<asp:RequiredFieldValidatorid="rfvieditpassportoffice"runat="server"ErrorMessage="passp

ortoffice is required field"ControlToValidate="DropDownList1"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label3"runat="server"Text='<%# Bind("passportoffice") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:DropDownListID="DDDropDownList1"runat="server">

<asp:ListItem>Delhi</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

<asp:RequiredFieldValidatorid="rfviinsertpassportoffice"ValidationGroup="INSERT"runat=

"server"ErrorMessage="passportoffice is required

field"ControlToValidate="DDDropDownList1"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="dob"SortExpression="dob">

<EditItemTemplate>

<asp:TextBoxID="TextBox3"runat="server"Text='<%# Bind("dob") %>'></asp:TextBox>

<asp:RequiredFieldValidatorid="rfveditdob"runat="server"ErrorMessage="DOB is required

field"ControlToValidate="TextBox3"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

Page 41: Capstone Project Report2013

<ItemTemplate>

<asp:LabelID="Label4"runat="server"Text='<%# Bind("dob") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="Textdob"runat="server"></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvinsertdob"runat="server"ValidationGroup="INSERT"Err

orMessage="DOB is required

field"ControlToValidate="Textdob"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="loginid"SortExpression="loginid">

<EditItemTemplate>

<asp:TextBoxID="Textbox4"runat="server"Text='<%# Bind("loginid")

%>'></asp:TextBox>

<asp:RequiredFieldValidatorid="rfveditloginid"runat="server"ErrorMessage="LoginId is

required field"ControlToValidate="Textbox4"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label5"runat="server"Text='<%# Bind("loginid") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="Textloginid"runat="server"></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvinsertloginid"runat="server"ValidationGroup="INSERT"

ErrorMessage="LoginId is required

field"ControlToValidate="Textloginid"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</FooterTemplate>

</asp:TemplateField>

Page 42: Capstone Project Report2013

<asp:TemplateFieldHeaderText="password"SortExpression="password">

<EditItemTemplate>

<asp:TextBoxID="TextBox5"runat="server"Text='<%# Bind("password")

%>'></asp:TextBox>

<asp:RequiredFieldValidatorid="rfveditpassword"runat="server"ErrorMessage="password is

required field"ControlToValidate="TextBox5"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label6"runat="server"Text='<%# Bind("password") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="Textpassword"runat="server"></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvinsertpassword"runat="server"ValidationGroup="INSER

T"ErrorMessage="name is required

field"ControlToValidate="Textpassword"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="emailid"SortExpression="emailid">

<EditItemTemplate>

<asp:TextBoxID="TextBox6"runat="server"Text='<%# Bind("emailid")

%>'></asp:TextBox>

<asp:RequiredFieldValidatorid="rfveditemail"runat="server"ErrorMessage="Email_Id is

required field"ControlToValidate="TextBox6"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label7"runat="server"Text='<%# Bind("emailid") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

Page 43: Capstone Project Report2013

<asp:TextBoxID="Textemail"runat="server"></asp:TextBox>

<asp:RequiredFieldValidatorid="rfvinsertemailid"runat="server"ValidationGroup="INSERT

"ErrorMessage="Email_id is required

field"ControlToValidate="Textemail"Text="*"ForeColor="Red">

</asp:RequiredFieldValidator>

</FooterTemplate>

</asp:TemplateField>

</Columns>

<FooterStyleBackColor="#990000"Font-Bold="True"ForeColor="White"/>

<HeaderStyleBackColor="#990000"Font-Bold="True"ForeColor="White"/>

<PagerStyleBackColor="#FFCC66"ForeColor="#333333"HorizontalAlign="Center"/>

<RowStyleBackColor="#FFFBD6"ForeColor="#333333"/>

<SelectedRowStyleBackColor="#FFCC66"Font-Bold="True"ForeColor="Navy"/>

<SortedAscendingCellStyleBackColor="#FDF5AC"/>

<SortedAscendingHeaderStyleBackColor="#4D0000"/>

<SortedDescendingCellStyleBackColor="#FCF6C0"/>

<SortedDescendingHeaderStyleBackColor="#820000"/>

</asp:GridView>

<asp:ValidationSummaryID="ValidationSummary1"ValidationGroup="INSERT"ForeColor

="red"runat="server"/>

<asp:ValidationSummaryID="ValidationSummary2"ForeColor="red"runat="server"/>

<br/>

<asp:SqlDataSourceID="SqlDataSource1"runat="server"

ConnectionString="<%$ ConnectionStrings:sign_upConnectionString %>"

DeleteCommand="DELETE FROM [passportdata] WHERE [loginid] = @loginid"

InsertCommand="INSERT INTO [passportdata] ([firstname], [lastname], [passportoffice],

[dob], [loginid], [password], [emailid]) VALUES (@firstname, @lastname, @passportoffice,

@dob, @loginid, @password, @emailid)"

SelectCommand="SELECT [firstname], [lastname], [passportoffice], [dob], [loginid],

[password], [emailid] FROM [passportdata]"

Page 44: Capstone Project Report2013

UpdateCommand="UPDATE [passportdata] SET [firstname] = @firstname, [lastname] =

@lastname, [passportoffice] = @passportoffice, [dob] = @dob, [password] = @password,

[emailid] = @emailid WHERE [loginid] = @loginid">

<DeleteParameters>

<asp:ParameterName="loginid"Type="String"/>

</DeleteParameters>

<InsertParameters>

<asp:ParameterName="firstname"Type="String"/>

<asp:ParameterName="lastname"Type="String"/>

<asp:ParameterName="passportoffice"Type="String"/>

<asp:ParameterDbType="Date"Name="dob"/>

<asp:ParameterName="loginid"Type="String"/>

<asp:ParameterName="password"Type="String"/>

<asp:ParameterName="emailid"Type="String"/>

</InsertParameters>

<UpdateParameters>

<asp:ParameterName="firstname"Type="String"/>

<asp:ParameterName="lastname"Type="String"/>

<asp:ParameterName="passportoffice"Type="String"/>

<asp:ParameterDbType="Date"Name="dob"/>

<asp:ParameterName="password"Type="String"/>

<asp:ParameterName="emailid"Type="String"/>

<asp:ParameterName="loginid"Type="String"/>

</UpdateParameters>

</asp:SqlDataSource>

<divstyle="width:100px; height:50px; margin-left:500px;">

<asp:ButtonID="Button1"runat="server"PostBackUrl="~/admin.aspx"Text="Back"

Width="98px"Height="36px"/>

</div>

</div>

Page 45: Capstone Project Report2013

</form>

</body>

</html>

Passportoffices:

<%@PageTitle=""Language="C#"MasterPageFile="~/

MasterPage.master"AutoEventWireup="true"CodeFile="PassportOffices.aspx.cs"Inherits="P

assportOffices"%>

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

</asp:Content>

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

<divstyle="width:866px; height:399px; ">

<h1>Passport Offices in India</h1>

<pstyle="height: 308px; margin-top:30px">

1)Ahmedabad&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs

p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

2)

Coimbatore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

3)Kolkata&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&

nbsp;&nbsp;

4)Ranchi

Page 46: Capstone Project Report2013

<br/>

4)Amritsar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&

nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

5)Dehradun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;

6) Kozhikode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

8)Shimla

<br/>

9)Andaman & Nicobar&nbsp;&nbsp;&nbsp;

10)Delhi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n

bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

11)&nbsp;

Lucknow&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

12)Srinagar

<br/>

13)Bangalore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

14)Ghaziabad&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

15)

Madurai&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

16) Surat

<br/>

17)Bareilly&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

Page 47: Capstone Project Report2013

18)Goa&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs

p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

19)Malappuram&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20)Thane

<br/>

21)Bhopal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&

nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

22)Guwahati&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

;

23)Mumbai&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;

24)Trichy

<br/>

25)Bhubaneswar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n

bsp;&nbsp;&nbsp;&nbsp;&nbsp;

26)Hyderabad&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27)

Nagpur&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

28)Trivandrum

<br/>

29)Chandigarh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb

sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

30)Jaipur&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n

bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

31)

Patna&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;

Page 48: Capstone Project Report2013

32)Visakhapatnam

<br/>

33)Chennai&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

34)Jalandhar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;

35)Pune&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb

sp;&nbsp;&nbsp;&nbsp;

36)Cochin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<br/>

37)Jammu&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;

38)Raipur

</p>

</div>

</asp:Content>

Passport seva:

Page 49: Capstone Project Report2013

<

%

@PageLanguage="C#"AutoEventWireup="true"CodeFile="PassportSeva.aspx.cs"Inherits="

PassportSeva"%>

<!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></title>

<styletype="text/css">

.style1

{

width: 54%;

height: 418px;

}

.style2

{

width: 190px;

}

.style3

{

width: 190px;

height: 63px;

}

.style4

{

height: 63px;

}

.style5

{

width: 190px;

height: 48px;

Page 50: Capstone Project Report2013

}

.style6

{

height: 48px;

}

</style>

</head>

<bodystyle="width:1300px; height:1000px;"

bgcolor="#666633">

<formid="form1"runat="server">

<divid="header"style="width:1000px; background-color:White; height:1000px; margin-

left:150px; margin-right:150px">

<divid="image"

style="width:161px; height:194px; background-image: url('images/p1.png');">

<h1style="width: 266px; margin-left:184px; height:48px; margin-top:20px; font-family:

'Arial Black'; font-size: xx-large; font-weight: bold; font-style: normal; color: #660033;">

Passport Seva </h1>

<h2style=" width:346px; color: #660033; margin-left:184px; height:37px; margin-

top:0px;">Consular,Passport & Division</h2>

<h2style="width:534px; color: #660033; margin-left:184px; height:46px; margin-top:0px">

Ministry of External Affairs, Government of India </h2>

</div>

<divid="line"

style=" width:996px; height:14px; background-color:#000000; margin-left:0px;">

</div>

<divid="buton"style="width:165px; height:35px; margin-left:0px;"align="center">

<asp:ButtonID="Button1"runat="server"ForeColor="Black"Height="28px"

style="margin-left: 0px"Text="Home"Width="152px"

onclick="Button1_Click"/>

</div>

Page 51: Capstone Project Report2013

<divid="userregistration"

style="width:359px; height:40px; margin-left:200px; margin-top:30px;">

<h1style="font-family: Arial, Helvetica, sans-serif; font-size: xx-large; font-weight: bold;

font-style: normal; color: #000099">User Registration</h1>

</div>

<divid="**"style="width:500px; margin-left:150px">

<h1style="width: 481px">***************************</h1>

</div>

<divid="passportfield"style="width:825px; height:415px; margin-left:100px;">

<tableclass="style1">

<tr>

<tdclass="style3">

<asp:LabelID="Label1"runat="server"Text="Passport Office*"></asp:Label>

</td>

<tdclass="style4">

<asp:DropDownListID="DropDownList1"runat="server"Height="41px"Width="234px">

<asp:ListItem>Delhi</asp:ListItem>

<asp:ListItem> Jalandhar</asp:ListItem>

<asp:ListItem>Jammu</asp:ListItem>

<asp:ListItem>Bhopal</asp:ListItem>

<asp:ListItem>chennai</asp:ListItem>

</asp:DropDownList>

</td>

</tr>

<tr>

<tdclass="style5">

<asp:LabelID="Label2"runat="server"Text="Firstname"></asp:Label>

</td>

<tdclass="style6">

<asp:TextBoxID="TextBox1"runat="server"Height="31px"Width="231px"></asp:TextBox>

</td>

Page 52: Capstone Project Report2013

</tr>

<tr>

<tdclass="style2">

<asp:LabelID="Label3"runat="server"Text="Lastname"></asp:Label>

</td>

<td>

<asp:TextBoxID="TextBox2"runat="server"Height="29px"Width="228px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style2">

<asp:LabelID="Label4"runat="server"Text="Date Of Birth(dd/mm/yyyy)*"></asp:Label>

</td>

<td>

<asp:TextBoxID="TextBox3"runat="server"Height="34px"Width="229px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style2">

<asp:LabelID="Label5"runat="server"Text="Login Id*"></asp:Label>

</td>

<td>

<asp:TextBoxID="TextBox4"runat="server"Height="31px"Width="231px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style2">

<asp:LabelID="Label6"runat="server"Text="Password*"></asp:Label>

</td>

<tdstyle="margin-left: 80px">

<asp:TextBoxID="TextBox5"runat="server"Height="32px"TextMode="Password"

Width="231px"></asp:TextBox>

Page 53: Capstone Project Report2013

</td>

</tr>

<tr>

<tdclass="style2">

<asp:LabelID="Label7"runat="server"Text="Confirm Password*"></asp:Label>

</td>

<td>

<asp:TextBoxID="TextBox6"runat="server"Height="31px"TextMode="Password"

Width="226px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style2">

<asp:LabelID="Label8"runat="server"Text="E-mail Id *"></asp:Label>

</td>

<td>

<asp:TextBoxID="TextBox7"runat="server"Height="38px"Width="229px"

TextMode="MultiLine"></asp:TextBox>

</td>

</tr>

</table>

</div>

<divid="line2"style="width:1000px; margin-top:30px; height:2px; background-

color:Black;"></div>

<divid="summit"

style="width:143px; height:38px; margin-left:556px; margin-top: 63px;">

<asp:ButtonID="Button2"runat="server"BackColor="#000066"ForeColor="White"

Height="38px"Text="Register"Width="144px"onclick="Button2_Click"/>

</div>

</div>

</form>

</body>

Page 54: Capstone Project Report2013

</html>

Sign_up:

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="~/

Sign_up.aspx.cs"Inherits="Sign_up"%>

<!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></title>

<styletype="text/css">

.style1

{

height: 27px;

}

.style2

{

height: 33px;

}

.style3

{

height: 32px;

}

</style>

</head>

<bodystyle="width:1300px; height:1000px; background-color:#006600; margin-left:0px;

margin-top:0px; margin-right:0px; border-style:hidden; border-color:Black">

Page 55: Capstone Project Report2013

<formid="form1"runat="server"

style=" margin-top: 0px;">

<divid="maim"style="width:1000px; margin-left:150px; margin-right:150px; margin-

top:0px; height:1000px; background-color: #9900CC;">

<divid="emblem"

style="background-image: url('images/download%20(4).jpg'); width: 342px; height:223px;

background-color: #FFFFFF;">

<h1style="width:803px; margin-top:30px; font-family: Aharoni; margin-left:342px; font-

size: xx-large; font-style: italic; color: #000000; height: 195px;">Welcome To The Sign_Up

Page</h1>

</div>

<divid="sign_up"

style="width:504px; height:397px; background-color:#FFFFFF; margin-left:342px; margin-

top:0px; margin-right:300px; border-style:hidden; border-color:Black">

<tablecellpadding="2"style="border-collapse:collapse; border-style:hidden"

class="style1">

Page 56: Capstone Project Report2013

<tr>

<tdclass="style5">

<asp:LabelID="Label1"runat="server"ForeColor="Black"Text="First Name"></asp:Label>

</td>

<tdclass="style4"colspan="4">

<asp:TextBoxID="TextBox1"runat="server"Height="36px"Width="253px"

ontextchanged="TextBox1_TextChanged">enter firstname</asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style5">

<asp:LabelID="Label2"runat="server"ForeColor="Black"Text="Last Name"></asp:Label>

</td>

<tdclass="style4"colspan="4">

<asp:TextBoxID="TextBox2"runat="server"Height="36px"Width="252px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style5">

<asp:LabelID="Label3"runat="server"ForeColor="Black"Text="Fathers

Name"></asp:Label>

</td>

<tdclass="style4"colspan="4">

<asp:TextBoxID="TextBox3"runat="server"Height="35px"Width="251px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style5">

<asp:LabelID="Label4"runat="server"ForeColor="Black"

Text="Fathers Identity Proof"></asp:Label>

</td>

<tdclass="style4"colspan="4">

<asp:TextBoxID="TextBox4"runat="server"Height="35px"Width="252px"></asp:TextBox>

</td>

Page 57: Capstone Project Report2013

</tr>

<tr>

<tdclass="style5">

<asp:LabelID="Label5"runat="server"ForeColor="Black"Text="DOB"></asp:Label>

</td>

<tdclass="style6">

<asp:DropDownListID="DropDownList1"runat="server">

<asp:ListItem>Month</asp:ListItem>

<asp:ListItemValue="1">Jan</asp:ListItem>

<asp:ListItemValue="2">Feb</asp:ListItem>

<asp:ListItemValue="3">Mar</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

</td>

<tdclass="style11">

<asp:DropDownListID="DropDownList2"runat="server">

<asp:ListItem>Day</asp:ListItem>

<asp:ListItemValue="1">1</asp:ListItem>

<asp:ListItemValue="2">2</asp:ListItem>

<asp:ListItemValue="3">3</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

</td>

<tdclass="style10">

<asp:DropDownListID="DropDownList3"runat="server">

<asp:ListItem>Year</asp:ListItem>

<asp:ListItemValue="2013">2013</asp:ListItem>

<asp:ListItemValue="2012">2012</asp:ListItem>

<asp:ListItemValue="2011">2011</asp:ListItem>

<asp:ListItemValue="2010">2010</asp:ListItem>

<asp:ListItemValue="2009">2009</asp:ListItem>

<asp:ListItemValue="2008">2008</asp:ListItem>

Page 58: Capstone Project Report2013

<asp:ListItemValue="2007">2007</asp:ListItem>

<asp:ListItemValue="2006">2006</asp:ListItem>

<asp:ListItemValue="2005">2005</asp:ListItem>

<asp:ListItemValue="2004">2004</asp:ListItem>

<asp:ListItemValue="2003">2003</asp:ListItem>

<asp:ListItemValue="2002">2002</asp:ListItem>

<asp:ListItemValue="2001">2001</asp:ListItem>

<asp:ListItemValue="2000">2000</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

</td>

<tdclass="style7">

&nbsp;</td>

</tr>

<tr>

<tdclass="style5">

<asp:LabelID="Label6"runat="server"ForeColor="Black"Text="Address"></asp:Label>

</td>

<tdclass="style4"colspan="4">

<asp:TextBoxID="TextBox8"runat="server"Height="32px"Width="259px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style8">

<asp:LabelID="Label7"runat="server"ForeColor="Black"

Text="PassportSizePhoto"></asp:Label>

</td>

<tdclass="style9"align="center"colspan="4">

<asp:FileUploadID="FileUpload1"runat="server"Height="44px"Width="238px"/>

</td>

</tr>

<tr>

<tdclass="style2">

Page 59: Capstone Project Report2013

<asp:LabelID="Label8"runat="server"Text="UserID"></asp:Label>

</td>

<tdclass="style2"align="center"colspan="4">

<asp:TextBoxID="TextBox9"runat="server"style="margin-left: 0px"

Width="239px"></asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style3">

<asp:LabelID="Label9"runat="server"Text="Password"></asp:Label>

</td>

<tdclass="style3"align="center"colspan="4">

<asp:TextBoxID="TextBox10"runat="server"TextMode="Password"Width="239px"></

asp:TextBox>

</td>

</tr>

<tr>

<tdclass="style8">

&nbsp;</td>

<tdclass="style9"align="center"colspan="4">

<asp:ButtonID="Button2"runat="server"Text="Summit"Width="121px"

onclick="Button2_Click"/>

</td>

</tr>

<tr>

<tdclass="style8">

&nbsp;</td>

<tdclass="style9"align="center"colspan="4">

&nbsp;</td>

</tr>

</table>

</div>

<divid="back"style=" width:178px; height:42px; margin-left:500px; margin-top:50px;">

<asp:ButtonID="Button3"runat="server"ForeColor="Black"

Page 60: Capstone Project Report2013

onclick="Button3_Click"Text="BACK TO HOME"Width="166px"/>

</div>

</div>

</form>

</body>

</html>

Sign_updata:

<

%

@PageLanguage="C#"AutoEventWireup="true"CodeFile="signupdata.aspx.cs"Inherits="sig

nupdata"%>

<!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></title>

</head>

<body>

<formid="form1"runat="server">

<divid="heading"style="width:500px; margin-left:150px; height:50px">

<h1style=" color:Black; height: 50px;">

SIGNUP DATABASE</h1>

</div>

<divid="signupdata"

style="width:1166px; height:1000; margin-top:80px; margin-left:20px">

Page 61: Capstone Project Report2013

<asp:GridViewID="GridView2"runat="server"AutoGenerateColumns="False"

DataKeyNames="UserID"DataSourceID="SqlDataSource1"

EmptyDataText="There are no data records to display."Width="694px"

ShowFooter="True"CellPadding="4"ForeColor="#333333"GridLines="None"

Height="238px">

<AlternatingRowStyleBackColor="White"/>

<Columns>

<asp:CommandFieldShowDeleteButton="True"ShowEditButton="True"/>

<asp:TemplateFieldHeaderText="FirstName"SortExpression="FirstName">

<EditItemTemplate>

<asp:TextBoxID="TextBox1"runat="server"Text='<%# Bind("FirstName")

%>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label1"runat="server"Text='<%# Bind("FirstName") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtFirstname"runat="server"></asp:TextBox>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="LastName"SortExpression="LastName">

<EditItemTemplate>

<asp:TextBoxID="TextBox2"runat="server"Text='<%# Bind("LastName")

%>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label2"runat="server"Text='<%# Bind("LastName") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtLastname"runat="server"></asp:TextBox>

</FooterTemplate>

Page 62: Capstone Project Report2013

</asp:TemplateField>

<asp:TemplateFieldHeaderText="FathersName"SortExpression="FathersName">

<EditItemTemplate>

<asp:TextBoxID="TextBox3"runat="server"Text='<%# Bind("FathersName")

%>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label3"runat="server"Text='<%# Bind("FathersName") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtfathersname"runat="server"></asp:TextBox>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="FathersIdProof"SortExpression="FathersIdProof">

<EditItemTemplate>

<asp:TextBoxID="TextBox4"runat="server"Text='<%# Bind("FathersIdProof")

%>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label4"runat="server"Text='<%# Bind("FathersIdProof") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtfathersIdproof"runat="server"></asp:TextBox>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="Month"SortExpression="Month">

<EditItemTemplate>

<asp:DropDownListID="DropDownList1"runat="server">

<asp:ListItem>Month</asp:ListItem>

<asp:ListItem>Jan</asp:ListItem>

<asp:ListItem>Feb</asp:ListItem>

<asp:ListItem>Mar</asp:ListItem>

</asp:DropDownList>

</EditItemTemplate>

Page 63: Capstone Project Report2013

<ItemTemplate>

<asp:LabelID="Label5"runat="server"Text='<%# Bind("Month") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:DropDownListID="DropDownList1"runat="server">

<asp:ListItem>Month</asp:ListItem>

<asp:ListItem>Jan</asp:ListItem>

<asp:ListItem>Feb</asp:ListItem>

<asp:ListItem>Mar</asp:ListItem>

</asp:DropDownList>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="Day"SortExpression="Day">

<EditItemTemplate>

<asp:DropDownListID="DropDownList2"runat="server">

<asp:ListItem>Day</asp:ListItem>

<asp:ListItem>1</asp:ListItem>

<asp:ListItem>2</asp:ListItem>

<asp:ListItem>3</asp:ListItem>

<asp:ListItem>4</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label6"runat="server"Text='<%# Bind("Day") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:DropDownListID="DropDownList2"runat="server">

<asp:ListItem>Day</asp:ListItem>

<asp:ListItem>1</asp:ListItem>

<asp:ListItem>2</asp:ListItem>

<asp:ListItem>3</asp:ListItem>

Page 64: Capstone Project Report2013

<asp:ListItem>4</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="Year"SortExpression="Year">

<EditItemTemplate>

<asp:DropDownListID="DropDownList3"runat="server">

<asp:ListItem>Year</asp:ListItem>

<asp:ListItem>2013</asp:ListItem>

<asp:ListItem>2012</asp:ListItem>

<asp:ListItem>2011</asp:ListItem>

<asp:ListItem>2010</asp:ListItem>

<asp:ListItem>2009</asp:ListItem>

<asp:ListItem>2008</asp:ListItem>

<asp:ListItem>2007</asp:ListItem>

<asp:ListItem>2006</asp:ListItem>

<asp:ListItem>2005</asp:ListItem>

<asp:ListItem>2004</asp:ListItem>

<asp:ListItem>2003</asp:ListItem>

<asp:ListItem>2002</asp:ListItem>

<asp:ListItem>2001</asp:ListItem>

<asp:ListItem>2000</asp:ListItem>

<asp:ListItem></asp:ListItem>

</asp:DropDownList>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label7"runat="server"Text='<%# Bind("Year") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

Page 65: Capstone Project Report2013

<asp:DropDownListID="DropDownList3"runat="server">

<asp:ListItem>Year</asp:ListItem>

<asp:ListItem>2013</asp:ListItem>

<asp:ListItem>2012</asp:ListItem>

<asp:ListItem>2011</asp:ListItem>

<asp:ListItem>2010</asp:ListItem>

<asp:ListItem>2009</asp:ListItem>

<asp:ListItem>2008</asp:ListItem>

<asp:ListItem>2007</asp:ListItem>

<asp:ListItem>2006</asp:ListItem>

<asp:ListItem>2005</asp:ListItem>

<asp:ListItem>2004</asp:ListItem>

<asp:ListItem>2003</asp:ListItem>

<asp:ListItem>2002</asp:ListItem>

<asp:ListItem>2001</asp:ListItem>

<asp:ListItem>2000</asp:ListItem>

</asp:DropDownList>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldHeaderText="Address"SortExpression="Address">

<EditItemTemplate>

<asp:TextBoxID="TextBox8"runat="server"Text='<%# Bind("Address")

%>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label8"runat="server"Text='<%# Bind("Address") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtAddress"runat="server"></asp:TextBox>

</FooterTemplate>

</asp:TemplateField>

Page 66: Capstone Project Report2013

<asp:TemplateFieldHeaderText="UserID"SortExpression="UserID">

<EditItemTemplate>

<asp:LabelID="Label1"runat="server"Text='<%# Eval("UserID") %>'></asp:Label>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label9"runat="server"Text='<%# Bind("UserID") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtUserId"runat="server"></asp:TextBox>

</FooterTemplate>

</asp:TemplateField>

<asp:TemplateFieldSortExpression="Password"HeaderText="password">

<EditItemTemplate>

<asp:LabelID="Label2"runat="server"Text='<%# Eval("Password") %>'></asp:Label>

</EditItemTemplate>

<ItemTemplate>

<asp:LabelID="Label10"runat="server"Text='<%# Bind("Password") %>'></asp:Label>

</ItemTemplate>

<FooterTemplate>

<asp:TextBoxID="txtpassword"runat="server"></asp:TextBox>

</FooterTemplate>

</asp:TemplateField>

</Columns>

<EditRowStyleBackColor="#7C6F57"/>

<FooterStyleBackColor="#1C5E55"Font-Bold="True"ForeColor="White"/>

<HeaderStyleBackColor="#1C5E55"Font-Bold="True"ForeColor="White"/>

<PagerStyleBackColor="#666666"ForeColor="White"HorizontalAlign="Center"/>

<RowStyleBackColor="#E3EAEB"/>

<SelectedRowStyleBackColor="#C5BBAF"Font-Bold="True"ForeColor="#333333"/>

<SortedAscendingCellStyleBackColor="#F8FAFA"/>

<SortedAscendingHeaderStyleBackColor="#246B61"/>

<SortedDescendingCellStyleBackColor="#D4DFE1"/>

Page 67: Capstone Project Report2013

<SortedDescendingHeaderStyleBackColor="#15524A"/>

</asp:GridView>

<div>

<asp:LinkButtonID="insertbut"runat="server">insert</asp:LinkButton>

</div>

<asp:SqlDataSourceID="SqlDataSource1"runat="server"

ConnectionString="<%$ ConnectionStrings:sign_upConnectionString %>"

SelectCommand="SELECT * FROM [signup]"

DeleteCommand="DELETE FROM [signup] WHERE [UserID] = @original_UserID AND

[FirstName] = @original_FirstName AND [LastName] = @original_LastName AND

[FathersName] = @original_FathersName AND [FathersIdProof] =

@original_FathersIdProof AND [Month] = @original_Month AND [Day] = @original_Day

AND [Year] = @original_Year AND [Address] = @original_Address AND (([Password] =

@original_Password) OR ([Password] IS NULL AND @original_Password IS NULL))"

InsertCommand="INSERT INTO [signup] ([FirstName], [LastName], [FathersName],

[FathersIdProof], [Month], [Day], [Year], [Address], [UserID], [Password]) VALUES

(@FirstName, @LastName, @FathersName, @FathersIdProof, @Month, @Day, @Year,

@Address, @UserID, @Password)"

UpdateCommand="UPDATE [signup] SET [FirstName] = @FirstName, [LastName] =

@LastName, [FathersName] = @FathersName, [FathersIdProof] = @FathersIdProof,

[Month] = @Month, [Day] = @Day, [Year] = @Year, [Address] = @Address, [Password] =

@Password WHERE [UserID] = @original_UserID AND [FirstName] =

@original_FirstName AND [LastName] = @original_LastName AND [FathersName] =

@original_FathersName AND [FathersIdProof] = @original_FathersIdProof AND [Month] =

@original_Month AND [Day] = @original_Day AND [Year] = @original_Year AND

[Address] = @original_Address AND (([Password] = @original_Password) OR ([Password]

IS NULL AND @original_Password IS NULL))"

ConflictDetection="CompareAllValues"

OldValuesParameterFormatString="original_{0}">

<DeleteParameters>

Page 68: Capstone Project Report2013

<asp:ParameterName="original_UserID"Type="String"/>

<asp:ParameterName="original_FirstName"Type="String"/>

<asp:ParameterName="original_LastName"Type="String"/>

<asp:ParameterName="original_FathersName"Type="String"/>

<asp:ParameterName="original_FathersIdProof"Type="String"/>

<asp:ParameterName="original_Month"Type="String"/>

<asp:ParameterName="original_Day"Type="String"/>

<asp:ParameterName="original_Year"Type="String"/>

<asp:ParameterName="original_Address"Type="String"/>

<asp:ParameterName="original_Password"Type="String"/>

</DeleteParameters>

<InsertParameters>

<asp:ParameterName="FirstName"Type="String"/>

<asp:ParameterName="LastName"Type="String"/>

<asp:ParameterName="FathersName"Type="String"/>

<asp:ParameterName="FathersIdProof"Type="String"/>

<asp:ParameterName="Month"Type="String"/>

<asp:ParameterName="Day"Type="String"/>

<asp:ParameterName="Year"Type="String"/>

<asp:ParameterName="Address"Type="String"/>

<asp:ParameterName="UserID"Type="String"/>

<asp:ParameterName="Password"Type="String"/>

</InsertParameters>

<UpdateParameters>

<asp:ParameterName="FirstName"Type="String"/>

<asp:ParameterName="LastName"Type="String"/>

<asp:ParameterName="FathersName"Type="String"/>

<asp:ParameterName="FathersIdProof"Type="String"/>

<asp:ParameterName="Month"Type="String"/>

<asp:ParameterName="Day"Type="String"/>

<asp:ParameterName="Year"Type="String"/>

<asp:ParameterName="Address"Type="String"/>

<asp:ParameterName="Password"Type="String"/>

<asp:ParameterName="original_UserID"Type="String"/>

Page 69: Capstone Project Report2013

<asp:ParameterName="original_FirstName"Type="String"/>

<asp:ParameterName="original_LastName"Type="String"/>

<asp:ParameterName="original_FathersName"Type="String"/>

<asp:ParameterName="original_FathersIdProof"Type="String"/>

<asp:ParameterName="original_Month"Type="String"/>

<asp:ParameterName="original_Day"Type="String"/>

<asp:ParameterName="original_Year"Type="String"/>

<asp:ParameterName="original_Address"Type="String"/>

<asp:ParameterName="original_Password"Type="String"/>

</UpdateParameters>

</asp:SqlDataSource>

</div>

</form>

</body>

</html>

Web confic:

<?xmlversion="1.0"?>

<!--

For more information on how to configure your ASP.NET application, please visit

http://go.microsoft.com/fwlink/?LinkId=169433

-->

<configuration>

<connectionStrings>

<addname="sign_upConnectionString"connectionString="Data Source=2NDINNINGS-

PC;Initial Catalog=sign_up;Integrated Security=True"

providerName="System.Data.SqlClient" />

<addname="sign_upConnectionString2"connectionString="Data Source=2NDINNINGS-

PC;Initial Catalog=sign_up;Integrated Security=True"

providerName="System.Data.SqlClient" />

</connectionStrings>

<system.web>

Page 70: Capstone Project Report2013

<compilationdebug="true"targetFramework="4.0"/>

</system.web>

</configuration>

6. SCREENSHOTS OF THE APPLICATION Master page:

Page 71: Capstone Project Report2013

Admin page:

Page 72: Capstone Project Report2013
Page 73: Capstone Project Report2013
Page 74: Capstone Project Report2013

Login page:

Page 75: Capstone Project Report2013

Sign up page:

Signup Database

Page 76: Capstone Project Report2013

Passport Service:

Page 77: Capstone Project Report2013

Passportdatabase:

Page 78: Capstone Project Report2013

Sql Server:

Page 79: Capstone Project Report2013

REFERENCES:

Page 80: Capstone Project Report2013

1. http://www.dotnetspider.com/project .

2. http://www.technologyevalution.com .

3. http://www.w3schools.com/aspnet/ .

4. http://www.asp.net/

5. http://www.tutorialspoint.com/index.htm

6. Book: Professional C# and .Net 4 by Christian Nagel, Bill Evjen , Jay

Glynn, Karli Watson, Morgan Skinner.

7. Book: Database systemConcepts -Abraham silberschatz, henry

korth, Sudarshan.