how to use GetRows() with VBscrip (ASP)?
From: Mich (mich_at_nomail)
Date: 10/30/04
- Next message: Mark J. McGinty: "Re: how to use GetRows() with VBscrip (ASP)?"
- Previous message: Ranjeet: "DB2 CommandTimeout issue"
- Next in thread: Mark J. McGinty: "Re: how to use GetRows() with VBscrip (ASP)?"
- Reply: Mark J. McGinty: "Re: how to use GetRows() with VBscrip (ASP)?"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 30 Oct 2004 17:55:46 +0200
Hi,
I want to use GetRows() instead of RecordCount, but i have some problem with
array in VBscript (ASP).
This is what i want to change with GetRows():
<%
set objdc = Server.CreateObject("ADODB.Connection")
objdc.Open("provider=Microsoft.Jet.OLEDB.4.0; Data Source =c:\mydb")
sql="select field1 from mytable;"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql, OBJDC, 3, 3
rec=rs.RecordCount
%>
Thanks
Mich
- Next message: Mark J. McGinty: "Re: how to use GetRows() with VBscrip (ASP)?"
- Previous message: Ranjeet: "DB2 CommandTimeout issue"
- Next in thread: Mark J. McGinty: "Re: how to use GetRows() with VBscrip (ASP)?"
- Reply: Mark J. McGinty: "Re: how to use GetRows() with VBscrip (ASP)?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|