Robert Chu
01-02-2006, 05:13 PM
Hello,
I use the following code to connect to sql server 2000. There will be errors like this: 'Let' and 'Set' assignment statements are no longer supported. How can I fix it ?
Set ConnSt03=Server.CreateObject("ADODB.connection")
STRCON="PROVIDER=SQLOLEDB.1;DATA SOURCE=localhost;USER ID=KKK;PASSWORD=KKK;INITIAL CATALOG=test"
I use the following code to connect to sql server 2000. There will be errors like this: 'Let' and 'Set' assignment statements are no longer supported. How can I fix it ?
Set ConnSt03=Server.CreateObject("ADODB.connection")
STRCON="PROVIDER=SQLOLEDB.1;DATA SOURCE=localhost;USER ID=KKK;PASSWORD=KKK;INITIAL CATALOG=test"