Sep 10, 2010 11:12 AM|Zephere|LINK
I've got a label in the item template tag of the datalist control. The label is bound to an integer column in the data source.
What I want to achieve is to retrieve the number from that label and change its text according to what number is retrieved.
i.e. if number retrieved = 1 then
lbl.text = "SomeText"
My problem is that I don't know how to code that label as it is found in the <ItemTemplate> of the datalist and intellisense cannot identify the label.
Is it possible for me to code that label using code behind? or is there any other way to do this?
thanks in advance