I'm within a Repeater
and I'd like to check out which kind of object its repeating OnItemDataBound
, but doing this:
public void RepeaterListato_OnItemDataBound(Object Sender, RepeaterItemEventArgs e)
{
Response.Write(repeaterListato.DataSource.GetType());
}
it returns the whole collection's type:
System.Collections.Generic.List`1[BrLayer.Pagina]
Not BrLayer.Pagina
. Is there a way?