Microsoft VBScript compiler errors error '800 a0401'
The statement did not end
C: \ Users \ \ Desktop \ 86199 big homework \ WWW \ addpage asp, line 9
Conn. The connectionstring="{Microsoft Access Driver (*. MDB)}"; DBO.="& amp; Server. MapPath (" data. MDB)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ^
This is why, feel the code there is no problem!!!!!!
The code is as follows: & lt; %
Dim conn
The DB="./database/data. MDB "
Set the conn=Server. CreateObject (" ADODB. Connection ")
Conn. The connectionstring="{Microsoft Access Driver (*. MDB)}"; DBO.="& amp; Server. MapPath (" data. MDB)
Conn. Open
Set the rs=Server. CreateObject (" ADODB. You ")
% & gt;
CodePudding user response:
Driver={Microsoft Access driver (*. MDB)}CodePudding user response:
Conn. The connectionstring="Driver={Microsoft Access Driver (*. MDB)}; DBQ="& amp; Server. MapPath (" data. MDB)"