URL Navigation and SQL Insertion After RadioButtonList Selection

Posted by SidC on Stack Overflow See other posts from Stack Overflow or by SidC
Published on 2010-04-28T15:50:24Z Indexed on 2010/04/28 15:53 UTC
Read the original article Hit count: 338

Good Morning,

I have a radiobuttonlist in my ASP.NET webforms application that is used as a voting tool. The concept is as follows: Users will vote for the blurb in the contentplaceholder using the radiobuttonlist. My list item values are 1 through 3 and my list item text is something like low, medium and high.

Questions: 1. I want to save and accumulate votes for a given blurb. The blurb ID is referenced in a meta tag on the content page. How do I reference the meta tag in my SQL insert statement? 2. When the radiobuttonlist is used, can it cause the next content page to be loaded after the SQL insert is done? That is, I don't necessarily want the user to make the radiobuttonlist selection, then have to click a separate button to cast vote and move to next page. I want all that done in the radiobuttonlist. Is this possible?

Thanks, Sid

© Stack Overflow or respective owner

Related posts about radiobuttonlist

Related posts about asp.net-2.0