Consider the following ItemTemplate element within a Repeater control using DataBinder.Eval:
<%# DataBinder .Eval(Container.DataItem, "field1") %>
<%# DataBinder .Eval(Container.DataItem, "field2") %>
Using explicit casting offers better performance by avoiding the cost of .NET reflection. Cast the Container.DataItem as a DataRowView:
<%# ((DataRowView)Container.DataItem)["field1"] %>
<%# ((DataRowView)Container.DataItem)["field2"] %>