http://www.jianshu.com/p/355d96650ff1
需要手动指定保留位数就好,例子:
var allAmount = SqlDbType.Decimal.Out("AllAmount"); allAmount.Scale = 5; allAmount.Precision = 18; cmd.Parameters.Add(allAmount);
http://www.jianshu.com/p/355d96650ff1
需要手动指定保留位数就好,例子:
var allAmount = SqlDbType.Decimal.Out("AllAmount"); allAmount.Scale = 5; allAmount.Precision = 18; cmd.Parameters.Add(allAmount);
转载于:https://www.cnblogs.com/a14907/p/6958705.html