Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using OLE DB and asp
Message
De
13/10/2001 11:18:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/10/2001 10:54:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00568144
Message ID:
00568154
Vues:
16
>I did it , but it doesn't work
You can easily write this in ASP (check DBC path):
Local oRecordset,oConnection
oRecordset = CreateObject("adodb.recordset")
oConnection = CreateObject("adodb.connection")

With oConnection
  .ConnectionString = [Provider=VFPOLEDB.1;Data Source=C:\ddrive\TEMP\testdata.DBC;]
  .Open
Endwith
With oRecordset
  .ActiveConnection = oConnection
  .Source = [select * from employee]
  .Open
Endwith
Do while !oRecordset.eof()
  ? oRecordset.Fields(1).Value
  oRecordset.MoveNext
Enddo
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform