How can i count the vote of the voters, i used dropdown tool to choose a candidate, and my database in MS SQL SERVER 2008... please help my in my project....

Recommended Answers

All 2 Replies


Can you elaborate?

What code do you have for selecting a voter? How is your database structured to assigner voters against a particular vote?

Without further information, the best I could offer would be to use a COUNT query that utilises a WHERE Candidate=SelectedCandidate.

This will depend on how you insert your vote into database, mean the structure.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.