parameters for an OleDb database connection

fguihen

Well-known member
Joined
Nov 10, 2003
Messages
248
Location
Eire
when declaring the parameters for an insert command for a data adapter i use a line like this:

adapter.InsertCommand.Parameters.Add("@Phone",SqlDbType.Decimal,9,"Phone");

this is if im using an sql server database.
if im using an OleDb connection ,connecting to an access database what do i use instead of SqlDbType??
 
Back
Top