Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't insert into VFP table
Message
From
29/12/2006 20:38:21
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Can't insert into VFP table
Miscellaneous
Thread ID:
01181015
Message ID:
01181015
Views:
64
I'm trying to insert a record into customer table (foxpro).

I'm using ...ExecuteNonQuery();

My insert statment looks like this:
sqlCom = "INSERT INTO customer (cust_id, company, contact) VALUES ('SAMAHN', 'SKAHN REST', 'Sam Ahn')"


The error I keep getting is:
"Cannot implicitly convert type 'int' to 'System.Data.OleDb.OleDbDataReader'

What does it not like?

TIA.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Next
Reply
Map
View

Click here to load this message in the networking platform