what is "No overload for method 'runNonSelectQuery' takes '3' arguments" mean
-
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
-
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
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