<%
set strCon = Server.CreateObject("ADODB.connection")
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("db1.mdb")
sql="Select * from customers"
set rs = strCon.execute(sql)
%>
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'strCon'
/www/asp_vb/asp_vb.asp, line 5
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
GET /www/asp_vb/asp_vb.asp
Time:
20 กรกฎาคม 2549, 17:50:31
More information
Tag : - - - -
Date :
20 ก.ค. 2549 17:53:32
By :
เกาลัด กำลังTrainning
View :
2307
Reply :
2
No. 1
Guest
<%
set strCon = Server.CreateObject("ADODB.connection")