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

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
 
J

joey.powell

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>
 
K

Kivak Wolf

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.
 
E

Eliyahu Goldin

You can break across two. You just don't need any underscores for that.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top