I have a DataTable dtTemp as follows
---------------------------------
ID | Name
---------------------------------
101 | ABC
102 | PQR
---------------------------------
I just want a string which consist of all names.
Like
String str="ABC,PQR"
You can use LINQ:
(or
r["Name"]if it’s not a typed dataset)