FiberGhost
Instructor
I have a ASP webform that reads data from a Microsoft SQL 7 database and displays it on a webform. You can then edit the data and resubmit it.
One of the fields is Hours (time) spent on the project. The data type in SQL is numeric. After reading the data in and posting it to the form, when the user updates the hours and hits submit I got the following error.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to numeric.
/so/SOLookup.asp, line 23
The data type is numeric. I can not figure it out. I change the datatype to int and then same thing occurs but it says...
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar '5.5' to int.
/so/SOLookup.asp, line 23
Any ideas?
One of the fields is Hours (time) spent on the project. The data type in SQL is numeric. After reading the data in and posting it to the form, when the user updates the hours and hits submit I got the following error.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to numeric.
/so/SOLookup.asp, line 23
The data type is numeric. I can not figure it out. I change the datatype to int and then same thing occurs but it says...
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar '5.5' to int.
/so/SOLookup.asp, line 23
Any ideas?