Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > <b><%#Server.HtmlEncode(Eval("Caption").ToString() )%></b><br /> produces an error but the IDE still runs it

Reply
Thread Tools

<b><%#Server.HtmlEncode(Eval("Caption").ToString() )%></b><br /> produces an error but the IDE still runs it

 
 
AAaron123
Guest
Posts: n/a
 
      08-08-2009
In the IDE both lines shown below are underlined and in the Error List they
are indicated as having the error:

"Expression expected"

The first statement below shows up twice in the Error list.

Not only that, since they are marked as error I'd expect the Ide would
refuse to run but it does and this code appears to run OK!

Got any idea what is going on?

<b><%#Server.HtmlEncode(Eval("Caption").ToString() )%></b><br />

<%#Eval("Count")%>Photo(s)<asp:Label ID="Label1" runat="server" Text=" In
The Albumn"></asp:Label><br />

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting SQL error on sp but still runs David C ASP .Net 2 08-27-2007 09:13 PM
OutputStream from a URLConnection produces an OutOfMemory OutputStream from a URLConnection produces an OutOfMemory WinstonSmith_101@hotmail.com Java 2 10-25-2006 04:45 PM
javamail runs well in eclipse IDE but gets exception in JRE xukai04@gmail.com Java 1 09-09-2006 11:53 AM
help : my jar file is not running under linux terminal , but it runs under JbuilderX ide bronby Java 1 07-15-2005 07:23 AM
Validators ok, but code still runs Pete Baugh ASP .Net 3 05-02-2004 10:39 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57