2

I want to count number of download of particular file in asp.net, I am using repeater and file source is CommandArgument='<%#Eval("source").

but problem is how to pass file id, can it possible pass two CommandArgument in repeater. click here.. CommandArgument in repeater

KKDev
  • 141
  • 1
  • 3
  • 17

1 Answers1

1

Use one as CommandArgument='<%#Eval("source")%>' and Second as CommandName='<%#Eval("fileId")%>'. get command name value on code behind same as a command argument.

Kushal Vora
  • 342
  • 2
  • 16
Kaushik Maheta
  • 1,741
  • 1
  • 18
  • 27