Get value of data row variable

A DataRow is a complex object, you can’t just convert it to string.

If you want to see the values in the DataRow you use the ItemArray property and Join it into a string:

String.Join(",",drCorrespondingRow.ItemArray)

2 Likes