J
jw56578
What is the explanation for the following.
if i do:
reapeter1.datasource = somedatasource
repeater1.databind()
foreach(RepeaterItem ri in repeater1.Items)
{
object o = ri.DataItem;
}
but DataItem is always null, even though it binds and displays properly
if i do:
reapeter1.datasource = somedatasource
repeater1.databind()
foreach(RepeaterItem ri in repeater1.Items)
{
object o = ri.DataItem;
}
but DataItem is always null, even though it binds and displays properly