W3c Validation Error In Asp.net
I am new in W3c validations, I am trying to fix this error but it's not happening. The error is following: character '&' is the first character of a delimiter but occurred as
Solution 1:
&
is a special charater for concat, you need to escape it: make them all &
not &.
Solution 2:
Here is the solution I came up with:
<asp:LabelID="lblDescription"runat="server"Text='<%# Server.HtmlEncode( (string) Eval("Decr")) %>'></asp:Label>
Post a Comment for "W3c Validation Error In Asp.net"