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
Post a Comment