<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Display data from two table</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Display data from two table</description>
  <pubDate>Sat, 11 Apr 2026 16:17:07 -700</pubDate>
  <lastBuildDate>Fri, 27 Aug 2010 13:46:53 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2099</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Display data from two table : Sounds good. Glad I could help....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8250#8250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 27-Aug-2010 at 1:46pm<br /><br />Sounds good. Glad I could help.]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 13:46:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8250#8250</guid>
  </item> 
  <item>
   <title>Display data from two table : HiThanks very muchits working...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8247#8247</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 27-Aug-2010 at 12:27pm<br /><br />Hi<br><br>Thanks very much<br><br>its working just need more figureout due to list.. but finally acheived result..<br><br>Thanks a Million..<br>]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 12:27:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8247#8247</guid>
  </item> 
  <item>
   <title>Display data from two table : The EntityManager that you put...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8245#8245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 27-Aug-2010 at 10:49am<br /><br />The EntityManager that you put is your EntityManager assigned to your model. Please see my code sample below working with the NorthwindIB database that comes when you install your DevForce.<div><br></div><div>var _mgr = new NorthwindIBEntityManager();<br><div><br></div><div><div>var query2 = from employee in _mgr.Employees</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; join order in _mgr.Orders</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; on employee.EmployeeID equals order.EmployeeID</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where employee.EmployeeID == 5</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; select new {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; employee.EmployeeID,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; employee.FirstName,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; employee.LastName,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; order.OrderID,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; order.ShipCity</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</div><div><br></div><div>dataGrid.ItemsSource = query2.ToList();</div></div></div>]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 10:49:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8245#8245</guid>
  </item> 
  <item>
   <title>Display data from two table : HiThis is still giving errorEn...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8244#8244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 27-Aug-2010 at 10:43am<br /><br />Hi<br><br>This is still giving error<br><span style=""><b>EntityManager</b>.<u>Students</u></span><br><br>Error:Does not contrain the defination of Students and no extension method studen accepting first<br>arugment type 'Students.Model.StudentEntities<br><br>Still i am stucking on this..<br><br><br>Thanks<br>]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 10:43:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8244#8244</guid>
  </item> 
  <item>
   <title>Display data from two table : I would rewrite your query like...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8243#8243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 27-Aug-2010 at 10:35am<br /><br />I would rewrite your query like this<div><br></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">var query2 = from STUDENT in <b>EntityManager</b>.Students<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; join SORDER in&nbsp;</span><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><b>EntityManager.</b></span><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Sorders</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on STUDENT.ID equals SORDER.SORDER_ID<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select new<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&n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<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">then assign it like this</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">DataGrid.ItemsSource = query2.ToList();</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">Please try that and let me know.</span></div>]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 10:35:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8243#8243</guid>
  </item> 
  <item>
   <title>Display data from two table : I try to assing but giving errorThere...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8239#8239</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 27-Aug-2010 at 4:46am<br /><br />I try to assing but giving error<br><br>There is no ExecuteAsync() for query2<br><br>query.<u>Ex</u>....<br><br><br><br>Do you know How can I assing with this query. I made query with lambda but they also have error<br>]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 04:46:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8239#8239</guid>
  </item> 
  <item>
   <title>Display data from two table : Bala;Try assigning the grid&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8231#8231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 26-Aug-2010 at 5:01pm<br /><br />Bala;<div><br></div><div>Try assigning the grid's ItemsSource to query2.ToList();</div>]]>
   </description>
   <pubDate>Thu, 26 Aug 2010 17:01:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8231#8231</guid>
  </item> 
  <item>
   <title>Display data from two table : HiI can displya record from single...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8210#8210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2099<br /><strong>Posted:</strong> 26-Aug-2010 at 9:55am<br /><br />Hi<br>I can displya record from single table with this code<br><br>&nbsp;var query = _mgr.STUDENTs;<br>query.ExecuteAsync(op =&gt; op.Results.ForEach(Students.Add));<br>&nbsp;&nbsp; StudentGrid.ItemsSource = Students;<br><br>but I like to make join with another table and wanted to show data in single grid<br><br>for that i write this linq<br>var query2 = from STUDENT in Students<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; join SORDER in Sorders<br>&nbsp;&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STUDENT.ADDRESS,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SORDER.SORDER_ID,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SORDER.OCITY<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>problem is I am not able to bind this query with datagrid<br><br>any help?<br>]]>
   </description>
   <pubDate>Thu, 26 Aug 2010 09:55:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2099&amp;PID=8210#8210</guid>
  </item> 
 </channel>
</rss>