Dim idx = DataGridView1.Rows.Add() Dim row = DataGridView1.Rows(idx) row.Cells(0).Value = "aaa" row.Cells(1).Value = "bbb" row.Cells(2).Value = "ccc"
Dim tbl as DataTable ・・・・ tblにデータを取得 ・・・・ For Each row in tbl.Select("条件","並び順") Dim value = row("項目") Next