Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Container.DataItem


Message #1 by "icaaq" <isac@m...> on Mon, 4 Nov 2002 21:16:39 +0100
Hello!!
I´m doing a poll and now i want to divide the part with the total, but how
do i do that the easiest way ....

the way i buildt it up now is by binding a dataset to a datalist and then
i´m looping thru the hole thing.....

But when i want to bring up the % i´m stuck.....i have tried to do something
like this

<%#((Container.DataItem, "f_hits") / (Container.DataItem, "NoOfAnswers"))%>

But that not right.

Can someone help me with this





  Return to Index