Compiler Error Message: CS1010: Newline in constant
-
Hi, I am using a DataList Control using ASP.NET 2.0... I am getting the following error... NEWLINE IN CONSTANT..... I do not know what's wrong, can anyone help...........Here is the code. Thanks
<%#DataBinder.Eval(Container.DataItem, "summary") %>
<%# DataBinder.Eval(Container.DataItem, "title")%>
<%#DataBinder.Eval(Container.DataItem, "rating")%>
<%# DataBinder.Eval(Container.DataItem, "reviewer") %>Sanjeev
-
Hi, I am using a DataList Control using ASP.NET 2.0... I am getting the following error... NEWLINE IN CONSTANT..... I do not know what's wrong, can anyone help...........Here is the code. Thanks
<%#DataBinder.Eval(Container.DataItem, "summary") %>
<%# DataBinder.Eval(Container.DataItem, "title")%>
<%#DataBinder.Eval(Container.DataItem, "rating")%>
<%# DataBinder.Eval(Container.DataItem, "reviewer") %>Sanjeev
erm - you have a newline in a constant ? :P I'd expect it to mean a set of quotes is not matching up, but I can't see it.
sanju0276 wrote:
"review.aspx?reviewId={0})
Got it "review.aspx?reviewId={0}")
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
erm - you have a newline in a constant ? :P I'd expect it to mean a set of quotes is not matching up, but I can't see it.
sanju0276 wrote:
"review.aspx?reviewId={0})
Got it "review.aspx?reviewId={0}")
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Took me 5 minutes, once I knew what to look for :-)
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Took me 5 minutes, once I knew what to look for :-)
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog