I have a vote button in a repeater and I want to use it by giving the post id which is in the same itemtemplate in a repeater/datalist. I can’t pass the value I get from Eval() to the codebehind function because it takes 2 arguments which are sender and eventargs
Share
use
OnCommandinstead ofOnClick:In the code-behind: