Hi all
i found a poll control on this sit : obout.com , now i want to use it instead of my voting system in my website ...
my voting system is like below :
1- stored procedure to get the active vote :
ALTER PROCEDURE GetActiveVote
AS
Select VoteID, VoteQues From tblvoteQuestion Where IsActive='True'
another stored procedure to get Answers :
ALTER PROCEDURE GetVoteChoices
(
@VoteID int
)
AS
Select ChoicesID, Choices from tblVoteChoices
Where
VoteID = @VoteID
and the code behind the page is like below :
public partial class Vote : UserDataAccess
{
protected void Page_Load(object sender, EventArgs e)
{
// if its fre ...
Go to the complete details ...