G
Guest
Hi,
The Visual Studio 2005 compiler is now giving numerous "Name 'Eval' is
not declared" errors. One example of the code the compiler objected to is:
<asp:templatefield
headertext="University ID Code"
HeaderStyle-Wrap="true"
HeaderStyle-BorderColor="White"
HeaderStyle-BorderStyle="None"
HeaderStyle-HorizontalAlign="Center"
ItemStyle-HorizontalAlign="Center"
ItemStyle-Wrap="false" >
<itemtemplate>
<asp:Label id="CSUUniversityCode"
runat="server"
Text='<%#
Eval("UniversityCode") %>'>
</asp:Label>
</itemtemplate>
This <TemplateField> is part of a bound GridView where UniversityCode is a
column name of the source table.
Thanks for your help,
Scott
The Visual Studio 2005 compiler is now giving numerous "Name 'Eval' is
not declared" errors. One example of the code the compiler objected to is:
<asp:templatefield
headertext="University ID Code"
HeaderStyle-Wrap="true"
HeaderStyle-BorderColor="White"
HeaderStyle-BorderStyle="None"
HeaderStyle-HorizontalAlign="Center"
ItemStyle-HorizontalAlign="Center"
ItemStyle-Wrap="false" >
<itemtemplate>
<asp:Label id="CSUUniversityCode"
runat="server"
Text='<%#
Eval("UniversityCode") %>'>
</asp:Label>
</itemtemplate>
This <TemplateField> is part of a bound GridView where UniversityCode is a
column name of the source table.
Thanks for your help,
Scott