I have the following code:
<asp:Label ID="Label1" runat="server" Text='<%# "<h2
style=\"Text-Align:Center\"> "+Eval("Title") +"</h2><br /><span
style=\"Text-Align:Center\"> "+Eval("Creatio nDate", "{0:f}")+"</span><br
/><span style=\"Text-Align:Center\"> "+Eval("Descrip tion") + "</span>"
%>'></asp:Label>
I get this error when trying to run the page:
C:\Documents and Settings\Andy\M y Documents\Visua l Studio
2008\Projects\E ternity Records(VB)\Web Root\index.aspx (13) : error BC32017:
Comma, ')', or a valid expression continuation expected.
<asp:Label ID="Label1" runat="server" Text='<%# "<h2
style=\"Text-Align:Center\"> "+Eval("Title") +"</h2><br /><span
style=\"Text-Align:Center\"> "+Eval("Creatio nDate", "{0:f}")+"</span><br
/><span style=\"Text-Align:Center\"> "+Eval("Descrip tion") + "</span>"
%>'></asp:Label>
I get this error when trying to run the page:
C:\Documents and Settings\Andy\M y Documents\Visua l Studio
2008\Projects\E ternity Records(VB)\Web Root\index.aspx (13) : error BC32017:
Comma, ')', or a valid expression continuation expected.
Comment