Skip to content

Instantly share code, notes, and snippets.

@NaelsonDouglas
Created June 12, 2020 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NaelsonDouglas/29dbbc4d0e5ea0368a2831d0bf3d7265 to your computer and use it in GitHub Desktop.
Save NaelsonDouglas/29dbbc4d0e5ea0368a2831d0bf3d7265 to your computer and use it in GitHub Desktop.
DataSet dataSet = new DataSet();
DataTable table = new DataTable("BATCHES");
table.Columns.Add("Teste", typeof(string));
table.Columns.Add("Teste2", typeof(string));
table.Rows.Add("2", "2");
table.Rows.Add("2", "2");
table.Rows.Add("2", "2");
table.Rows.Add(new List<string>() { "ab", "b" }.ToArray());
dataSet.Tables.Add(table);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment