G
Guest
I am wirting a VB program, and use the following code in a form load event
Dim prm38 As OleDb.OleDbParameter = _
dap3.UpdateCommand.Parameters.Add("@total_points", _
System.Data.OleDb.OleDbType.Integer, "total_points")
prm38.SourceColumn = "total_points"
And Receive the following Error:
An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll
Additional information: Cast from string "total_points" to type 'Integer' is not valid.
I am using an Access database
field total_points is a number field type integer
Help.
Dim prm38 As OleDb.OleDbParameter = _
dap3.UpdateCommand.Parameters.Add("@total_points", _
System.Data.OleDb.OleDbType.Integer, "total_points")
prm38.SourceColumn = "total_points"
And Receive the following Error:
An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll
Additional information: Cast from string "total_points" to type 'Integer' is not valid.
I am using an Access database
field total_points is a number field type integer
Help.