Error converting datatype varchar to float error

Jul 31 2019 5:23 AM
Hello everyone,
 
I wrote a code in C #. This code inserts the data that I take from PLC into sql. When I run the .exe file on my own computer, the program runs without error and the insert operation takes place. However, when I run the same program on the same code on another computer, I get an "Error converting data type varchar to float" error. The .NET Framework versions of both computers are identical. What can be the problem?

Answers (4)