<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Access and ObjectDataSource Control</title><link>http://forums.asp.net/23.aspx</link><description>Questions and discussions related to using ADO.NET for data access, and the ObjectDataSource control. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=9&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Distinct Query in LINQ</title><link>http://forums.asp.net/thread/3274118.aspx</link><pubDate>Sat, 04 Jul 2009 00:32:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274118</guid><dc:creator>malcolms</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274118.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3274118</wfw:commentRss><description>&lt;p&gt;You can use the Distinct method with LINQ queries.&amp;nbsp; Like this:&lt;pre name="code" class="c-sharp"&gt;var query = (from p in Customers
                  select p).Distinct();&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Distinct Query in LINQ</title><link>http://forums.asp.net/thread/3273890.aspx</link><pubDate>Fri, 03 Jul 2009 18:01:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273890</guid><dc:creator>PRIYA.CYNTHIA</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273890.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3273890</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;
&lt;p&gt;I have a requirement to write a query using LINQ, to fetch distinct values from a list (with repeated primary key values). The other field values in the list (with non redundant data)&amp;nbsp;for the&amp;nbsp;corresponding primary key value, should be shown as comma seperated values. Is there any&amp;nbsp;option in LINQ for&amp;nbsp;this issue.&lt;/p&gt;</description></item></channel></rss>