Dim dt As New DataTable dt.Columns.Add("Column1", GetType(Integer)) dt.Columns.Add("Column2", GetType(Integer)) dt.Columns.Add("Column3", GetType(Integer)) dt.Columns.Add("Column4", GetType(Integer)) dt.Columns.Add("Column5", GetType(Integer)) Dim row As DataRow = dt.NewRow For Each col In dt.Columns Dim i As Integer i += 1 row(col) = i Next dt.Rows.Add(row)