0
For Each 루프를 사용하는 대신 DataTable의 단일 열에서 모든 항목을 추출하는 방법이 있습니까?DataTable에서 열 추출
예를 들어, 다음은 더 좋은 방법 및/또는이 작업을 수행하는 빠른 방법이 있나요 DataTable에
List<KeyValuePair<string, double>> extract = new List<KeyValuePair<string, double>>();
foreach (DataRow item in _dataTableTest.Rows)
{
KeyValuePair<string, double> selection = (KeyValuePair<string, double>)item["Selection"];
extract.Add(selection);
}
의 단일 컬럼의 각 행에서 KeyValuePair의 목록을 작성?