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

Discussion in 'Google API' started by mike72, Mar 26, 2005.

  1. #1
    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
     
    mike72, Mar 26, 2005 IP