That is because the header is not bound for every item. There is only one
header in the datalist, regardless of how many items are in it.
"Chris Fink" <> wrote in message
news:%...
> Hello,
>
> I have an ASP Datalist in which I am binding a value within the
> <itemtemplate> section as follows:
>
> <%# DataBinder.Eval(Container.DataItem, "week")%>
>
> This displays the week value as expected.
>
> However, the same statement in the <headertemplate> of the datalist
> display's nothing?
>
> Confused?
>
> Chris
>
>
|