|
|
|
|
|
| | |
|
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Help me |
From: |
TuanAnh Dinh |
Date: |
9/16/1999 1:32:34 AM |
IP: |
206.250.128.199 |
I have a problem with ADO.
Heres my code
<HTML>
<!--Include file="datastore.inc" -->
<!--Include file="adovbs.inc" -->
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<script language=vbscript runat=server>
Dim objRec
Set objRec=server.CreateObject("adodb.recordset")
ObjRec.Open "contact",strconnect,adOpenKeyset,adLockReadOnly,adCmdtable
While not objrec.EOF()
Response.Write objrec("name")
Response.Write "<br>"
objrec.MoveNext
wend
objrec.Close
set objrec=nothing
</script>
</BODY>
</HTML>
contact : table name where I store datasource in datastore.inc
But it cant run, heres runtime error:
ADODB.Recordset error 800a0bb9
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
/begasp/database1.asp, line 12
please help me solve that problem
Thanks |
Follow Up - Re: Help me - lauren 9/19/1999 8:21:29 PM
|
|
|
|
|
|
|
|
|
|
|
|