Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft Datagrid control Ver 6.0 (Oledb)
Message
De
20/05/2003 09:41:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/05/2003 07:43:49
Alhad Marathe
Asm Consulting
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00790364
Message ID:
00790411
Vues:
15
>I am using ADO to connect to an sql server 7 database.
>
>The connection seems to be fine, in that I can view the data in textboxes on a form and navigate through them. My problem is how do I get the data into the MS Datagrid control. It does not seem to have a data source property in the properties window. But I can put this code in the init event of the grid:
>
>this.datasource = oRec
>
>I also set the columns in the grid to oRec.fields(0), oRec.fields(1) and so on. However the grid shows no data. It does show blank records
>
>What am I missing ? And, is there a better way?
>
>Thanks in advance
>
>
>Alhad

Check Thread #786951
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