Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

LINQ Query string.join

$
0
0

Hi,

I have a list having the bellow.

ID    Flag1   Flag2   Flag3

--------------------------

1      Y         N       N

2      Y         Y       N

3      Y        Y       Y

and I want the result which will be a string which will join all 4 columns and display me result like this format

1,Y,N,N;2,Y,Y,N;3,Y,Y,Y

Thanks in advance!


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>