I have another question, please. They decided not to add a flag to the table but to use the PollCodeName.
I can get the PollcodeName, but I am having trouble passing it in my
var PollCodeName = viewPoll.PollcodeName
var activePolls = PollInfoProvider.GetPolls("PollCodeName = PollCodeName", "");
Is there a way I can pass PollcodeName by Value?
I would want it to evaluate to the following for this case. But basically I need to pass whatever poll is on the page.
var activePolls = PollInfoProvider.GetPolls("PollCodeName = 'PortalSatisfaction'", "");
Thanks.