Dim table As New DataTable table.Columns.Add("TEST", GetType(String)) table.Rows.Add("AAA") table.Rows.Add("BBB") table.Rows.Add("CCC") DataGridView1.DataSource = table
Dim dataset As New DataSet Dim table As New DataTable("MyTable") table.Columns.Add("TEST", GetType(String)) table.Rows.Add("AAA") table.Rows.Add("BBB") table.Rows.Add("CCC") dataset.Tables.Add(table) DataGridView1.DataMember = "MyTable" DataGridView1.DataSource = dataset