Type mismatch

Help
No Way
2002-11-29
2002-11-29
  • No Way

    No Way - 2002-11-29

    Hi. I made a .js file and tried compiling it with jsc. It found an error in this line:
    var dt : DataTable = new MySQLSelectCommand(myConn, new Array("id","naziv","cena"), new Array("Artikel"), null, null, null).Table;

    The error was  error JS0013: Type mismatch

    I'm puzzled why this is so - the same code works flawlessly in asp.net

    Jure

     
    • No Way

      No Way - 2002-11-29

      forgot to mention: if dt has no predefined type e.g. var dt = new select... the compiler compiles ok.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks