Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Overload Method Error
Edward
Nov 3 2009 10:52 AM
2.4k
Reply
Hi, I am trying to build a simple program that keeps track of a list of print cartridges.
I am using C# express and SQL server express.
I have a query called 'Insert Query' which when I run it in the SQL wizard returns the correct rows.
However when I then attempt to integrate the query into the code as I have with many of my other queries I get the following error.
'No overload for Method 'InsertQuery' takes '1' argument'
My code looks like this
this.ordersTableAdapter.InsertQuery(this.orderDataSet.Orders);
This code is on a secondary form to my main form if that makes any difference?
Am I doing something very dopey here? Any help appreciated
Thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
how to read SWF in C#
running CommandPrompt from a Windows Service