title: How do I implement a Voting system?
body: <p>I am required to implement a functionality similar to SO voting. I tried to look up some existing questions around this topic and noticed that most people are stuck with how to vote up and down. i am past that. my problem is related to how to handle after a vote has been upvoted. here is what i have done till now.</p>
  
  <ol>
  <li>Vote up, Down and Score displayed for each answer.</li>
  <li>Vote count changed when user clicks
  up or down and the image is updated
  accordingly.</li>
  <li>Save the information in db like. who
  voted, time of vote, type of vote,
  userIP, ansID, etc.</li>
  </ol>
  
  <p><strong>Now the questions.</strong></p>
  
  <ol>
  <li>I am using a gridview to display information. how do i show the previously voted answers as voted on next page load. I have the information in db but i want to do this without affecting performance. I could do it in itemDatabound event but it doesnt look like a pretty way to handle it. i wonder if there is a better way to handle such situation</li>
  <li>Toggle Votes : When a user toggles a
  vote, what happens behind the
  scenes. is the previous upvoted
  record deleted or not? i say it
  should be deleted but want a
  confirmation.</li>
  <li>Is gridview a good way to implement
  such functionality or not?</li>
  </ol>