sCon1="Provider=MSDASQL;DSN=meiyon_shiyan;UID= ;PWD= ;"
sql="INSERT INTO Table1(Value_ID) VALUES 3;"
'sql="SELECT * FROM Table1"
Set conn1=CreateObject("ADODB.Connection")
conn1.ConnectionString=sCon1
conn1.CursorLocation=3
conn1.Open
Set oRs=CreateObject("ADODB.Recordset")
Set oCom1=CreateObject("ADODB.Command")
oCom1.commandType=1
Set oCom1.ActiveConnection=conn1
oCom1.CommandText=Sql
总是出这个毛病. 我写错了吗 . 我用SELECT 语句就能执行. INSERT INTO 就不行了.急燥啊
oCom1.Execute