Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 652
  • Last Modified:

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>
0
pointeman
Asked:
pointeman
1 Solution
 
pointemanAuthor Commented:

you the man, thanks...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now