ASP.net Repeater Control Help

Associate
Joined
12 Jun 2003
Posts
2,033
Location
Either Tonbridge or Biggin Hill
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:
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?
 
Back
Top Bottom