[vb.net][dataView] test sur chaque lignes
Bonjour,
alors la forme ?
Ben moi ça va super bien, c'est vendredi !
:D bon , oui ok, j'ai un truc a vous demander.
J'ai un datatable ou je vais chopper ligne par ligne de cette manière
Code:
1 2 3 4
|
For Each _row As DataRow In Dt.Rows
MsgBox(_row("Colonne").ToString)
Next |
Je fais ensuite un data view avec uniquement certaine ligne et je voudais faire la meme chose mais uniquement sur le dataview, mais ça marche pas comme ça :
Code:
1 2 3 4
|
For Each _row As DataRow In Dv
MsgBox(_row("Colonne").ToString)
Next |
:?:
sinon peut on remplir une nouvelle datatable à partir de mon dataview ?
edit : j'ai fais ça
Code:
tmpdt = createTable(Dv)
avec une fonction qui va bien, mais ya pas plus simple ?