What is the difference between <%# Eval("Name") %> and <%# DataBinder.Eval(Container.DataItem,"Name") %> in your aspx page?
::: Eval("Name") is a simplified form of the DataBinder.Eval(Container.DataItem, "Name") syntax.
It only works inside of data-bound template controls.
No comments:
Post a Comment