c# - sql type float, real, decimal? -



c# - sql type float, real, decimal? -

well in database had colum cost of 1 product had float, problem if saved since c# application 10.50 .. in query returns 10,50 , if update error 10,50 cant convert float ... or so.. , if saved decimal, in queries within sql management .. ok.. in c# application... same error.. 10.50 retuns 10,50 dont know why, , how solved it.. unique solution saved varchar...

i think setting in windows regional , language decimal symbol wrong.please set dot , 1 time again test it.

c# sql floating-point decimal

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -