Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET equivalent of
Message
 
 
To
06/11/2006 16:17:18
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01167436
Message ID:
01167481
Views:
6
Alex,

You have a good point about Binary fields, etc. Those would need separate methods. We honestly do not use many of those.

I am not seeing hos I can add a parameter without a type. I keep getting compiler errors if I try that. Do you have an example of adding a parameter to a command object (both SqlCommand and OleDbCommand) only defining a name/value pair?

Thanks,
JoeK

>Joe as matter of fact you don't even need a type to add the parameter you can do it just passing the name, the value or in 2005 call the AddWithValue method of the parameters collection.
>What about general fields or binary or blog fields how will u put that into your Sql string?
>if you use parameters is the dataprovider that manages that for you.
Previous
Reply
Map
View

Click here to load this message in the networking platform