ok, check it out:
this is what studio put in there:
<asp:TemplateColumn HeaderText="trkSite">
<ItemTemplate>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container,
"DataItem.trkSite") %>'>
</asp:Label>
</ItemTemplate>
but had to change it to this to get it to work:
<asp:TemplateColumn HeaderText="trkSite">
<ItemTemplate>
<asp:Label runat="server" Text='<%# Container.DataItem("trkSite") %>'>
</asp:Label>
</ItemTemplate>
what's the deal?
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"WebBuilder451" wrote:
> i have a series of datagrids on a webform. it worked fine until i converted
> one column to a template. My guess is i'm blanking on something, but that's
> the problem with blanking, ...nothing....
> ok now i get a "Expression does not produce a value" error when i run the
> project.
> What's going on? I know i've done this before...
>
> --
> thanks (as always)
> some day i''m gona pay this forum back for all the help i''m getting
> kes
|