请用VB怎么样批量更新SQL数据库里的数据。我的代码是这样的,可是更新不了,请大家看看。 Dim cn As ADODB.Connection
Set cn = New ADODB.Connection
cn.Open ConnectString
cn.Execute "update sky set Area='" & Combo2.Text & "'" & " where star='" & Grid1.TextMatrix(Grid1.Row, 1) & "'"
Set cn = New ADODB.Connection
cn.Open ConnectString
cn.Execute "update sky set Area='" & Combo2.Text & "'" & " where star='" & Grid1.TextMatrix(Grid1.Row, 1) & "'"
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货