Joe AddWithValue is new on .NET 2.0 and it works on any dataprovider i.e. odbc, oledb,sqlserver, SqlCE and Oracle also, If your using .NET 1.1 then you can call just the parameters.Add(paramname, value)
>Alex,
>
>FYI, I am not using the ODBC command/parameter objects. I see in the .NET documentation that AddWithValue is only for OdbcParameter class. I am using OleDbCommand and SQLCommand, so I need something that works with those.
>
>Thanks,
>JoeK
>
Alexandre Palma
Senior Application Architect