<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>Dotnetraja's Weblog</title>
	<atom:link href="http://dotnetraja.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetraja.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 23 Jun 2010 10:38:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dotnetraja.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dotnetraja's Weblog</title>
		<link>http://dotnetraja.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dotnetraja.wordpress.com/osd.xml" title="Dotnetraja&#039;s Weblog" />
	<atom:link rel='hub' href='http://dotnetraja.wordpress.com/?pushpress=hub'/>
		<item>
		<title>custom paging query in mysql</title>
		<link>http://dotnetraja.wordpress.com/2010/06/23/custom-paging-query-in-mysql/</link>
		<comments>http://dotnetraja.wordpress.com/2010/06/23/custom-paging-query-in-mysql/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 10:38:31 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=89</guid>
		<description><![CDATA[SELECT * FROM (SELECT @rownum:=@rownum+1 &#8216;rank&#8217;, p.* FROM tblcity p, (SELECT @rownum:=0) r WHERE isactive =TRUE ORDER BY cityname ASC ) t WHERE rank&#62;0 AND rank&#60;50<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=89&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SELECT * FROM (SELECT @rownum:=@rownum+1 &#8216;rank&#8217;, p.* FROM tblcity p, (SELECT @rownum:=0) r WHERE isactive =TRUE ORDER BY cityname ASC ) t WHERE rank&gt;0 AND rank&lt;50</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=89&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2010/06/23/custom-paging-query-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Select Top 3 value in mysql</title>
		<link>http://dotnetraja.wordpress.com/2010/06/22/select-top-3-value-in-mysql/</link>
		<comments>http://dotnetraja.wordpress.com/2010/06/22/select-top-3-value-in-mysql/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 11:22:56 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[Gridview]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=84</guid>
		<description><![CDATA[SELECT * FROM ( SELECT * FROM tbldestination ORDER BY distance DESC LIMIT 2) a ORDER BY distance LIMIT 1<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=84&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SELECT * FROM ( SELECT * FROM tbldestination ORDER BY distance DESC LIMIT 2) a ORDER BY distance LIMIT 1</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=84&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2010/06/22/select-top-3-value-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Capture Event, when browser closed</title>
		<link>http://dotnetraja.wordpress.com/2010/05/27/capture-event-when-browser-closed/</link>
		<comments>http://dotnetraja.wordpress.com/2010/05/27/capture-event-when-browser-closed/#comments</comments>
		<pubDate>Thu, 27 May 2010 09:00:26 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=78</guid>
		<description><![CDATA[//Here i&#8217;m updating the login status of user when user closed the browser. //Write a method to update the status     protected void Inactive()   { DAL.Updatestatus(Session["UserName"].ToString(), false); } //Event for logout protected void Button1_Click(object sender, EventArgs e)  { Inactive(); } //Javascript method to capture the browser close event. //If  user clicks on browser close [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=78&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">//Here i&#8217;m updating the login status of user when user closed the browser.</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">//Write a method to update the status</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"></span></span></div>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"></p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">protected </span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">void</span></span><span style="font-size:x-small;"> Inactive()</span></span></div>
<p> </p>
<p></span></span></p>
<p><span style="font-size:x-small;">{</span></p>
<p><span style="color:#2b91af;font-size:x-small;"><span style="color:#2b91af;font-size:x-small;">DAL</span></span><span style="font-size:x-small;">.Updatestatus(Session[</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">"UserName"</span></span><span style="font-size:x-small;">].ToString(), </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">false</span></span><span style="font-size:x-small;">);</span></p>
<p><span style="font-size:x-small;">}</span></p>
<p><span style="font-size:x-small;">//Event for logout </span></p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">protected </span></span></span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">void</span></span><span style="font-size:x-small;"> Button1_Click(</span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">object</span></span><span style="font-size:x-small;"> sender, </span><span style="color:#2b91af;font-size:x-small;"><span style="color:#2b91af;font-size:x-small;">EventArgs</span></span><span style="font-size:x-small;"> e)</span></span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="font-size:x-small;"> </span></span></span>{</div>
<p>Inactive();</p>
<p>}</p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">//Javascript method to capture the browser close event.</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">//If  user clicks on browser close document readystate is &#8216;Complete&#8217; else &#8216;Loading&#8217;</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"></span></span></div>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"></p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&lt;script type=&#8221;text/javascript&#8221;&gt;</span></span></div>
<div><span style="font-size:x-small;"> <span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">function</span></span><span style="font-size:x-small;"> abc()</span></span></div>
<div><span style="font-size:x-small;"> {</span></div>
<div><span style="font-size:x-small;"> </span></div>
<div><span style="font-size:x-small;"> </span></div>
<div><span style="font-size:x-small;"></span></div>
<p><span style="font-size:x-small;"></p>
<div><span style="font-size:x-small;"> </span></div>
<div><span style="font-size:x-small;"> </span></div>
<div><span style="font-size:x-small;"> </span></div>
<div><span style="font-size:x-small;"> </span></div>
<div><span style="font-size:x-small;"> </span></div>
<p><span style="font-size:x-small;"> </p>
<p></span></span></span></span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">var</span></span><span style="font-size:x-small;"> status = document.activeElement;</span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">if</span></span><span style="font-size:x-small;">(status ==null</span><span style="font-size:x-small;">)</span></p>
<p><span style="font-size:x-small;">{</span></p>
<div><span style="font-size:x-small;"><span style="font-size:x-small;">document.getElementById(</span></span><span style="font-size:x-small;"><span style="font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8216;&lt;%=Button1.ClientID %&gt;&#8217;</span></span><span style="font-size:x-small;">).click();</span></span></span><span style="font-size:x-small;">}</span></div>
<p><span style="font-size:x-small;">}</span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&lt;/</span></span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">script</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&gt;</span></span></p>
<p><span style="color:#0000ff;font-size:x-small;">//call the javascript method on page unload.</span></p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&lt;</span></span></span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">body</span></span><span style="font-size:x-small;"> </span><span style="color:#ff0000;font-size:x-small;"><span style="color:#ff0000;font-size:x-small;">onunload</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">=&#8221;abc();&#8221;</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&gt;</span></span></span></span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=78&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2010/05/27/capture-event-when-browser-closed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Redirect page with out flickering in donnet</title>
		<link>http://dotnetraja.wordpress.com/2009/10/29/redirect-page-with-out-flickers/</link>
		<comments>http://dotnetraja.wordpress.com/2009/10/29/redirect-page-with-out-flickers/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 11:03:36 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=65</guid>
		<description><![CDATA[Redirecting from one page to another will get postback flicker. If use the following code it will not get flicker.     &#60;script type=&#8221;text/javascript&#8221;&#62; function DoAsyncRequest(){ ajaxObj.Open( var ajaxObj = new ActiveXObject(&#8220;Microsoft.XMLHTTP&#8221;); &#8220;POST&#8221;, &#8220;http://localhost:5924/Charts/default.aspx&#8221;, false); //ajaxObj.Open(&#8220;POST&#8221;, &#8220;http://www.microsoft.com&#8221;, false);     ajaxObj.SetRequestHeader( ajaxObj.Send(); { document.write(ajaxObj.responseText); } } &#8220;Content-Type&#8221;, &#8220;application/x-www-form-urlencoded&#8221;); if (ajaxObj.status == 200) &#160; &#60;/ script&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=65&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Redirecting from one page to another will get postback flicker. If use the following code it will not get flicker.</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&lt;script type=&#8221;text/javascript&#8221;&gt;</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">function DoAsyncRequest()</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">{</span></span></div>
<p>ajaxObj.Open(</p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">var</span></span><span style="font-size:x-small;"> ajaxObj = </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">new</span></span><span style="font-size:x-small;"> ActiveXObject(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;Microsoft.XMLHTTP&#8221;</span></span><span style="font-size:x-small;">); </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;POST&#8221;</span></span><span style="font-size:x-small;">, </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;http://localhost:5924/Charts/default.aspx&#8221;</span></span><span style="font-size:x-small;">, </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">false</span></span><span style="font-size:x-small;">); </span><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;">//ajaxObj.Open(&#8220;POST&#8221;, &#8220;http://www.microsoft.com&#8221;, false);</span></span></span></span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"></span></span></span></div>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"></p>
<div><span style="font-size:x-small;">ajaxObj.SetRequestHeader(</span></div>
<div><span style="font-size:x-small;">ajaxObj.Send();</span></div>
<div><span style="font-size:x-small;">{</span></div>
<div><span style="font-size:x-small;">document.write(ajaxObj.responseText);</span></div>
<div><span style="font-size:x-small;">}</span></div>
<p><span style="font-size:x-small;">}</p>
<div><span style="font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;Content-Type&#8221;</span></span><span style="font-size:x-small;">, </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;application/x-www-form-urlencoded&#8221;</span></span><span style="font-size:x-small;">); </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">if</span></span><span style="font-size:x-small;"> (ajaxObj.status == 200) </span></span></div>
<p><span style="font-size:x-small;">
<p>&nbsp;</p>
<p></span></p>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&lt;/</span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">script</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">&gt;</span></span></span></span></span></span></span></div>
<div><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">// Code behind</span></span></span></span></span></div>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">
<p>&nbsp;</p>
<p></span></p>
<div><span style="font-size:x-small;"><span style="font-size:x-small;">Button2.OnClientClick =</span></span></div>
<div><span style="font-size:x-small;"><span style="font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;javascript:DoAsyncRequest();return false;&#8221;</span></span><span style="font-size:x-small;">; </span></span></span></div>
<p><span style="font-size:x-small;"><span style="font-size:x-small;">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p></span></span></p>
<p></span></span></span></span></p>
<p></span></span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=65&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2009/10/29/redirect-page-with-out-flickers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>dataadapter update method</title>
		<link>http://dotnetraja.wordpress.com/2009/02/21/data-adapter-update-method/</link>
		<comments>http://dotnetraja.wordpress.com/2009/02/21/data-adapter-update-method/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 12:00:13 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[ADO.net]]></category>
		<category><![CDATA[data adpter update method]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=56</guid>
		<description><![CDATA[//Update the records using update method of dataadapter object      SqlDataAdapter da = new SqlDataAdapter();             SqlCommand cmd = new SqlCommand();                       SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["connection"].ToString() );             cmd.Connection = con;             SqlCommand upCmd = new SqlCommand(&#8220;update authors set au_lname=@au_lname where au_id=@au_id&#8221;, con);             upCmd.Parameters.Add(&#8220;@au_lname&#8221;, SqlDbType.VarChar, 40, &#8220;au_lname&#8221;);               upCmd.Parameters.Add(&#8220;@au_id&#8221;, SqlDbType.VarChar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=56&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;">//Update the records using update method of dataadapter object</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>   </span><span style="color:#2b91af;">SqlDataAdapter</span> da = <span style="color:blue;">new</span> <span style="color:#2b91af;">SqlDataAdapter</span>();</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:#2b91af;">SqlCommand</span> cmd = <span style="color:blue;">new</span> <span style="color:#2b91af;">SqlCommand</span>();</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>          </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:#2b91af;">SqlConnection</span> con = <span style="color:blue;">new</span> <span style="color:#2b91af;">SqlConnection</span>(<span style="color:#2b91af;">ConfigurationManager</span>.ConnectionStrings[<span style="color:#a31515;">"connection"</span>].ToString() );</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>cmd.Connection = con;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:#2b91af;">SqlCommand</span> upCmd = <span style="color:blue;">new</span> <span style="color:#2b91af;">SqlCommand</span>(<span style="color:#a31515;">&#8220;update authors set au_lname=@au_lname where au_id=@au_id&#8221;</span>, con);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>upCmd.Parameters.Add(<span style="color:#a31515;">&#8220;@au_lname&#8221;</span>, <span style="color:#2b91af;">SqlDbType</span>.VarChar, 40, <span style="color:#a31515;">&#8220;au_lname&#8221;</span>);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>upCmd.Parameters.Add(<span style="color:#a31515;">&#8220;@au_id&#8221;</span>, <span style="color:#2b91af;">SqlDbType</span>.VarChar , 11, <span style="color:#a31515;">&#8220;au_id&#8221;</span>);</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>da.UpdateCommand<span>  </span>= upCmd;<span>  </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>da.Update(ds); </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;"> </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;">Here parameter values “au_lname” and <span> </span>“au_id” <span> </span>are column names in dataset. </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=56&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2009/02/21/data-adapter-update-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Sql server date time functionality</title>
		<link>http://dotnetraja.wordpress.com/2008/08/20/sql-server-date-time-functionality/</link>
		<comments>http://dotnetraja.wordpress.com/2008/08/20/sql-server-date-time-functionality/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 14:32:10 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=10</guid>
		<description><![CDATA[Select * from users where convert(char,createddate,101)=&#8217;07/29/2008&#8242; select cast(getdate() as char)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=10&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Select * from users where convert(char,createddate,101)=&#8217;07/29/2008&#8242;</p>
<p>select cast(getdate() as char)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetraja.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetraja.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=10&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2008/08/20/sql-server-date-time-functionality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Resetting the table identity values</title>
		<link>http://dotnetraja.wordpress.com/2008/08/20/resetting-the-table-identity-values/</link>
		<comments>http://dotnetraja.wordpress.com/2008/08/20/resetting-the-table-identity-values/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 14:31:50 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=9</guid>
		<description><![CDATA[To reset the identity value in database table   Syntax: DBCC checkident (tablename, reseed, 0)   DBCC checkident can reseed the value of the table. For e.g.: our table has 25 records with 25 as last identity. If we want next record to have identity has 35 we need to run following T-SQL   DBCC [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=9&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;">To reset the identity value in database table </span></p>
<p><span style="font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;">Syntax: DBCC checkident (tablename, reseed, 0)</span></p>
<p><span style="font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;">DBCC checkident can reseed the value of the table. For e.g.: our table has 25 records with 25 as last identity. If we want next record to have identity has 35 we need to run following T-SQL </span></p>
<p><span style="font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;">DBCC checkidetnt (tablename, reseed, 34)</span></p>
<p><span style="font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;">Disadvantage: It will violate the uniqueness.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetraja.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetraja.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=9&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2008/08/20/resetting-the-table-identity-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Copying one table values into another table.</title>
		<link>http://dotnetraja.wordpress.com/2008/08/20/copying-one-table-values-into-another-table/</link>
		<comments>http://dotnetraja.wordpress.com/2008/08/20/copying-one-table-values-into-another-table/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 14:31:28 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=26</guid>
		<description><![CDATA[INSERT INTO TestTable (FirstName, LastName) SELECT FirstName, LastName FROM Person.Contact WHERE EmailPromotion = 2 &#8211;Verify that Data in TestTable SELECT FirstName, LastName FROM TestTable IF it is in different database. INSERT INTO SmithNephewStoreFront.dbo.category ( [Name],parentcategoryID) SELECT  category,subcatid FROM endo.dbo.category WHERE catid = 2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=26&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>INSERT INTO TestTable (FirstName, LastName)<br />
SELECT FirstName, LastName<br />
FROM Person.Contact<br />
WHERE EmailPromotion = 2<br />
&#8211;Verify that Data in TestTable<br />
SELECT FirstName, LastName<br />
FROM TestTable</p>
<p>IF it is in different database.<br />
INSERT INTO SmithNephewStoreFront.dbo.category ( [Name],parentcategoryID)<br />
SELECT  category,subcatid<br />
FROM endo.dbo.category<br />
WHERE catid = 2</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetraja.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetraja.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=26&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2008/08/20/copying-one-table-values-into-another-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>resetting the identity column in the database table .</title>
		<link>http://dotnetraja.wordpress.com/2008/08/20/resetting-the-identity-column-in-the-database-table/</link>
		<comments>http://dotnetraja.wordpress.com/2008/08/20/resetting-the-identity-column-in-the-database-table/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 14:28:37 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=27</guid>
		<description><![CDATA[  DBCC CHECKIDENT (category, RESEED, 0)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=27&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>DBCC CHECKIDENT (category, RESEED, 0)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetraja.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetraja.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=27&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2008/08/20/resetting-the-identity-column-in-the-database-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
		<item>
		<title>Assign a value to a textbox which is in password mode</title>
		<link>http://dotnetraja.wordpress.com/2008/08/20/assign-a-value-to-a-textbox-which-is-in-password-mode/</link>
		<comments>http://dotnetraja.wordpress.com/2008/08/20/assign-a-value-to-a-textbox-which-is-in-password-mode/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 13:09:13 +0000</pubDate>
		<dc:creator>Raja Baireddy</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://dotnetraja.wordpress.com/?p=24</guid>
		<description><![CDATA[Assign a value to a textbox which is in password mode [ Assign password value to a text box]  txtPassword.Attributes.Add(&#8220;value&#8221;, password);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=24&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Assign a value to a textbox which is in password mode<br />
[ Assign password value to a text box]<br />
 txtPassword.Attributes.Add(&#8220;value&#8221;, password);</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetraja.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetraja.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetraja.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetraja.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnetraja.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnetraja.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetraja.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetraja.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetraja.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetraja.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetraja.wordpress.com&amp;blog=1987605&amp;post=24&amp;subd=dotnetraja&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetraja.wordpress.com/2008/08/20/assign-a-value-to-a-textbox-which-is-in-password-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fd93ac65332db247ad1764fbf130cf7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raja Baireddy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
