<HTML><HEAD><TITLE> ADO Example </TITLE></HEAD> <BODY> <% Set MyConn=Sever.CreateObject(“ADODB.Connection”) MyConn.Open “FILEDSN=c:\Program Files\Common Files\ODBC\Data Sources\MyData.dsn” MyConn.Execute “INSERT Mytable (mycolumn) VALUES (‘Hello World!’)” MyConn.Close %> </BODY></HTML>
上面是我的程序,可是出错了。如下: Microsoft VBScript 编译器错误 错误 '800a03f6' 缺少 'End' /iisHelp/common/500-100.asp,行242 Microsoft VBScript 编译器错误 错误 '800a0408' 无效字符 /y/Default.asp,行8 Set MyConn=Sever.CreateObject(“ADODB.Connection”) ----------------------------^