Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

DataGridView Données

2 réponses
Avatar
Scottmat
Bonjours,
Comment accéder à toutes mes lignes de la 1er colonne dans un DataGridView
avec une boucle pour qu’elle s’affiche dans un MsgBox les un après les autres
!
C’est urgent
Merci par avance

2 réponses

Avatar
Christian
dim I as integer

for i = 0 to DataGridView.Rows.Count -1
msgbox(Datagridview.rows(i).cells(0).Value)
next

tu peux aussi travailler avec for each

a+

--
http://www.correzeweb.com
http://www.localetv.com
http://cerbermail.com/?5RVJmRhSQw
Avatar
Scottmat
Sa marche à merveille !
Encore Merci à vous et bonne semaine ;)

"Christian" a écrit :

dim I as integer

for i = 0 to DataGridView.Rows.Count -1
msgbox(Datagridview.rows(i).cells(0).Value)
next

tu peux aussi travailler avec for each

a+

--
http://www.correzeweb.com
http://www.localetv.com
http://cerbermail.com/?5RVJmRhSQw