Solved

DataBinder.Eval or Bind?

Posted on 2009-04-06
2
595 Views
Last Modified: 2012-08-13
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
Comment
Question by:pointeman
2 Comments
 
LVL 27

Accepted Solution

by:
nmarun earned 125 total points
Comment Utility
0
 

Author Closing Comment

by:pointeman
Comment Utility

you the man, thanks...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now