string[] arrRate = dtRate.AsEnumerable().Select(d => d.Field<string>("列名")).ToArray(); List<string> litRate = dtRate.AsEnumerable().Select(d => d.Field<string>("列名")).ToList();
原文地址:https://www.cnblogs.com/gudaozi/p/10376586.html
时间: 2024-11-13 00:57:29