home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 March
/
Chip_1999-03_cd.bin
/
zkuste
/
delphi
/
INFO
/
DI9812RL.ZIP
/
MyTest.asp
< prev
Wrap
Text File
|
1998-10-26
|
841b
|
33 lines
<%@ Language=VBScript%>
<HTML>
<HEAD>
<META NAME="GENERATOR"
Content="HyperAct eAuthor Help 3.0 Preview 5">
<META HTTP-EQUIV="Content-Type"
content="text/html; charset=iso-8859-1">
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>
<%
Set DelphiObj = Server.CreateObject("AdoProj.DelphiADO")
%>
<h3>This page provides information gathered
from a
Delphi Automation object</h3>
Object Version: <%= DelphiObj.Version %><BR>
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.open "DISample", "", ""
Set Rs = Server.CreateObject("ADODB.Recordset")
Rs.open "SELECT * FROM [Customers]", Conn, 3, 3
%>
Number of records in recordset <%= Rs.RecordCount %>
<BR>
<%
Counter = DelphiObj.CustomerCount
%>
Number of records reported by Delphi object <%= Counter %>
<br>
End of Story
</BODY>
</HTML>