DataTable d = new DataTable();
for (int i = 0; i < myArray.Count; i++)
{
        string name = myArray[i]; d.Columns.Add(name);

 }