upda = String.Format("update 车间存料 set 库存= {0}", total)如果字段库存是变量A,这句话要怎么改
同上
[解决办法]
upda = String.Format( "update 车间存料 set 库存= {0} ", A)
[解决办法]
upda = String.Format( "update 车间存料 set " & A & "= {0} ", total)
[解决办法]
upda = String.Format( "update 车间存料 set {0}= {1} ", A,total)