Click here to Skip to main content
15,868,141 members
Articles / Web Development / ASP.NET
Article

XML Vote System

Rate me:
Please Sign up or sign in to vote.
2.57/5 (10 votes)
14 Oct 2005 38.8K   937   21   5
XML Based Vote System

Sample Image - VoteSystem.jpg

Introduction

A programm presents XML based vote system that allows to vote, edit and preview results in browser

Database

Database that presents three XML files is stored in XML folder on  the server and named Options.xml, Questions.xml and Votes.xml

Application

On the first page you see the poll with options to vote, view results and edit poll. In present application I hasn't added authorization system, so everyone can edit the poll, but in more complicated solution this option will be enabled for authorized users only. In order to vote you should chose one of the options and press vote button. ViewResults gives you possibility to view results of voting with bar and percents

Results

In Editmode you can add new question

AddNew

or edit current questions

Sample screenshot

in order your question will be active you should chose current and not archived in edit mode if you chosed some questions with such options active will be the first of them.

 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Israel Israel
C# developer

e-mail: otark777@yahoo.com

Comments and Discussions

 
GeneralMy vote of 5 Pin
dental implant23-Jul-23 6:15
professionaldental implant23-Jul-23 6:15 
Generalhi Pin
maryam_ali7-Jan-08 8:50
maryam_ali7-Jan-08 8:50 
QuestionThe poll library source code ? Pin
wildwindy25-Dec-06 19:42
wildwindy25-Dec-06 19:42 
AnswerRe: The poll library source code ? Pin
wildwindy25-Dec-06 19:45
wildwindy25-Dec-06 19:45 
GeneralThe poll library source code is missing Pin
HB HB26-Nov-06 6:10
HB HB26-Nov-06 6:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.