I have a repeater in asp.net/C#. I dont' want to use <%# DataBinder.Eval(Container.DataItem,"Name") %>.
Instead, i want to use
<%# Container.DataItem("Name") %> (what i use in VB.net) but i get an error: System.Web.UI.WebControls.RepeaterItem.DataItem' denotes a 'property' where a 'method' was expected
then I use
<%# Container.DataItem["Name"] %>
Cannot apply indexing with  to an expression of type 'object'
what the heck is the right syntax