Compiler Error Message: CS1002: ; expected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shaheen Kushan
    New Member
    • Jul 2010
    • 7

    #1

    Compiler Error Message: CS1002: ; expected

    I desperately need help with this error,

    Compilation Error:
    Compiler Error Message: CS1002: ; expected

    Source Error:

    Line 71: //"----------------------------------------------------------------------"
    Line 72: //" -- Declare Variables"
    Line 73: Dim objConn
    Line 74: Dim objRS
    Line 75: Dim strSQL


    i apprciaite any help,

    Thanks,
    Shaheen
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Are you developing a C# application or a VB.NET application?

    -Frinny

    Comment

    • Shaheen Kushan
      New Member
      • Jul 2010
      • 7

      #3
      thanks very much for your reply, i have managed to solve the problem, however i am facing a new problem, which i appreciate if you could guide me through it,

      btw, i am trying to have a web page programmed using MS Visual Studio + C# connecting to MS SQL Server. and here is the error message:

      Invalid object name 'property'.
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

      Exception Details: System.Data.Sql Client.SqlExcep tion: Invalid object name 'property'.

      Source Error:

      An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
      -----------------------


      many thanks and i look forward to hearing from you,

      Shaheen

      Comment

      Working...