Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

XML Vote System

0.00/5 (No votes)
14 Oct 2005 1  
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