If you know that a DataItem is a specific type (let's say you know its type CustomerInfo), you can do this:
<%# ((CustomerInfo) Container.DataItem).ContactInfo.Name %>
As a bonus, this is somewhat faster than using DataBinder.Eval, because you avoid all overhead.
source
share