首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

upda = String.Format("update 车间存料 set 库存= {0}" total)如果字段库存是变量A,这句话要如何

2012-03-09 
upda String.Format(update 车间存料 set 库存 {0}, total)如果字段库存是变量A,这句话要怎么改同上[

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)

热点排行