Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid/Recordset Binding
Message
De
26/11/2002 10:01:10
 
 
À
26/11/2002 00:27:15
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00726581
Message ID:
00726993
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>Hi J
>
>When and how would I assign the myRecordset fields to certain DataGrid1 columns...?
>
>Thanks again!

When you assign your recordset as the datasource all columns from it are visible on the grid. You can't specify which fields show in which columns but you can control which are visible by changing their Visible property to False. For example:
DataGrid1.Columns(1).Visible = False
Where the columns collection is zero-based. If you want a particular order you need to control that with your SELECT statement. HTH,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform