Link to home
Start Free TrialLog in
Avatar of pointeman
pointemanFlag for United States of America

asked on

DataBinder.Eval or Bind?

Just wondering...

Q. What's the difference between using DataBinder.Eval and simply using Bind?

I've been using these two binding methods and both work well.

Examples:

<asp:Label ID="Label3" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Company")%>'></asp:Label>

<asp:Label ID="Label3" runat="server" Text='<%# Bind("Company") %>'></asp:Label>
ASKER CERTIFIED SOLUTION
Avatar of nmarun
nmarun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pointeman

ASKER


you the man, thanks...