I have a field called dependants and its numeric , length 9 in my SQL Server Table.
I have a stored procedure that has a parameter which accepts a value for dependants..
the code is below;
Command1.Parameters.Append Command1.CreateParameter("@dependants", 139, 1,9,Command1__dependants)
but on the line above i get the following error;
Application uses a value of the wrong type for the current operation.
Can anyone tell me what the problem is and the solution.?