Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. what is "No overload for method 'runNonSelectQuery' takes '3' arguments" mean

what is "No overload for method 'runNonSelectQuery' takes '3' arguments" mean

Scheduled Pinned Locked Moved Database
helpquestiontutorialannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eyungwah
    wrote on last edited by
    #1

    Hi all: what is "No overload for method 'runNonSelectQuery' takes '3' arguments" This is the code that give me this error message above. I was trying to run an INSERT INTO FILE(Description,Title,Host,Port)Values('name','','') base on the User's input from the TextBox. this.m_SQLClient.update(this.TB_Insert.Text,this.TB_Values.Text,this.TB_B.Text ); any suggestion how to insert multiple argument for the code above? Thanks in advance for your help. eyungwa

    C 1 Reply Last reply
    0
    • E Eyungwah

      Hi all: what is "No overload for method 'runNonSelectQuery' takes '3' arguments" This is the code that give me this error message above. I was trying to run an INSERT INTO FILE(Description,Title,Host,Port)Values('name','','') base on the User's input from the TextBox. this.m_SQLClient.update(this.TB_Insert.Text,this.TB_Values.Text,this.TB_B.Text ); any suggestion how to insert multiple argument for the code above? Thanks in advance for your help. eyungwa

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      The compiler's error message you give does not match the code you have given. The error message will be for a line of code that calls a method called runNonSelectQuery. The actual method exists, but you have supplied 3 parameters (arguments) to the method. The method requires a different number of arguments. Check what the methods needs and supply the correct information to it. If you still have problems please post the relevant code.


      Upcoming events: * Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups