<?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: Problem Creating a Data Access Layer</title><link>http://forums.asp.net/thread/3275522.aspx</link><pubDate>Sun, 05 Jul 2009 17:11:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275522</guid><dc:creator>tlanders99</dc:creator><author>tlanders99</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275522.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3275522</wfw:commentRss><description>&lt;p&gt;After reading around I guess ADO.NET entity framework is more versatile.. for me right now I really can&amp;#39;t tell a difference because I am just programming for my own personal website... but I found it the easiest to do with asp.net thus far... out of three I have tried... I used this online chapter of a book to do it...&lt;/p&gt;&lt;p&gt;http://www.scribd.com/doc/8771486/Chp2-Getting-Started&lt;/p&gt;&lt;p&gt;thanks for all those that helped...&lt;/p&gt;</description></item><item><title>Re: Problem Creating a Data Access Layer</title><link>http://forums.asp.net/thread/3272706.aspx</link><pubDate>Fri, 03 Jul 2009 05:23:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272706</guid><dc:creator>nmreddy83</dc:creator><author>nmreddy83</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272706.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3272706</wfw:commentRss><description>&lt;p&gt;i see some MS Press books on it..&lt;/p&gt;&lt;p&gt;those are very good..&lt;/p&gt;&lt;p&gt;or you can use online resources like MSDN also&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem Creating a Data Access Layer</title><link>http://forums.asp.net/thread/3272592.aspx</link><pubDate>Fri, 03 Jul 2009 04:00:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272592</guid><dc:creator>malcolms</dc:creator><author>malcolms</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272592.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3272592</wfw:commentRss><description>&lt;p&gt;Both LINQ to SQL and Entity Framework are good ORM&amp;#39;s.&amp;nbsp; The benefit of Entity Framework is it will work with more than just SQL Server, whereas LINQ to SQL will only work with SQL Server.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Here&amp;#39;s some links:&lt;/p&gt;&lt;p&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa697427%28VS.80%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem Creating a Data Access Layer</title><link>http://forums.asp.net/thread/3272582.aspx</link><pubDate>Fri, 03 Jul 2009 03:54:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272582</guid><dc:creator>tlanders99</dc:creator><author>tlanders99</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272582.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3272582</wfw:commentRss><description>&lt;p&gt;Really?&amp;nbsp; I was not aware.. Thanks...&lt;/p&gt;&lt;p&gt;I am new to .net so I am just trying to figure some things out... I saw this typed data set tutorial and thought it was the way to go... I will look into LINQ-SQL or ADO.net Entity Framework...&lt;/p&gt;&lt;p&gt;Any reccomendations for a good place to start? (tutorials, etc.)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem Creating a Data Access Layer</title><link>http://forums.asp.net/thread/3271912.aspx</link><pubDate>Thu, 02 Jul 2009 17:19:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271912</guid><dc:creator>nmreddy83</dc:creator><author>nmreddy83</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271912.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3271912</wfw:commentRss><description>&lt;p&gt;this is old logic using this kind of typed data sets and other stuff...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;now you can go for LINQ-SQL or ADO.net Enitity Framework to get advanced futures&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem Creating a Data Access Layer</title><link>http://forums.asp.net/thread/3271858.aspx</link><pubDate>Thu, 02 Jul 2009 16:56:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271858</guid><dc:creator>tlanders99</dc:creator><author>tlanders99</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271858.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3271858</wfw:commentRss><description>&lt;p&gt;I feel frustrated with this topic and desperately want to understand what is going on.&amp;nbsp; I guess I feel most frustrated because I have read alot of material and still don&amp;#39;t understand my error/problem.&lt;/p&gt;&lt;p&gt;I read this article for Typed DataSets for the DAL:&lt;/p&gt;&lt;p&gt;http://www.asp.net/learn/data-access/tutorial-01-vb.aspx&lt;/p&gt;&lt;p&gt;I also watched this video, which I thought was good...&lt;/p&gt;&lt;p&gt;http://www.asp.net/learn/data-videos/video-392.aspx&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am using visual studio 2008 with ms sql 2005.... I am trying to create a dataset(Lessons_Data.xsd) like in these tutorials but I keep getting an error.&amp;nbsp; I have a database setup and am able to connect to it.&amp;nbsp; Also when I set up a dataset and configure it by right clicking on it....(TableAdapter Configuration Wizard) I can run queries successfully.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;However, after it is created some things don&amp;#39;t seem right.&amp;nbsp; &lt;/p&gt;&lt;p&gt;1) First, I am not prompted by Visual Studio to put the dataset in the App_Code folder. I have read this is not such a big deal. Not sure.&amp;nbsp; I actually created a folder, named it App_Code and placed my dataset in it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2) Second, on the video he shows the code behind the dataset by right clicking but when I do that I do not get xml like he shows.&amp;nbsp; All I get is this....if I right click on it and choose view code&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Partial Class Lessons_Data&lt;br /&gt;End Class&lt;/p&gt;&lt;p&gt;I can see a schema file in the actual file if I look with windows explorer and can open it that way though.. Not sure if that is the problem..&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3) Finally, and most importantly I get an error.&amp;nbsp; The error is:&lt;/p&gt;&lt;p&gt;____________________________________________________________________________________________________________&lt;/p&gt;&lt;p&gt;Compilation Error

&lt;span&gt;
&lt;h2&gt;&lt;i&gt;Compilation Error&lt;/i&gt; &lt;/h2&gt;
&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: 
&lt;/b&gt;An error occurred during the compilation of a resource required to service 
this request. Please review the following specific error details and modify your 
source code appropriately. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Compiler Error Message: &lt;/b&gt;BC30269: 
&amp;#39;Public Sub New()&amp;#39; has multiple definitions with identical 
signatures.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;/code&gt;
&lt;pre&gt;Line 32:     
Line 33:     &amp;lt;Global.System.Diagnostics.DebuggerNonUserCodeAttribute()&amp;gt;  _
&lt;font color="red"&gt;Line 34:     Public Sub New()
&lt;/font&gt;Line 35:         MyBase.New
Line 36:         Me.BeginInit&lt;/pre&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;br /&gt;&lt;b&gt;Source 
File:&lt;/b&gt; C:\Users\Travis\Documents\Visual Studio 
2008\Projects\Learn_The_English_Language_VB\Learn_The_English_Language_VB\App_Code\Lessons_Data.Designer.vb 
&amp;nbsp;&amp;nbsp; &lt;b&gt;Line:&lt;/b&gt; 34 &lt;/font&gt;&lt;/p&gt;&lt;p&gt;____________________________________________________________________________________________________________&lt;/p&gt;&lt;p&gt;The error is in this file(Lessons_Data.Designer.vb) as you can see...Not even sure what that is??&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Ahh this error... I have no clue but I know it is the dataset because if I delete it the webapp works fine... incidently does it hurt my project to delete datasets and make new ones again?&amp;nbsp; I have deleted this and tried it again several times......&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;any help would.... gosh.... be so much appreciated...&lt;/p&gt;&lt;p&gt;Travis&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>