Access Table with Integer fields Price , Amount def as double Coversion problem
Posted: Mon Mar 11, 2019 9:34 am
Yes, as Johan said. It's much more efficient to get the value through "unboxing" compared to converting it to a string and then parsing that string back into a number again. The value of rdr["EPPreis"] is an Object(System.Double) (a System.Double stored in an object variable).
Another observation;
If you use string constants for your field, and table names you get a spell check at compile time, and you can also easily find all references to a particular field or table in your code.
/MathiasH
Another observation;
If you use string constants for your field, and table names you get a spell check at compile time, and you can also easily find all references to a particular field or table in your code.
/MathiasH