您所在的位置:Seago-Microsoft Windows>>Windows管理脚本>> visual stdio 高手请进!

visual stdio 高手请进!

作者:admin 来源:新浪爱问 日期:2008-04-22 

Dim strsql1 As String = " update StockStatistic set StockAccount=StockAccount 10 where ProductID like '%" & Me.txtProductID.Text & "%' and a = txtAccount.Text"

我想把"10"改成一个变量为textbox1.text里的值.
请高手们帮帮我吧! 电脑问题网给出的最佳答案 Dim strsql1 As String = " update StockStatistic set StockAccount=StockAccount "& textbox1.text &" where ProductID like '%" & Me.txtProductID.Text & "%' and a = txtAccount.Text"
呵呵……太感谢你了!你会万福的^^