I have binding data to me datalist from codebehind.
I need to grab the contents of a label in the datalist, make some calculations and rebind the result to the label.
But my datalist count method returns 0 even if there there are records returned, so this does not work;-
for (int i = 0; i < DataList1.Items.Count; i++)
and so my calcualtion are not taking place