DataRow配列arr_drを文字列配列arr_strに変換する構文

こんにちは
UiPath Studio 2025.0.167STS Community editionのユーザーです。

DataTable変数dtからDataRow配列arr_drに変換する構文は

arr_dr=dt.AsEnumerable.Where(Function(row)~).ToArray()

だと思いますが、DataRow配列arr_drを文字列配列arr_strに変換する構文はどうなりますか?

@gorby

If you want all the columns data for each row to be appended to single string then this is how you would use

Arr_str = arr_dr.Select(function(x) string.Join(",",x.ItemArray)).ToArray

Cheers

Thank you, a proud Indian, @Anil_G

I hope to go for a drive with you in my e-VITARA someday.

Cheers to your Lord Lakshmi

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.