读书人

upda = String.Format(quot;update 车间存

发布时间: 2012-03-09 16:54:57 作者: rapoo

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)

读书人网 >VB Dotnet

热点推荐