엑셀 행 전체 데이터를 가져와서 리스트 안에 넣는 방법이 있을까요?
리스트 데이터를 (‘list1’, ‘list2’, ‘list2’ …) 이런 형태의 string으로 출력하고 싶습니다.
HI,
Can you share input and expected sample?
We can extract row data as list from datatable as the following, for example.
listStr = dt.Rows(0).ItemArray.Select(Function(o) o.ToString).ToList()
Regards,
Hi
How about the following sample?
listStr = dt.AsEnumerable.Select(Function(r) r("AAA").ToString).ToList()
Sample20231114-1L.zip (9.0 KB)
Regards,