I have a datatble with one
column
I want to concat each filename with wrapper div
something like :
<div>File Attached : file1 </div>
<div>File Attached : file2 </div>
<div>File Attached : file3 </div>
...
I have succedded with :
string f = String.Join(" ", (from dr in dt.AsEnumerable()
select "<div>File Attached : " + dr[0].ToString() + "</div>").ToArray<string>());
but didnt success with :
https://i.stack.imgur.com/xCKLD.jpg
How can i do it with the .Join
method after the ToArray
method ?