Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPOLEDB and Parameters
Message
From
29/06/2004 16:32:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
VFPOLEDB and Parameters
Miscellaneous
Thread ID:
00918660
Message ID:
00918660
Views:
49
I'm using the VFPOLEDB provider and I am creating a command object like this:
OleDbCommand objCmd = new OleDbCommand("select * from customers where CustomerID = ?");
objCmd.Parameters.Add("CustomerID", "ALFKI");
When I execute this command I am getting an OleDbException that says:
No value given for one or more required parameters.
How do I use the parameter collection to pass parementers to commands?
Thanks,
Dan Jurden
djurden@outlook.com
Next
Reply
Map
View

Click here to load this message in the networking platform