473,792 Members | 3,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

The following error message is baffling me :

Compiler Error Message: CS1026: ) expected
<asp:Literal id="lblAmount_A ttempted" runat="server" text='<%#
DataBinder.Eval (Container.Data Item, _
"Amount_Attempt ed") %>' />
...there should be no nested parenthesis in the preceeding code

?????
..netsports

Nov 19 '05 #1
4 1519
What is an underscore character after Container.DataI tem, for?

Eliyahu

".Net Sports" <ba********@cox .net> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
The following error message is baffling me :

Compiler Error Message: CS1026: ) expected
<asp:Literal id="lblAmount_A ttempted" runat="server" text='<%#
DataBinder.Eval (Container.Data Item, _
"Amount_Attempt ed") %>' />
..there should be no nested parenthesis in the preceeding code

?????
.netsports

Nov 19 '05 #2
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>

Nov 19 '05 #3
You can break across two. You just don't need any underscores for that.

Eliyahu

<jo*********@to pscene.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
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>

Nov 19 '05 #4
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.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2728
by: Max Ischenko | last post by:
Hi, I'm using adodbapi wrapper arount OLEDB driver and I got this error when calling adodbapi.connect(): (-2147221008, 'CoInitialize has not been called.', None, None) The weird part is that it occurs only when running under WebKit, my standalone test programs run just fine. I'm using py2.3 with win32all build 163, if that matters.
6
6802
by: David Cook | last post by:
The html file below gets intermittent errors 'error on page' ('number expected') when clicking on column-headings to sort. Yet, this same file works flawlessly in other browsers (i.e. Opera, Mozilla, Netscape, etc.). Can anyone suggest a fix/workaround? Cheers...
9
4227
by: matt | last post by:
I had this web site working without problems a day ago. I went to add some images on one of the pages in my site and now the index.html page is popping up error messages when ever the page loads in IR6 ! If anyone can asssit me on this i would appreciate it . the URL is : terroratthewestwood.com, i havent tried it in netscape but in opera it doesnt give me an erorr box, its just that the script on the images page ("URL/gallery.html")...
3
8966
by: Jeff Johnson | last post by:
I'm getting a Method Name Expected error when I try to compile. The error happens here: imgImage.Click += new ImageClickEventHandler(updateColours("X")); Can someone tell me what I'm doing wrong? Thanks,
4
3154
by: Kiyomi | last post by:
Hello, I am trying to replace my alert message box with a popup page. In my page behind,
1
3918
by: JOJO123 | last post by:
I got here in search of an answer to this Javascrpt question. I upgraded jave on XP Ie 7, acrobat 5.1 and suddenly can't open any pdf files on web sites using IE. I see u guys all say, this is a Javscript issue. but how do we, mere mortals who know nothing of anything about Java, scripts, etc, fix this? Is there a programm, does MS have any fix? is there any tweak like in the Registry, or whatever, how do I access anyihint java without in IE 7...
1
2639
by: tgorton | last post by:
I am having a problem running a javascript function as part of an html-el:form onsubmit. The problem seems to exists in IE6 but not in Firefox. html: <html-el:form action="${target}" onsubmit="return testTheForm(this)"> javascript function: <script type="text/javascript"> function testTheForm(theForm){
4
5738
by: phanimadhav | last post by:
hai this is sudheer.I don't know how to use googlmaps .I am serching in net but its not working in my application one error was occur at the executionTime Objectexpected.This is the url http://www.codeproject.com/useritems/Use_of_Google_Map.asp <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta...
3
3072
by: brad atefi | last post by:
I am using the window.open() function to open a music player from my website. It works perfectly in firefox and chrome but ie is giving me an 'object expected' error. Here's my code, and you can access it at www.oceanmanmusic.com/audio.html <SCRIPT language="JavaScript1.2"> function openwindow1() { window.open("triparoundtheworld.html","mywindow", "menubar=1,resizable=1,width=333,height=333");
0
9670
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9033
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.