SQL语句,循环插,高手帮忙看看.马上结帐
Dim doorKey As String = Me.hdnlstBoxRight.Value
能取到doorKey = {2,3,5,7,9..}
INSERT INTO T_Va ( door_key, date_st " & _
") VALUES( " & _
" ' " & userNo & " ', " &
我想把doorKey里面的数循环插入到下面T_Va中的door_key,该怎么做?
[解决办法]
先占个位
[解决办法]
用循环控制结构来插入就可以了
[解决办法]
foreach()
[解决办法]
如果存储过程用WHILE开循环