Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionExpected ')'memberMember 911397420 Jun '12 - 21:47 
While Executing the asp.net (C#) page. I found an error called Expected ')'. Actually the code block and design block doesn't contain any error..but it representing such error.. need to resolve it. kindly help me to solve this issue
dhipika g

AnswerRe: Expected ')' PinmemberNagy Vilmos20 Jun '12 - 22:44 
The close brace is missing and you need to find it. Given the amount of code you've shown, I'd suggest looking over there behind the aspidistra.


Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

AnswerRe: Expected ')' Pinmemberryanb3121 Jun '12 - 2:34 
It could be in a user control. You'll have to find it. If the compiler expects something, you must give it. It is king.
There are only 10 types of people in the world, those who understand binary and those who don't.

AnswerRe: Expected ')' PinmvpAbhinav S21 Jun '12 - 20:16 
Try debugging your source code. Looks like a query has a missing bracket somewhere.
Build your own survey - http://www.factile.net

AnswerRe: Expected ')' PinmemberJMummery23 Jun '12 - 13:34 
The error will be displayed in your 'Output' window. Double click on the error message and it should take you to the line of code that is in error.
Once at the line in error make sure you have the same amount of matching open and closing brackets.
 
You error is common with something like e.g.
 
lnTemp = Len(lsAmount
 
should be for example
 
lnTemp = Len(lsAmount)
 
I hope this helps.
Kind Regards
Julian Mummery
 


AnswerRe: Expected ')' PinmemberDhyanga9 Jul '12 - 11:38 
check all the files aspx.cs and .aspx and .cs files.
suchita

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid