get array from column datatable c# code example
Example: get array from column datatable c#
datatable1.AsEnumerable().Select(r => r.Field<string>("Name")).ToArray();
datatable1.AsEnumerable().Select(r => r.Field<string>("Name")).ToArray();