c# get datatable column values to list

  List<string> list = dtusers.AsEnumerable()

                           .Select(r=> r.Field<string>("UserCode"))

                           .ToList();

Yorumlar