Possible Duplicate:
Understanding asp.net Eval() and Bind()
<asp:DataList ID="DataList1" runat="server" DataKeyField="CustomerID"
DataSourceID="SqlDataSource1">
<ItemTemplate>
CustomerID:
<asp:Label ID="CustomerIDLabel" runat="server"
Text='<%# Eval("CustomerID") %>' />
</ItemTemplate>
</asp:DataList>
Whats the difference between Eval and Bind?
The Eval method evaluates late-bound data expressions in the templates of data-bound controls such as the GridView, DetailsView, and FormView controls and the Bind method is typically used with input controls such as the TextBox control rendered by a GridView row in edit mode.