I am binding a List to a Repeater control. Now I want to use the Eval function to display the contents in ItemTemplate
List
Eval
ItemTemplate
rptSample.DataSource = from c in lstSample select new { NAME = c };
in the repeater you put
<%# Eval("NAME") %>