My code for this example is
Expand|Select|Wrap|Line Numbers
- <ItemTemplate>
- Item: <%#DataBinder.Eval(Container.DataItem, "Col")%><br>
- </ItemTemplate>
At the moment, I am using a method to call a function (please correct my terminology - or let me know my terminology is right!).
html:
Expand|Select|Wrap|Line Numbers
- <ItemTemplate>
- Item: <%#CB(DataBinder.Eval(Container.DataItem, "Col"))%><br>
- </ItemTemplate>
Expand|Select|Wrap|Line Numbers
- public string CB(object o)
- {
- //perform something
- return string.format("");
- }
Thanks
Dave