Jun 11, 2008 /
Strongly Typed Repeater in ASP.NET

I found this article on Code Project about creating a strongly typed ASP.NET repeater. A cool idea I thought, I get really fed up with stuff like this everywhere:

<%# ((Customer)Container.DataItem).Forename %>

The article shows you how to get this:

<%# Container.DataItem.Forename %>

I haven't used it yet, but if it works it's gonna be much better :)


You may also like...