how to get particular column array data from datatable in 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();