Debt Consolidation - Credit Cards - Find services - Debt Consolidation - Article directory

PDA

View Full Version : <%# DataBinder.Eval(Container.DataItem, "title") %> in C#


mike72
Mar 26th 2005, 12:01 pm
Why does <%# DataBinder.Eval(Container.DataItem, "title") %>, or <%# DataBinder.Eval(Container.DataItem, "URL") %>, not work in C#? I keep getting an error saying that 'title', 'URL' are not recognised as resultElements, yet they both seem to be in the DataList I am using.

Can anybody help me out with this? I can give a full code listing if it would help.


Cheers,

Mike