http://www.jianshu.com/p/355d96650ff1

 

需要手动指定保留位数就好,例子:

                        var allAmount = SqlDbType.Decimal.Out("AllAmount");
                        allAmount.Scale = 5;
                        allAmount.Precision = 18;
                        cmd.Parameters.Add(allAmount);

 

相关文章:

  • 2022-01-07
  • 2021-05-19
  • 2021-06-10
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-04-16
猜你喜欢
  • 2021-06-04
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
相关资源
相似解决方案