<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Inserting Rows Into A SQL Server Compact Edition Table in C#</title>
	<atom:link href="http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/</link>
	<description>Making Microsoft .Net Development Magical</description>
	<lastBuildDate>Thu, 17 May 2012 06:40:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Cup Cake</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-30093</link>
		<dc:creator><![CDATA[Cup Cake]]></dc:creator>
		<pubDate>Tue, 18 Oct 2011 03:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-30093</guid>
		<description><![CDATA[The same annoying behavior/problem also occurs with SQL Express. See http://blogs.msdn.com/b/smartclientdata/archive/2005/08/26/456886.aspx]]></description>
		<content:encoded><![CDATA[<p>The same annoying behavior/problem also occurs with SQL Express. See <a href="http://blogs.msdn.com/b/smartclientdata/archive/2005/08/26/456886.aspx" rel="nofollow">http://blogs.msdn.com/b/smartclientdata/archive/2005/08/26/456886.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendra</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27842</link>
		<dc:creator><![CDATA[Hendra]]></dc:creator>
		<pubDate>Mon, 05 Jul 2010 10:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27842</guid>
		<description><![CDATA[Hi.. I have figured out what happened with the &quot;No Insert in the table case&quot;. :)

This must be what happen to you guys:
At first we have the database (let&#039;s called it database1.sdf from now on) in the same folder as the Program.cs (the folder where the project is saved).
When we Start Debugging (F5), the application run and insert a row. We did sure that the row is inserted.
But then when we get back to the visual studio environment, and we select the table from the Server Explorer, we notice that the row that we inserted when the application running is not there (We get confuse and asked inside our heart: WHAT HAPPEN?!)

This is what actually happen:
When we Start Debugging (F5 - run the application through the Visual Studio), the database1.sdf from our source folder (the folder of the project) is copied to: Source_Folder_Path\bin\debug.
(Note: everytime we run/debug the project it is copied to the folder bin\debug. You change the property of database - Copy to Output Directory, so that the source database will be copy only if it is newer)
Now you try to insert a record and it is REALLY is inserted, but it is inserted to the database at folder bin\debug (Not the source folder). So when you select the table to see the record that you have inserted, from Server Explorer - Database1.sdf, its shown you the database1.sdf that still empty.
When you debug again, the database1.sdf with no records replace the database1.sdf at the bin\debug. So the application show no record also.

This is get me 3 days to notice what really is happened.
So i want to share to all of you.
I hope my explanation is understandable to you all. :D

Regards,

Hendra]]></description>
		<content:encoded><![CDATA[<p>Hi.. I have figured out what happened with the &#8220;No Insert in the table case&#8221;. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This must be what happen to you guys:<br />
At first we have the database (let&#8217;s called it database1.sdf from now on) in the same folder as the Program.cs (the folder where the project is saved).<br />
When we Start Debugging (F5), the application run and insert a row. We did sure that the row is inserted.<br />
But then when we get back to the visual studio environment, and we select the table from the Server Explorer, we notice that the row that we inserted when the application running is not there (We get confuse and asked inside our heart: WHAT HAPPEN?!)</p>
<p>This is what actually happen:<br />
When we Start Debugging (F5 &#8211; run the application through the Visual Studio), the database1.sdf from our source folder (the folder of the project) is copied to: Source_Folder_Path\bin\debug.<br />
(Note: everytime we run/debug the project it is copied to the folder bin\debug. You change the property of database &#8211; Copy to Output Directory, so that the source database will be copy only if it is newer)<br />
Now you try to insert a record and it is REALLY is inserted, but it is inserted to the database at folder bin\debug (Not the source folder). So when you select the table to see the record that you have inserted, from Server Explorer &#8211; Database1.sdf, its shown you the database1.sdf that still empty.<br />
When you debug again, the database1.sdf with no records replace the database1.sdf at the bin\debug. So the application show no record also.</p>
<p>This is get me 3 days to notice what really is happened.<br />
So i want to share to all of you.<br />
I hope my explanation is understandable to you all. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Hendra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neha</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27737</link>
		<dc:creator><![CDATA[Neha]]></dc:creator>
		<pubDate>Tue, 04 May 2010 08:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27737</guid>
		<description><![CDATA[I am facing same problem the executenonquery is running fine but no data is inserting.Please help me???]]></description>
		<content:encoded><![CDATA[<p>I am facing same problem the executenonquery is running fine but no data is inserting.Please help me???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shahzad</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27367</link>
		<dc:creator><![CDATA[shahzad]]></dc:creator>
		<pubDate>Tue, 22 Dec 2009 20:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27367</guid>
		<description><![CDATA[The records are not added even though the query returns 1 may be due to you forget to close the connection at the end.
This solved my problem.
Dont forget the finally block. You may close the connection outside the finally block but the important point is to close the connection for insertion to be reflected in the database.
Please notify me through mail if this solution works for you.]]></description>
		<content:encoded><![CDATA[<p>The records are not added even though the query returns 1 may be due to you forget to close the connection at the end.<br />
This solved my problem.<br />
Dont forget the finally block. You may close the connection outside the finally block but the important point is to close the connection for insertion to be reflected in the database.<br />
Please notify me through mail if this solution works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bairi</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27242</link>
		<dc:creator><![CDATA[bairi]]></dc:creator>
		<pubDate>Mon, 16 Nov 2009 13:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-27242</guid>
		<description><![CDATA[hi,
    Thanks a lot
 this code is very useful 2 me]]></description>
		<content:encoded><![CDATA[<p>hi,<br />
    Thanks a lot<br />
 this code is very useful 2 me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chintan</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26843</link>
		<dc:creator><![CDATA[Chintan]]></dc:creator>
		<pubDate>Wed, 01 Jul 2009 13:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26843</guid>
		<description><![CDATA[Hey If you have got answer to your problem can you email me on chintan_shah8@yahoo.com cos I am facing the same prob.

Regards,
Chintan]]></description>
		<content:encoded><![CDATA[<p>Hey If you have got answer to your problem can you email me on <a href="mailto:chintan_shah8@yahoo.com">chintan_shah8@yahoo.com</a> cos I am facing the same prob.</p>
<p>Regards,<br />
Chintan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arcanecode</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26090</link>
		<dc:creator><![CDATA[arcanecode]]></dc:creator>
		<pubDate>Tue, 11 Nov 2008 20:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26090</guid>
		<description><![CDATA[See my article, http://arcanecode.wordpress.com/2007/01/25/create-a-sql-server-compact-edition-database-with-c/ for details on the connection string. Also be sure to click on the Arcane Lessons link at the top of this page and scroll down to review all the lessons around SSCE.]]></description>
		<content:encoded><![CDATA[<p>See my article, <a href="http://arcanecode.wordpress.com/2007/01/25/create-a-sql-server-compact-edition-database-with-c/" rel="nofollow">http://arcanecode.wordpress.com/2007/01/25/create-a-sql-server-compact-edition-database-with-c/</a> for details on the connection string. Also be sure to click on the Arcane Lessons link at the top of this page and scroll down to review all the lessons around SSCE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: umesh</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26076</link>
		<dc:creator><![CDATA[umesh]]></dc:creator>
		<pubDate>Tue, 11 Nov 2008 04:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26076</guid>
		<description><![CDATA[Hi,

     I am facing problem in the connection string. Please give me the syntax of connection string.

Thanks,

Umesh]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>     I am facing problem in the connection string. Please give me the syntax of connection string.</p>
<p>Thanks,</p>
<p>Umesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shruti</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26017</link>
		<dc:creator><![CDATA[Shruti]]></dc:creator>
		<pubDate>Tue, 21 Oct 2008 06:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26017</guid>
		<description><![CDATA[@Ashu :
Even i hv the same problem if u get ne solution for it then plz do mail me too on my id NayakShruti@ymail.com plz as soon as you get do reply me plz plz !]]></description>
		<content:encoded><![CDATA[<p>@Ashu :<br />
Even i hv the same problem if u get ne solution for it then plz do mail me too on my id <a href="mailto:NayakShruti@ymail.com">NayakShruti@ymail.com</a> plz as soon as you get do reply me plz plz !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shruti</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26016</link>
		<dc:creator><![CDATA[Shruti]]></dc:creator>
		<pubDate>Tue, 21 Oct 2008 06:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-26016</guid>
		<description><![CDATA[@Ashu :
Even i hv the same problem if u get ne solution for it then plz do mail me too on my id NayalShruti@ymail.com plz as soon as you get do reply me plz plz !]]></description>
		<content:encoded><![CDATA[<p>@Ashu :<br />
Even i hv the same problem if u get ne solution for it then plz do mail me too on my id <a href="mailto:NayalShruti@ymail.com">NayalShruti@ymail.com</a> plz as soon as you get do reply me plz plz !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndrX</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-25912</link>
		<dc:creator><![CDATA[AndrX]]></dc:creator>
		<pubDate>Fri, 19 Sep 2008 19:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-25912</guid>
		<description><![CDATA[Thanks a lot!!!

I had problems inserting dates and your code solved my problem.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot!!!</p>
<p>I had problems inserting dates and your code solved my problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashu</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-25900</link>
		<dc:creator><![CDATA[Ashu]]></dc:creator>
		<pubDate>Tue, 16 Sep 2008 10:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-25900</guid>
		<description><![CDATA[hi i m facing the problem to insert data into database  in mobile appliction i have witten the code to insert data in c# and its working fine excutenonquery returns one row but when i select data directly from the database in dont have data.and when i insert data directy intodatabase  then data is inserted and show in appliction.

 plz help me i can not understand that how to resolve it]]></description>
		<content:encoded><![CDATA[<p>hi i m facing the problem to insert data into database  in mobile appliction i have witten the code to insert data in c# and its working fine excutenonquery returns one row but when i select data directly from the database in dont have data.and when i insert data directy intodatabase  then data is inserted and show in appliction.</p>
<p> plz help me i can not understand that how to resolve it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chanaka</title>
		<link>http://arcanecode.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-24703</link>
		<dc:creator><![CDATA[chanaka]]></dc:creator>
		<pubDate>Sun, 09 Mar 2008 04:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/01/29/inserting-rows-into-a-sql-server-compact-edition-table-in-c/#comment-24703</guid>
		<description><![CDATA[I linked a combobox to a mobile database in a visual studio app.. bt i cant enter any data into that table. how to do it??]]></description>
		<content:encoded><![CDATA[<p>I linked a combobox to a mobile database in a visual studio app.. bt i cant enter any data into that table. how to do it??</p>
]]></content:encoded>
	</item>
</channel>
</rss>

