")" expected error when there's supppose to be only 1 set of parenthesis

  • Thread starter Thread starter .Net Sports
  • Start date Start date
N

.Net Sports

The following error message is baffling me :

Compiler Error Message: CS1026: ) expected


<asp:Literal id="lblAmount_Attempted" runat="server" text='<%#
DataBinder.Eval(Container.DataItem, _
"Amount_Attempted") %>' />


...there should be no nested parenthesis in the preceeding code

?????
..netsports
 
I think Eliyahu is right...

I do not believe that the line continuation character _ used in VB.net
is valid in the HTML design view in asp.net. I would try moving the
content all to one line instead of breaking it accross two.

JP>
 
Yeah, i would have to agree. I don't know how picky ASP is but i would
add a space between the / and the > at the close tag. I always do
because I'm afraid of it yelling and screaming at me.
 
Back
Top