<?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: C# ASP.NET Sql Command Insert Statement Source Code Example</title>
	<atom:link href="http://idealprogrammer.com/code-samples/aspnet-sql-command-insert-statement-source-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://idealprogrammer.com/net-languages/code-samples/aspnet-sql-command-insert-statement-source-code/</link>
	<description>Take a Little Action each Day to Transform Yourself into the Ideal Programmer</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:27:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: sandeep</title>
		<link>http://idealprogrammer.com/net-languages/code-samples/aspnet-sql-command-insert-statement-source-code/#comment-73317</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Mon, 07 Nov 2011 07:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://idealprogrammer.com/?p=1019#comment-73317</guid>
		<description>Actually i m fresher in this line. and i wnat to know how to connection database with asp.net web application.. and how it work..!!!! still tyring to learn.
i saw many tutorials &amp; videos of data insertions through asp.net to sql database.. but i m confused..
coz. when i try to do this i have manly open a new problems....
so.. plz anyone give me some correction suggestions like how to start it, etc.
email is nagwanshi04@gmail.com</description>
		<content:encoded><![CDATA[<p>Actually i m fresher in this line. and i wnat to know how to connection database with asp.net web application.. and how it work..!!!! still tyring to learn.<br />
i saw many tutorials &amp; <a href="http://myqol.com/Video_Categories.aspx" target='_blank'>videos</a> of data insertions through asp.net to sql database.. but i m confused..<br />
coz. when i try to do this i have manly open a new problems&#8230;.<br />
so.. plz anyone give me some correction suggestions like how to start it, etc.<br />
email is <a href="mailto:nagwanshi04@gmail.com">nagwanshi04@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://idealprogrammer.com/net-languages/code-samples/aspnet-sql-command-insert-statement-source-code/#comment-73294</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Mon, 05 Sep 2011 05:52:23 +0000</pubDate>
		<guid isPermaLink="false">http://idealprogrammer.com/?p=1019#comment-73294</guid>
		<description>This is only correct reference how to connect database in all over internet!!


THANKS!!!</description>
		<content:encoded><![CDATA[<p>This is only correct reference how to connect database in all over internet!!</p>
<p>THANKS!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asp.net videos</title>
		<link>http://idealprogrammer.com/net-languages/code-samples/aspnet-sql-command-insert-statement-source-code/#comment-72884</link>
		<dc:creator>asp.net videos</dc:creator>
		<pubDate>Fri, 13 Aug 2010 15:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://idealprogrammer.com/?p=1019#comment-72884</guid>
		<description>Desai,

Good question.

I have always heard parameterized queries are the safest way to avoid sql injection. In the example syntax you gave, I am wondering what would happen if a hacker entered the following into FirstName.Text: myname&#039; or 1 = 1; Drop tables --  

I am thinking that the hackers single quote would cause the firstname.text field to end and allow the rest to execute as sql - causing a real problem. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Desai,</p>
<p>Good question.</p>
<p>I have always heard parameterized queries are the safest way to avoid sql injection. In the example syntax you gave, I am wondering what would happen if a hacker entered the following into FirstName.Text: myname&#039; or 1 = 1; Drop tables &#8212;  </p>
<p>I am thinking that the hackers single quote would cause the firstname.text field to end and allow the rest to execute as sql &#8211; causing a real problem. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Desai Hakoo S</title>
		<link>http://idealprogrammer.com/net-languages/code-samples/aspnet-sql-command-insert-statement-source-code/#comment-72882</link>
		<dc:creator>Desai Hakoo S</dc:creator>
		<pubDate>Fri, 13 Aug 2010 11:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://idealprogrammer.com/?p=1019#comment-72882</guid>
		<description>Dont you think this is lenghty method??
U can just make it sort like this :

Sqlcommamd sqlcmd = (&quot;INSERT  INTO Employees (FirstName, LastName) VALUES (&#039; &quot;FirstName.text&quot; &#039;, &#039; &quot;LastName.text&quot; &#039;)&quot;;
sqlcmd.ExecuteNonQuery();

I tried n got success. If any prons or cons of this method, then definatly inform me.</description>
		<content:encoded><![CDATA[<p>Dont you think this is lenghty method??<br />
U can just make it sort like this :</p>
<p>Sqlcommamd sqlcmd = (&#034;INSERT  INTO Employees (FirstName, LastName) VALUES (&#039; &#034;FirstName.text&#034; &#039;, &#039; &#034;LastName.text&#034; &#039;)&#034;;<br />
sqlcmd.ExecuteNonQuery();</p>
<p>I tried n got success. If any prons or cons of this method, then definatly inform me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://idealprogrammer.com/net-languages/code-samples/aspnet-sql-command-insert-statement-source-code/#comment-72124</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://idealprogrammer.com/?p=1019#comment-72124</guid>
		<description>Muy buena... gracias me sirvio bastante opara realizar un proyecto de la u q no tenia idea ....
Gracias.......</description>
		<content:encoded><![CDATA[<p>Muy buena&#8230; gracias me sirvio bastante opara realizar un proyecto de la u q no tenia idea &#8230;.<br />
Gracias&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

