<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: LINQ To SQL Tutorial</title>
	<atom:link href="http://www.onedotnetway.com/linq-to-sql-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onedotnetway.com/linq-to-sql-tutorial/</link>
	<description>Everything .Net</description>
	<lastBuildDate>Fri, 26 Feb 2010 15:39:54 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-18143</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 25 Feb 2010 18:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-18143</guid>
		<description>Chandan,

The issue could be that you are converting a control instead of a value. In your code you have Convert.ToDateTime(txtOuttime). Should it be Convert.ToDateTime(txtOuttime.Text) and same for Date.</description>
		<content:encoded><![CDATA[<p>Chandan,</p>
<p>The issue could be that you are converting a control instead of a value. In your code you have Convert.ToDateTime(txtOuttime). Should it be Convert.ToDateTime(txtOuttime.Text) and same for Date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandan</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-18128</link>
		<dc:creator>Chandan</dc:creator>
		<pubDate>Thu, 25 Feb 2010 10:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-18128</guid>
		<description>I am getting error like &quot;embedded statement cannot be a declaration or labeled statement&quot;

I have the code like

using(AttendenceDataContext attContext = new AttendenceDataContex())
            Attendence att = new Attendence
            {
            Name = Convert.ToString(txtName.Text),
            InTime = Convert.ToDateTime(txtIntime.Text),
            Out = Convert.ToDateTime(txtOuttime), 
            Date = Convert.ToDateTime(txtOuttime)
            }; 
My database name and table name are same. 
So for line &quot;Attendence att = new Attendence&quot;
I am getting the error</description>
		<content:encoded><![CDATA[<p>I am getting error like &#8220;embedded statement cannot be a declaration or labeled statement&#8221;</p>
<p>I have the code like</p>
<p>using(AttendenceDataContext attContext = new AttendenceDataContex())<br />
            Attendence att = new Attendence<br />
            {<br />
            Name = Convert.ToString(txtName.Text),<br />
            InTime = Convert.ToDateTime(txtIntime.Text),<br />
            Out = Convert.ToDateTime(txtOuttime),<br />
            Date = Convert.ToDateTime(txtOuttime)<br />
            };<br />
My database name and table name are same.<br />
So for line &#8220;Attendence att = new Attendence&#8221;<br />
I am getting the error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandan</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-18126</link>
		<dc:creator>Chandan</dc:creator>
		<pubDate>Thu, 25 Feb 2010 09:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-18126</guid>
		<description>This is a nice artical for Linq learner

I m on twitter follow me http://www.twitter.com/chandansah</description>
		<content:encoded><![CDATA[<p>This is a nice artical for Linq learner</p>
<p>I m on twitter follow me <a href="http://www.twitter.com/chandansah" rel="nofollow">http://www.twitter.com/chandansah</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-17735</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Wed, 17 Feb 2010 18:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-17735</guid>
		<description>Hi Annam,
Many thanks for your encouraging comment.</description>
		<content:encoded><![CDATA[<p>Hi Annam,<br />
Many thanks for your encouraging comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Annam</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-17712</link>
		<dc:creator>Annam</dc:creator>
		<pubDate>Wed, 17 Feb 2010 14:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-17712</guid>
		<description>Hi,
awesome article.
first time i created a new label named &#039;Turotials&#039; in my gmail to save this article permanently in my mail</description>
		<content:encoded><![CDATA[<p>Hi,<br />
awesome article.<br />
first time i created a new label named &#8216;Turotials&#8217; in my gmail to save this article permanently in my mail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-17598</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Mon, 15 Feb 2010 08:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-17598</guid>
		<description>Hi Vaibhav,

Most likely you are using the entities after data context has been disposed. Try removing the using block.</description>
		<content:encoded><![CDATA[<p>Hi Vaibhav,</p>
<p>Most likely you are using the entities after data context has been disposed. Try removing the using block.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaibhav</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-17302</link>
		<dc:creator>vaibhav</dc:creator>
		<pubDate>Wed, 10 Feb 2010 06:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-17302</guid>
		<description>I get this error when i try to use your code in my visual studio 2008
like this 
System.ObjectDisposedException: Cannot access a disposed object.
Object name: &#039;DataContext accessed after Dispose.&#039;.

how i solve this error reply me as early as possible.</description>
		<content:encoded><![CDATA[<p>I get this error when i try to use your code in my visual studio 2008<br />
like this<br />
System.ObjectDisposedException: Cannot access a disposed object.<br />
Object name: &#8216;DataContext accessed after Dispose.&#8217;.</p>
<p>how i solve this error reply me as early as possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhiraj</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-17034</link>
		<dc:creator>Dhiraj</dc:creator>
		<pubDate>Fri, 05 Feb 2010 08:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-17034</guid>
		<description>If I will say that nice things got happend only with your tutorials then it is wrong but surely this time your tutorial is really nice and worthy for .Net learners.</description>
		<content:encoded><![CDATA[<p>If I will say that nice things got happend only with your tutorials then it is wrong but surely this time your tutorial is really nice and worthy for .Net learners.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-12955</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Sun, 06 Dec 2009 22:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-12955</guid>
		<description>Rohan,

Data context will keep track of all changes you make to your entities. That&#039;s what it does.</description>
		<content:encoded><![CDATA[<p>Rohan,</p>
<p>Data context will keep track of all changes you make to your entities. That&#8217;s what it does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/linq-to-sql-tutorial/comment-page-2/#comment-12954</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Sun, 06 Dec 2009 22:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/linq-to-sql-tutorial/#comment-12954</guid>
		<description>Hi David,

I&#039;m not sure if I understand what you are trying to do. You&#039;ve lost me at a database hosted in a WCF Service library template. What is the architecture of your application?</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>I&#8217;m not sure if I understand what you are trying to do. You&#8217;ve lost me at a database hosted in a WCF Service library template. What is the architecture of your application?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
