<?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: Typed Datasets - using inner joins</title><link>http://forums.asp.net/thread/3275902.aspx</link><pubDate>Mon, 06 Jul 2009 04:25:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275902</guid><dc:creator>Wencui Qian - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275902.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3275902</wfw:commentRss><description>&lt;p&gt;Hi &lt;strong&gt;Ahasan,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As suggested above, it&amp;#39;s not supported by now to write JOIN queries in typed dataset directly. The normal way is to use stored procedure instead. That means, you could write a stored procedure with JOIN queries in database, and use it in typed dataset. A custom type will be auto-generated to store the results returned in stored procedure. Please take a look at this tutorial first:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.asp.net/Learn/data-access/tutorial-68-vb.aspx"&gt;http://www.asp.net/Learn/data-access/tutorial-68-vb.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: Typed Datasets - using inner joins</title><link>http://forums.asp.net/thread/3274593.aspx</link><pubDate>Sat, 04 Jul 2009 11:37:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274593</guid><dc:creator>Ahasan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274593.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3274593</wfw:commentRss><description>&lt;p&gt;Okay, so if i cant get a typed dataset that contains the data from both tables. That makes it useless. And defeats the whole purpose of creating&amp;nbsp; typed dataset and sticking to tiered architecture.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Taking about Linq, i havent used it much but the problem i have with it is i dont want to learn lambda expression and all. Plus people have mentioned the lack of control on your sql in this approach.Generally not really fond of the concept of OR mappers&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Doesnt that leave us with Data Access Block(enterprise library), the only problem i have with it is there should be a way to synchronise, (Buisness objects)classes with Database tables.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Typed Datasets - using inner joins</title><link>http://forums.asp.net/thread/3274220.aspx</link><pubDate>Sat, 04 Jul 2009 04:27:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274220</guid><dc:creator>Jameel Ahmed</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274220.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3274220</wfw:commentRss><description>&lt;p&gt;follow this link&lt;/p&gt;&lt;p&gt;http://www.c-sharpcorner.com/UploadFile/rupadhyaya/TypedDataSets12032005021013AM/TypedDataSets.aspx&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Typed Datasets - using inner joins</title><link>http://forums.asp.net/thread/3274208.aspx</link><pubDate>Sat, 04 Jul 2009 04:18:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274208</guid><dc:creator>nmreddy83</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274208.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3274208</wfw:commentRss><description>&lt;p&gt;you can not apply inner join directly on resut set (Typed DataSet).&lt;/p&gt;&lt;p&gt;There are few styles to acheive this&lt;/p&gt;&lt;p&gt;1. You can write filter conditions based on both &amp;amp; select the required records from it&lt;/p&gt;&lt;p&gt;2. If you use LINQ on DataSets, you can write down&lt;/p&gt;&lt;p&gt;3. If you use some ORM model to get data from Server like Linq-SQL or ADO.net Entity Framework you can acheive this very easily&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Typed Datasets - using inner joins</title><link>http://forums.asp.net/thread/3274206.aspx</link><pubDate>Sat, 04 Jul 2009 04:16:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274206</guid><dc:creator>jewelhere</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274206.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3274206</wfw:commentRss><description>&lt;p&gt;assume table1 and table2&lt;/p&gt;&lt;p&gt;select table1.*,table2.* from table1 inner join table2 on table1.matchedDataField=table2.matchedDataField&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;please mark as answer if this helps u.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Typed Datasets - using inner joins</title><link>http://forums.asp.net/thread/3273997.aspx</link><pubDate>Fri, 03 Jul 2009 20:44:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273997</guid><dc:creator>Ahasan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273997.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3273997</wfw:commentRss><description>&lt;p&gt;I am developing my first project using Typed datasets. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here is the problem i cant get my head round.&lt;/p&gt;&lt;p&gt;I have got two datatables which are related to each other. i want to access the columns from both the tables( ie inner join).&amp;nbsp; &lt;/p&gt;&lt;p&gt;How can i do that such that i have datasets which are typed.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>