Professional Documents
Culture Documents
Project Report
On
Online National Polling System
SUBMITTED FOR THE PARTIAL FULFILLMENT OF AWARD OF
BACHELOR OF TECHNOLOGY
IN
INFORMATION TECHNOLOGY& ENGINEERING
(U.P. TECHNICAL UNIVERSITY, LUCKNOW)
Submitted to
Mr. Rishi Agarwal
Department of CS/IT
G.L.A.I.T.M, Mathura.
Table Of Contents
CERTIFICATE.......................................................................5
DECLARATION……………………………………………6
ACKNOWLEDGEMENT…………………………………..7
ABSTRACT………………………………………………….8
LIST OF FIGURES…………………………………………9
2) Overall description…………………………………..13
2.1 Product perspective……………………………..13
2.2 Product Function………………………………..13
2.3 User classes and characteristics…………………14
2.4 Operating environment…………………………..14
2.5 Design and implementation constraints………….15
2 Feasibility Study………………………………….16
2.1 Technical Feasibility Study…………………..16
2.2 Time Feasibility Study………………………..16
2.3 Economic Feasibility Study………………….17
2.4 Operational Feasibility Study………………….17
2.5 Behavioral Feasibility Study…………………..17
2.6 Legal Feasibility Study………………………..17
3 Requirement Analysis……………………………………18
4 System Features…………………………………………18
4.1 Functional requirements……………………………18
1. System Analysis…………………………………………30
1.1 Specification of project……………………………….
2. System Design……………………………………………30
2.1 Design Concept……………………………………31
Page |4
REFERENCES…………………………………………………….49
Page |5
Certificate
This is to certify that the Project entitled “ONLINE NATIONAL POLLING SYSTEM” has
been develop under the supervision during session 2011-2012 at HPES NOIDA by Vishabh
Goel, student of B-Tech, Final year (Information Technology).
It is further certified that the student have submitted the present volume as a project to
department of computer science.
DECLARATION
We hereby declare that this submission is our own work of two months in summer training and
that, to the best of our knowledge and belief, it contains no material previously published or
written by another person nor material which to a substantial extent has been accepted for the
award of any other degree or diploma of the university or other institute of higher learning,
except where due acknowledgment has been made in the text.
TEAM MEMBERS:
Vishabh Goel(IT-4th yr.)
Page |7
ACKNOWLEDGEMENT
With deep regards we would like to pay our sincere thanks to Mr. Pramendra Tripathi for her
indispensible support and proper guidance. He has been very encouraging and helpful throughout
the development of the project. We would like to take the opportunity to thank Mr. Pramendra
Tripathi for motivating and inspiring us to develop this project into a reality. Also for his efforts
in making us available with all the resources required for the development of the project and also
for their cooperation.
Page |8
ABSTRACT
We live in a democracy and voting is one of our fundamental duties as responsible citizens of the
country, but nowhere around the country a 100% people come to vote during the elections in
their territory. There have been many reasons for that some of them are:
• In the rural areas the influential people keep their men at the polling booths to threaten the
common man to vote for them.
• There are many portions of the country like the North East where there is locally sponsored
terrorism, at such places the security conditions are also not very bright, so naturally people feel
afraid to come out of their houses and go to vote.
• Net savvy new generation want hassle free voting system. Also the people in metros want a
system thru which they can vote for their territory without traveling.
Keeping in mind these situations and to improve the state of democracy in the country Online
Polling System can be thought as a solution, in conjunction with the ongoing current manual
voting system.
Page |9
LIST OF FIGURES
Number Description
1 Introduction
“[It is] by their votes the people exercise their sovereignty.” - Thomas Jefferson
Purpose
‘One person, one vote’ – a guiding principle of Indian suffrage – is devalued when votes
are lost, miscounted, or erroneously discarded. Surely modern technology can save the
country from this awful electoral predicament.
The purpose of this document is to make the functional requirements of the Software
Engineering project on an online-voting system easy to comprehend. It also serves the purpose of
making the functionality clear to the end users. The reader is expected to have prerequisite
knowledge of online voting systems to be able to understand the document.
Scope
The software produced will be an online voting system.
The software will be used by citizens to cast their vote online, it will also
calculate the voting percentage and may be used by candidates for online
campaigning. It will be used for the registration of voter and for filling
nomination forms of the candidates.
The main objective of this software is to increase the overall voting %. It
will be used at the time of elections. Through this software people get
their voter-id card easily and each voter will get a unique id no. to caste
their valuable vote.
It will maintain the database of all the eligible citizens and candidates.
It will manage all the account details of the voters such as citizen name,
date of birth, their constituency area, region, state, login id and password
of the voter and also of the candidate from one central location
Document Conventions
. Throughout the document we refer to the authority which is organizing the elections as
the EA( acronym for Election Authority ).
. The term ’system’ refers to the software system that is setup for the purpose of holding
the elections.
. The use of the term ’election instance’ refers to a particular election with its own timings,
P a g e | 11
candidates, posts. The voters’ database remains common across these election instances.
Intended Audience
The intended audience of this document is the potential end user. The document may also
serve as a reference guide to the developers of the system.
Technologies:
ASP.NET : Application architecture
Microsoft Sql Server : Database
WAS : Web server
Rational : Design tool
FEATURES OF ASP.NET:
ASP.NET is not just a simple upgrade or the latest version of ASP. ASP.NET combines
unprecedented developer productivity with performance, reliability, and deployment. ASP.NET
redesigns the whole process. It's still easy to grasp for new comers but it provides many new
ways of managing projects. Below are the features of ASP.NET.
ASP.NET makes building real world Web applications dramatically easier. ASP.NET server
controls enable an
HTML-like style of declarative programming that let you build great pages with far less code
than with classic ASP. Displaying data, validating user input, and uploading files are all
amazingly easy. Best of all, ASP.NET pages work in all browsers including Netscape, Opera,
AOL, and Internet Explorer.
ASP.NET lets you leverage your current programming language skills. Unlike classic ASP,
which supports only interpreted VBScript and JScript, ASP.NET now supports more than 25
.NET languages (built-in support for VB.NET, C#, and JScript.NET), giving you unprecedented
flexibility in your choice of language.
You can harness the full power of ASP.NET using any text editor, even Notepad. But Visual
Studio .NET adds the productivity of Visual Basic-style development to the Web. Now you can
visually design ASP.NET Web Forms using familiar drag-drop-doubleclick techniques, and
P a g e | 12
enjoy full-fledged code support including statement completion and color-coding. VS.NET also
provides integrated support for debugging and deploying ASP.NET Web applications. The
Enterprise versions of Visual Studio .NET deliver life-cycle features to help organizations plan,
analyze, design, build, test, and coordinate teams that develop ASP.NET Web
applications. These include UML class modeling, database modeling (conceptual, logical, and
physical models), testing tools (functional, performance and scalability), and enterprise
frameworks and templates, all available within the integrated Visual Studio .NET environment.
Application features that used to be hard to implement, or required a 3rd-party component, can
now be added in just a few lines of code using the .NET Framework. The .NET Framework
offers over 4500 classes that encapsulate rich functionality like XML, data access, file upload,
regular expressions, image generation, performance monitoring and logging, transactions,
message queuing, SMTP mail, and much more. With Improved Performance and Scalability
ASP.NET lets you use serve more users with the same hardware
Compiled execution
ASP.NET is much faster than classic ASP, while preserving the "just hit save" update model of
ASP. However, no explicit compile step is required. ASP.NET will automatically detect any
changes, dynamically compile the files if needed, and store the compiled results to reuse for
subsequent requests. Dynamic compilation ensures that your application is always up to date,
and compiled execution makes it fast. Most applications migrated from classic
ASP see a 3x to 5x increase in pages served.
Abbreviations:
HTML
Hyper Text Markup Language.
HTTP
Hyper Text Transfer Protocol.
P a g e | 13
2. Overall Description
Product perspective
The web pages (XML/JSP) are present to provide the user interface on customer client
side. Communication between customer and server is provided through HTTP/HTTPS
protocols.
The software product is a standalone system and not a part of a larger system. The system
will be made up of two parts, one running visible directly to the administrator on the
server machine and the other visible to the end users, in this case the voters, through web
pages.
The two users of the system, namely the voters and the election authority(EA) interact
with the system in different ways. The election authority configures the whole system
according to its needs on the server where the system is running.
The voters cast their votes using the web interface provided. These votes are accepted by
the system on the server.
Product Functions
On the EA side, the system can be used to create/update/delete the election details (
Posts, candidates, electoral rolls etc.). The EA should be able to specify the different
attributes it wants for posts/candidates of a particular election instance and voters. For
example, one EA may want the candidate’s photograph as an attribute, where as another
EA may not find it necessary. Similarly, they may want one set of attributes for voters
in one setting and a different one in another. For Example, in a university, the EA might
P a g e | 14
be happy with just the roll numbers of each voter while an election in an association may
require voters’ name, phone number, address etc. After the election is set up, passwords
must be generated and mailed to voters on request.
The system should also be able to run separate election instances at the same time.
From the voters perspective, the system is used to help them cast their votes and after the
elections are over, allow them to view the results, which are automatically posted on the
same site after the election duration is over.
Operating Environment
The server should have Java installed on the machine, along with Java’s cryptographic
packages. The election server runs on a http server, that is ”jsp” enabled. The browsers
through which the voters access the server should have minimal support for cookies and
encrypted transactions.
Design/Implementation Constraints
Even though the system enables voters to poll their vote from any terminal connected
to the Internet, the voters should initially contact the election administrator’s office to
authenticate themselves and establish their user-ids. This constraint is imposed to ensure
that only the genuine person is allowed to vote in the elections.
Also, it is assumed that only the EA has access to the server that hosts the election.
P a g e | 15
CHAPTER 2
FEASIBILITY STUDY, REQUIREMENT ANALYSIS
Since the inception of this project all software engineering principles have been followed.
This project has passed through all the stages of software development life cycle (SDLC).
A development process consist of various phases, each phase ending with a defined output. The
main reason for following the SDLC process is that it breaks the problem of developing
software into successfully performing a set of phases, each phase handling a different concern
of software development. Object technologies lead to reuse and reuse (of program
components) lead to faster software development and higher quality programs. Object
oriented software is easy to maintain because its structure is inherently decoupled. In
addition, object oriented systems are easier to adopt and easier to scale. The Object
Oriented process moves through an evolutionary spiral that starts with customer
satisfaction. It is here that the problem domain is defined and that basic problem classes
are identified. Planning establishes a foundation for the Object Oriented Project Plan.
P a g e | 16
FEASIBILITY STUDY
Feasibility study involves study of the system and to look whether the system does the
kind of job expected from it. The objective of the feasibility study is not to solve the problem but
to predict (on the basis of system analysis & problem definition) that if it does the kind of work
expected on it, in a reasonable period of elapsed time, & consistent with the financial &
processing objective and needs of the organization or any Placement Agency.
Feasibility study analysis is done in respect of the following:
The Project can be developed simply by using two platforms i.e. ASP.net as front-
end and Microsoft SQL Server as back-end. All the functions of a Online National
Polling System can be implemented in the new system. Hence it is technically
feasible.
project is economically feasible in every sense that it takes less effort, less time,
and nominal cost of tools for developing the software
Since this project needs no copyrighting, patenting, and doesn’t have any relation
with anybody else’s property rights, it can be considered as a legally feasible
project.
As it has been more probable (as per the requirements and functions specifications
of the system) that the project can be completed within the given timeframe, it is
considered that the undertaking this project is feasible in the context of time.
Online National Polling is easy to understand not only for any sophisticated users
but for the native users as well. It provides a simple way in which user can feel
free to vote faster, easier, and more accurately. Therefore, it can be socially and
behaviorally accepted and is feasible too.
P a g e | 18
3. System Features
Functional Requirements
Online registration for the voter id card which will be verified by the field officers
(address and identity validation) and after receiving the field officer's report only
the registration will be validated and a voter id will be issued (a photograph will
have to be uploaded). You can also think about any other secure method like
digital signature.
Those already having a voter id card can register for the online voting system,
they will use their voter id as their user name and a separate password will be
used for secure authentication.
The election commission will be able to use the site to let the candidates register
for their nomination on the site and their officers will validate it. Candidates can
run their election campaign through forums and chat-room.
A detailed profile of all the candidates constituency wise will be maintained so
that voters can always know about the candidates of their area.
Once registered whenever polling is done in any area that areas' people will be
able to vote for their favorite candidates.
Devise a mechanism that ensures duplicates voting (online & offline) is not
happening.
The system would show the current statistics as well on the web site about how
many votes which candidates have got.
Later when the voting ends the administrator can add the manual poling results to
the database to calculate the final results which will immediately be flashed on the
site.
. Facilitate appropriate communication between all stakeholders - Discussion
forum/chat/mail/polls
. Candidates should be able to modify selected portions of their profile after
registration for nomination like the promises they make about the things to do
after winning the election, their previous works, their experiences and a
comprehensive about me, etc.
P a g e | 19
Extensions:-
a) The EA chooses to modify a voter instance.
b) The EA chooses to delete the voters’ database.
c) The EA chooses to create a new voter class for the first time ever, the EA is
Redirected to a new screen where he is required to specify the attributes of the
voters that are needed to be stored in the database along with the primary key
P a g e | 20
among them. The system then takes the EA to step 3 of the main success
scenario.
d) The class name specified already exists. The system asks the EA to enter a new
name, go back to step 5.
e) Improper attribute format. Signal an error and go back to the same screen without
any action.
f) The entered entity shares the same primary key with an existing entity, but the
other attributes differ in their values. The system throws up an error displaying
the clashing attributes and asks the EA to re-enter the entity.
g) Improper file format or file read error. Signal an error and go back to the same
screen without any action.
h) Clash in the attributes of an entity in the file with that in the database. The
system throws an error indicating the entity and its attributes that went wrong.
EA is shown the same screen as above.
i) The EA chooses to Exit. The system takes it back to the start screen.
Acquire Data
Creating Voters
Database
1) The system presents the EA with the search screen. The EA selects the attributes he
wants to search for and specifies their value.
2) The system presents the EA with the results. The EA chooses the voter(s) to modify.
3) The EA either modifies the details or deletes the voter(s).
4) The system asks the EA to confirm the changes. The EA confirms.
5) The system presents the EA with the search screen of step 1.
Extensions:
4a. The EA cancels without confirming. The system does nothing and takes the EA
back to the search screen of step 1.
Modifies or delete
the details
EA(Election
Authority)
2a. The EA cancels without confirming the deletion. The system does not perform
any action.
Confirms system wish
to delete the database
EA
Database is deleted.
6a. The designation of two posts is the same. The System asks the EA to delete/modify
one of them.
7a. The EA does not specify any of the classes of voters who can vote for a post. The
EA is directed to specify at least one class.
8a. The key attributes of the candidate are repeated. The system does not allow a
candidate to contest for the same post twice.
8b. A candidate is nominated for more than one post. The system acts according to
the response to 4. If required, the system notifies the EA and asks it to modify/delete
one of them.
9a. The values given by EA are improper. The system asks the EA to re-enter the
values.
10a. The EA quits without confirming. The system does not perform any action.
Extensions
2a. The EA chooses to update the posts. refer to use case 5.
2b. The EA chooses to update the time of elections. Refer to use case 7.
5a. The EA chooses to add another candidate. Refer to Use case 4, step 7 onwards.
Steps 2 and 3 are repeated for all the posts that this voter is available to vote for.
2). The system presents the voter with successive screens for voting for each of the posts.
3). The voter selects one of the candidates and submits his choice to the system.
4). The system presents the voter with the final choices of the candidates for each post
made by the voter for confirmation.
5). The voter confirms the choices.
6). The system registers the choices made by the voter.
7). The voter logs out.
Extensions:
1a. The voter enters wrong user-id or password. He is asked to re-enter the password.
1b. The voter has already voted once. The system does not allow him to log in again.
3a. The voter does not select any candidate for a post and attempts to submit. The
system asks him to select one of the candidates.
3b. The voter wishes to reconsider his choices. The system allows to re-vote for the
posts he is not content with.
System crashes or power failure at any point:
a. The voter has not confirmed. He has to re-login and vote again.
b. The voter has not confirmed his vote. He need not login again to vote.
1. General Public: The citizens of the country who are eligible for casting vote.
Register for voter id – The general public will register themselves for voting
through the online system. They will provide their details which will be submitted
to the administrator and will be maintained as database in the system.
Register for Online Voting System – Those who already have voter id, they
will register themselves for online voting system and they will use their voter id as
their user name and separate password will be used for secure authentication.
Cast vote – The citizens will cast their votes for their favorite candidates online
through a secure system.
View own details – The voters will view their own details which they filled up at
the time of their registration
2. Administrator: Responsible for maintaining all the databases, generating results of polling
and registering candidates for elections.
from each constituency and the city wise, state wise and constituency wise
percentage voting will be made available on the website.
View all reports – The reports of election such as percentage voting done, no.
of votes that different candidates got, the statistics of all the elections done and
reports containing details of voters, candidates based on many criterions.
Validation of voters – Administrator will validate the online registration of
the voters. The voters will be qualified or disqualified for polling according to the
validation by the field officer.
3. Candidate: Register for nomination, add details to profile, modify profile and campaign
for elections.
Register for nomination – The candidate will register for nomination through
the website.
Add details to profile – Candidates will enter their details in their profiles such
as manifesto, experience
Modify profile – Candidates will be able to modify selected portions of their
profile after registration for nomination.
Campaign for elections – The candidates will campaign for the elections
through the website.
View own details – The details filled by the candidates at the time of registration
will be viewed by them for future references.
4. Field Officer: Validate the registration of voters and view all reports.
Generate reports for registration validation – The field officer will verify
the documents which the voter will bring to him for validation and will generate a
report after verifying them which will be sent to the administrator who will finally
validate the voter for registration.
View all reports – The reports of election such as percentage voting done, no. of
votes that different candidates got, the statistics of all the elections done and reports
containing details of voters, candidates based on many criterions.
P a g e | 27
The channels that will be opted for communication between the server-end and user-end
of the software shall be encryption supported secure channels.
5.4.2 Reliability
Our product must perform consistently in terms of handling multiple users and recording
their options as well as allowing them to change without any errors correctly at a later
stage.
5.4.3 Maintainability
We will be using the Java language which is a pure OOP language to code our product.
To improve the readability of the code, we are imposing a coding style within our own
group of using indentation to show structure and having appropriate comments.
5.4.4 Portability
Since Java code produces platform independent Java byte code on compilation, our
Software will be portable to any environment as along as it has a JRE installed.
5.4.5 Usability
The application will be easy to utilize. Since the interaction is only through the GUI's,
which are to the maximum extent self-explanatory, there will be no problem regarding
understandability of the software for the client as well as the users.
P a g e | 30
5.4.6 Scalability
The software does not make any assumptions on the size of the voter base and the
number of simultaneous operative voters. But this is constrained by the resources made
available to the server component. Thus any constraints in the resources available like
amount of Physical Memory and Network Bandwidth will impact the performance and
too the scalability of the system.
Code.
CHAPTER 3
Requirement analysis defines “WHAT” the system should do; design tells ‘HOW’ to do it.
This is the simplest way to defines system design. Any design has to be constantly
evaluated to ensure that it meet its requirements, is practical and workable in the given
environment. If there are number of alternatives, then all alternatives must be evaluated
and the best possible solution must be implemented.
SYSTEM ANALYSIS:
System Analysis is a term used to describe the process of calculating and analyzing facts in
respect of existing operation of the prevailing situations that an effective computerized system
may be designed and implemented if provided feasible. This is required in order to
understand the problem that has to be solved. The problem may be of any kind like
computerizing an existing system or developing an entirely new system or it can be a
combination of two.
SYSTEM DESIGN:
System Design is the technique of creating a system that takes into notice such factors
such as needs, performance levels, database design, hardware specifications, and data
management. It is the most important part in the development part in the development of the
system, as in the design phase the developer brings into existence the proposed system
the analyst through of in the analysis phase.
P a g e | 31
DESIGN CONCEPT:
Software design sites at the technical kernel of software engineering and is applied
regardless of the software process model that is used. After software requirements have been
analyzed and specified. Software design is the first of three technical activities- designs,
code generation and test-that are required to build and verify the software. Each activity
transforms information in a manner that utility results in validated computer software. The
design transforms the information domain model created during analysis into the data
structure that will be required to implement the software.
The data objects and relationship diagram and the detailed data content depicted in the
data dictionary provide the basis for the design activity. As aforesaid “Design” is that phase of
software engineering that tells all about the completion of a project or complete failure.
P a g e | 32
VOTERS ADMINISTRATOR
Details Query
Information
Information
ONLINE POLLING
SYSTEM
P a g e | 33
POLL MANAGEMENT
DATABASE
GET
VOTERS ENTER REGISTERED
DETAILS
DATABASE CANDIDATE
AND PARTY
GET INFORMATIO
RESULT N
GIVE VOTE
P a g e | 34
register candidate
CHAPTER 4
INTERFACE OF USER
SNAPSHOT
1. Login Page
P a g e | 36
2. Registration Page
P a g e | 37
3. Thanking Page
4.Home page:
P a g e | 38
5. History
History Contd.
P a g e | 39
History Contd.
6. About US
P a g e | 40
7. Right To Vote
8. Right To Know
P a g e | 41
9. Feedback
10.Election Page
P a g e | 42
DATABASE PAGE
P a g e | 48
CODING
1.Login Page
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;
SqlCommand cmd;
if (temp != 1)
{
ErrorLabel.Visible = true;
ErrorLabel.Text = "please enter correct ID and password";
return;
}
else
{
Response.Redirect("Home.aspx");
}
}
}
2.Registration Page
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;
}
protected void SubmitButton_Click(object sender, EventArgs e)
{
SqlConnection con;
SqlCommand cmd;
SqlDataAdapter da;
DataSet ds;
da.Fill(ds, "registration");
Response.Redirect("thanking.aspx");
}
protected void GenIDButton_Click(object sender, EventArgs e)
{
Int32 num;
Random ran = new Random();
num = ran.Next(00000001, 99999999);
string s = GenIDDropDownList.SelectedValue.ToString() +
num.ToString();
UIDTextBox.Text = s;
}
}
3.Home Page
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;
}
}
4. History Page
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
P a g e | 51
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;
}
}
5. About Us
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;
}
}
6.Contact Us
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
P a g e | 52
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;
}
}
7. Right to Vote
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;
}
}
8.Right To Know
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;
P a g e | 53
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
}
}
9. Feedback
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;
}
}
10. Election
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;
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;
}
}
}
}
P a g e | 55
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;
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;
}
}
P a g e | 56
return str;
}
public static DataSet GetDataset(string qr)
{
SqlDataAdapter dap = new SqlDataAdapter(qr, GetConStr());
DataSet ds = new DataSet();
dap.Fill(ds);
return ds;
}
public static string Fatch(string qr)
{
string p = "";
DataSet ds = Class1.GetDataset(qr);
foreach (DataRow rw in ds.Tables[0].Rows)
{
p = rw[0].ToString();
}
return p;
}
public static void Insert(string qr)
{
return str;
}
public static DataSet GetDataset(string qr)
P a g e | 57
{
SqlDataAdapter dap = new SqlDataAdapter(qr, GetConStr());
DataSet ds = new DataSet();
dap.Fill(ds);
return ds;
}
public static string Fatch(string qr)
{
string p = "";
DataSet ds = B_L.GetDataset(qr);
foreach (DataRow rw in ds.Tables[0].Rows)
{
p = rw[0].ToString();
}
return p;
}
public static void Insert(string qr)
{
CONCLUSION
Internet voting can solve a lot of problems that exist in our current voting system. The case
studies also showed how Internet voting can succeed, depending on what is at stake for the
election. I think it is safe to assume that voter turnout and participation would increase if
we have online voting. Increased voting convenience would reduce many barriers that
prevent several groups from having large turnouts, such as: students, handicapped people,
military stationed abroad, and busy professionals. Absentee voting helps the problem,
but Internet voting would serve these groups better and aid millions of other voters at the
same time.
We obviously cannot stop here – and we will not. Improvements in Internet
security, cryptography, voting protocols, and computer interfaces will one day bring a
successful remote online voting model to public elections. Internet voting is a good idea
and done right can help a lot of people in a lot of ways.
P a g e | 59
REFERENCES