locked
DataBinder.Eval RRS feed

  • Question

  • User2024669276 posted

    guys i am a little new here, hence pls bear with me if its really simple and i dont get it. i am reading an aspx page and it has Databinder.Eval expressions. Below are the types i am seeing, can you please explain me the meaning of these. Also, can we have these expressions without having a datasource property set for the databound controls such as gridview, datalist etc.

    a. <%# DataBinder.Eval(Container, "DataItem.xyz")%>
    b. <%# DataBinder.Eval(Container.DataItem, "xyz") %>
    
     
    Friday, July 1, 2011 6:20 PM

All replies