Hi all,
I'm just playing around with the Repeater control in ASP.net, following some tutorials.
All of the tutorials specify the following line to populate the <ItemTemplate> field:
However, I get a blue squiggly line and the message that 'container is not declared'
I had a feeling it was to do with a missing Imports, but I've tried all sorts of stuff without success.
Anyone able to help?
I'm just playing around with the Repeater control in ASP.net, following some tutorials.
All of the tutorials specify the following line to populate the <ItemTemplate> field:
Code:
<%#DataBinder.Eval(Container.DataItem, "FieldName")%>
However, I get a blue squiggly line and the message that 'container is not declared'
I had a feeling it was to do with a missing Imports, but I've tried all sorts of stuff without success.
Anyone able to help?