David,
There is no value Int32 in the OleDbType enumeration. Instead, you will
want to use the OleDbType.Integer value.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Da***@web.com" <Da*********@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
I use the parameter command,
cmd.Parameters.Add("@var_new", OleDbType.Int32).Value= t_var;
I receive the error,
CS0117: 'System.Data.OleDb.OleDbType' does not contain a definition for
'Int32'
What's the problem?