<?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>Naveen P.N</title>
	<atom:link href="http://naveenpn.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://naveenpn.wordpress.com</link>
	<description>Just another Blog to  play with programming</description>
	<lastBuildDate>Tue, 15 Nov 2011 11:11:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='naveenpn.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6941dafd1d1cba0d5e56471f6151753c?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Naveen P.N</title>
		<link>http://naveenpn.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://naveenpn.wordpress.com/osd.xml" title="Naveen P.N" />
	<atom:link rel='hub' href='http://naveenpn.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Master Pages</title>
		<link>http://naveenpn.wordpress.com/2010/07/20/master-pages/</link>
		<comments>http://naveenpn.wordpress.com/2010/07/20/master-pages/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 01:39:17 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">https://naveenpn.wordpress.com/2010/07/20/master-pages/</guid>
		<description><![CDATA[Hi in this post let me explain what is Master Page in ASP.NET and in couple of days I will also post the similar concept how to do in J2EE and PHP. It is a template page that can be used as a foundation for any number of ASP.NET content pages in your application. In&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/07/20/master-pages/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=495&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi in this post let me explain what is Master Page in ASP.NET and in couple of days I will also post the similar concept how to do in J2EE and PHP.</p>
<p>It is a template page that can be used as a foundation for any number of ASP.NET content pages in your application. In working with master pages, you create a master file that is the template referenced by a subpage or content page. Master pages use a .master file extension, whereas content pages use the .aspx file extension you’re used to; but content pages are declared as such within the file’s Page </p>
<p><a href="http://naveenpn.files.wordpress.com/2010/07/image.png"><img title="image" style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" height="253" alt="image" src="http://naveenpn.files.wordpress.com/2010/07/image_thumb.png?w=361&#038;h=253" width="361" border="0" /></a></p>
<p>Creating a Master Page</p>
<p><a href="http://naveenpn.files.wordpress.com/2010/07/image1.png"><img title="image" style="display:inline;border-width:0;" height="260" alt="image" src="http://naveenpn.files.wordpress.com/2010/07/image_thumb1.png?w=327&#038;h=260" width="327" border="0" /></a> <a href="http://naveenpn.files.wordpress.com/2010/07/image2.png"><img title="image" style="display:inline;border-width:0;" height="232" alt="image" src="http://naveenpn.files.wordpress.com/2010/07/image_thumb2.png?w=306&#038;h=232" width="306" border="0" /></a></p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:9ffeedbe-7f75-4b89-9e1f-3779557702fd" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Site.master</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;">
<li> <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">form</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;form2&quot;</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">=&quot;server&quot;&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;topContent&quot;&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">h1</span><span style="color:#0000ff;">&gt;&lt;</span><span style="color:#a31515;">center</span><span style="color:#0000ff;">&gt;</span>NPN Training<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">center</span><span style="color:#0000ff;">&gt;&lt;/</span><span style="color:#a31515;">h1</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:#0000ff;">&gt;</span></li>
<li>    </li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;mainContent&quot;&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">ContentPlaceHolder</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;MainContent&quot;</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">=&quot;server&quot;&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">ContentPlaceHolder</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        </li>
<li>        <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;leftContent&quot;&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">p</span> <span style="color:#ff0000;">style</span><span style="color:#0000ff;">=&quot;</span><span style="color:#ff0000;">text-align</span>: <span style="color:#0000ff;">center</span>;<span style="color:#0000ff;">&quot;&gt;</span></li>
<li>                <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">Label</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">=&quot;DateDisplay&quot;</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">=&quot;server&quot;&gt;&lt;/</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">Label</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li>            </li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">h3</span><span style="color:#0000ff;">&gt;</span>Sessions I<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">h3</span><span style="color:#0000ff;">&gt;</span>       </li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">ul</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">                <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">li</span><span style="color:#0000ff;">&gt;</span>Intoduction<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ul</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">h3</span><span style="color:#0000ff;">&gt;</span>Session II<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">h3</span><span style="color:#0000ff;">&gt;</span>       </li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">ul</span><span style="color:#0000ff;">&gt;</span></li>
<li>                <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">li</span><span style="color:#0000ff;">&gt;</span>Master Pages<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ul</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        </li>
<li>        <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;footerContent&quot;&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">img</span> <span style="color:#ff0000;">src</span><span style="color:#0000ff;">=&quot;Images/PoweredByASPNET.gif&quot;</span> <span style="color:#ff0000;">alt</span><span style="color:#0000ff;">=&quot;Powered by ASP.NET!&quot;</span> <span style="color:#0000ff;">/&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">form</span><span style="color:#0000ff;">&gt;</span></li>
</ol></div>
</p></div>
</p></div>
<p>Now let us create content page Right click the project add new item and from the dialog window select web form.</p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:2852ce15-9ec8-4c98-b94b-2bb11a840b48" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background-color:#ffffff;max-height:300px;overflow:auto;white-space:nowrap;padding:2px 5px;"><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">Content</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">=&quot;Content2&quot;</span> <span style="color:#ff0000;">ContentPlaceHolderID</span><span style="color:#0000ff;">=&quot;MainContent&quot;</span> <span style="color:#ff0000;">Runat</span><span style="color:#0000ff;">=&quot;Server&quot;&gt;</span><br />     <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">h2</span><span style="color:#0000ff;">&gt;</span><br />         About the Author<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">h2</span><span style="color:#0000ff;">&gt;</span><br />     <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">p</span><span style="color:#0000ff;">&gt;</span><br />         Hello! My name is Naveen<br />     <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">p</span><span style="color:#0000ff;">&gt;</span><br />         My primary experience lies in Web development with Microsoft technologies.<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">p</span><span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">Content</span><span style="color:#0000ff;">&gt;</span></div>
</p></div>
</p></div>
<p>&#160;</p>
<p><u>Specifying the Title, Meta Tags, and Other HTML Headers in the Master Page</u></p>
<p>By default, two ContentPlaceHolder controls is created when we create a master page:</p>
<p>The head ContentPlaceHolder enables pages to add custom content to the &lt;head&gt; section.</p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a282596b-fc4f-42e9-83cb-d9a69524d9c2" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2em;padding:0 0 0 5px;">
<li><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">head</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">=&quot;server&quot;&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">title</span><span style="color:#0000ff;">&gt;</span>Untitled Page<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">title</span><span style="color:#0000ff;">&gt;</span></li>
<li>    <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">ContentPlaceHolder</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&quot;head&quot;</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">=&quot;server&quot;&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">ContentPlaceHolder</span><span style="color:#0000ff;">&gt;</span></li>
<li>     <span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">link</span> <span style="color:#ff0000;">href</span><span style="color:#0000ff;">=&quot;Styles.css&quot;</span> <span style="color:#ff0000;">rel</span><span style="color:#0000ff;">=&quot;stylesheet&quot;</span> <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=&quot;text/css&quot;</span> <span style="color:#0000ff;">/&gt;</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">head</span><span style="color:#0000ff;">&gt;</span></li>
</ol></div>
</p></div>
</p></div>
<p>The purpose of ContentPlaceHolder1 is to define a region in the Web Form that can be customized on a page-by-page basis.</p>
<p>&lt;form id=&quot;&quot; runat=&quot;server&quot;&gt;</p>
<p>&lt;asp:ContentPlaceHolder id=&quot;ContentPlaceHolder1&quot; runat=&quot;server&quot;&gt;</p>
<p>&lt;/asp:ContentPlaceHolder&gt;</p>
<p>&lt;/form&gt;</p>
<p>one named head, and located in the &lt;head&gt; element; and one named ContentPlaceHolder1, placed within the Web Form. The purpose of ContentPlaceHolder1 is to define a region in the Web Form that can be customized on a page-by-page basis. The head ContentPlaceHolder enables pages to add custom content to the &lt;head&gt; section.</p>
<p><u>Specifying which Master Page to use</u></p>
</p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:0cbf09a7-4f02-4637-af84-47b99ae3aa81" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background-color:#ffffff;max-height:300px;overflow:auto;padding:2px 5px;"><span style="background:#ffee62;">&lt;%</span><span style="color:#0000ff;">@</span> <span style="color:#a31515;">Page</span> <span style="color:#ff0000;">Language</span><span style="color:#0000ff;">=&quot;C#&quot;</span> <span style="color:#ff0000;">MasterPageFile</span><span style="color:#0000ff;">=&quot;~/Site.master&quot;</span> <span style="color:#ff0000;">AutoEventWireup</span><span style="color:#0000ff;">=&quot;true&quot;</span> <span style="color:#ff0000;">CodeFile</span><span style="color:#0000ff;">=&quot;About.aspx.cs&quot;</span> <span style="color:#ff0000;">Inherits</span><span style="color:#0000ff;">=&quot;About&quot;</span> <span style="color:#ff0000;">Title</span><span style="color:#0000ff;">=&quot;About Page&quot;</span><span style="background:#ffee62;">%&gt;</span></div>
</p></div>
</p></div>
</p>
<p><u>Specifying which Master Page to use in web.config</u></p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:93f667ac-a018-4718-a24b-158243d04525" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background-color:#ffffff;max-height:300px;overflow:auto;padding:2px 5px;"><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">pages</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">masterPageFile</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">~/Site.master</span>&quot;<span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">            &lt;</span><span style="color:#a31515;">controls</span><span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">                &lt;</span><span style="color:#a31515;">add</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">tagPrefix</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">asp</span>&quot;<span style="color:#0000ff;"> </span><span style="color:#ff0000;">namespace</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">System.Web.UI</span>&quot;<span style="color:#0000ff;"> </span><span style="color:#ff0000;">assembly</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>&quot;<span style="color:#0000ff;">/&gt;</span><br /> <span style="color:#0000ff;">                &lt;</span><span style="color:#a31515;">add</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">tagPrefix</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">asp</span>&quot;<span style="color:#0000ff;"> </span><span style="color:#ff0000;">namespace</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">System.Web.UI.WebControls</span>&quot;<span style="color:#0000ff;"> </span><span style="color:#ff0000;">assembly</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</span>&quot;<span style="color:#0000ff;">/&gt;</span><br /> <span style="color:#0000ff;">            &lt;/</span><span style="color:#a31515;">controls</span><span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">            </span><br /> <span style="color:#0000ff;">        &lt;/</span><span style="color:#a31515;">pages</span><span style="color:#0000ff;">&gt;</span></div>
</p></div>
</p></div>
<p><u></u></p>
<p><u>Specifying the Master Page for a specific folder</u></p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:53e347a7-bc65-423e-8789-d2774c54708b" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background-color:#ffffff;max-height:300px;overflow:auto;white-space:nowrap;padding:2px 5px;"><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">location</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">path</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">Admin</span>&quot;<span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">        &lt;</span><span style="color:#a31515;">system.web</span><span style="color:#0000ff;"> &gt;</span><br /> <span style="color:#0000ff;">            &lt;</span><span style="color:#a31515;">pages</span><span style="color:#0000ff;"> </span><span style="color:#ff0000;">masterPageFile</span><span style="color:#0000ff;">=</span>&quot;<span style="color:#0000ff;">~/SiteReplicate.master</span>&quot;<span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">            &lt;/</span><span style="color:#a31515;">pages</span><span style="color:#0000ff;"> &gt;</span><br /> <span style="color:#0000ff;">        &lt;/</span><span style="color:#a31515;">system.web</span><span style="color:#0000ff;">&gt;</span><br /> <span style="color:#0000ff;">    &lt;/</span><span style="color:#a31515;">location</span><span style="color:#0000ff;">&gt;</span></div>
</p></div>
</p></div>
<p>Setting the Page&#8217;s Title Declaratively</p>
<p>A content page&#8217;s title can be set declaratively through the Title attribute of the <a href="http://msdn2.microsoft.com/en-us/library/ydy4x04a.aspx">&lt;%@ Page %&gt; directive</a>. This property can be set by directly modifying the &lt;%@ Page %&gt; directive or through the Properties window. Let&#8217;s look at both approaches.</p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:8fbb79af-f4eb-412f-88f7-3b842f28ea1e" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background-color:#ffffff;max-height:300px;overflow:auto;padding:2px 5px;"><span style="background:#ffee62;">&lt;%</span><span style="color:#0000ff;">@</span> <span style="color:#a31515;">Page</span> <span style="color:#ff0000;">Language</span><span style="color:#0000ff;">=&quot;C#&quot;</span> <span style="color:#ff0000;">MasterPageFile</span><span style="color:#0000ff;">=&quot;~/Site.master&quot;</span> <span style="color:#ff0000;">AutoEventWireup</span><span style="color:#0000ff;">=&quot;true&quot;</span> <span style="color:#ff0000;">CodeFile</span><span style="color:#0000ff;">=&quot;About.aspx.cs&quot;</span> <span style="color:#ff0000;">Inherits</span><span style="color:#0000ff;">=&quot;About&quot;</span> <span style="color:#ff0000;">Title</span><span style="color:#0000ff;">=&quot;About Page&quot;</span><span style="background:#ffee62;">%&gt;</span></div>
</p></div>
</p></div>
<p>The page&#8217;s title may also be set from the Properties window. From the Properties window, select DOCUMENT from the drop-down list to load the page-level properties, which includes the Title property.</p>
<p><a href="http://naveenpn.files.wordpress.com/2010/07/clip_image001.png"><img title="clip_image001" style="display:inline;border-width:0;" height="244" alt="clip_image001" src="http://naveenpn.files.wordpress.com/2010/07/clip_image001_thumb.png?w=179&#038;h=244" width="179" border="0" /></a></p>
<p>Setting the Page&#8217;s Title Programmatically</p>
<div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:1b79ee00-b4d6-4aed-8c24-e91981e4d403" style="display:inline;float:none;margin:0;padding:0;">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background-color:#ffffff;max-height:300px;overflow:auto;white-space:nowrap;padding:2px 5px;"> <span style="color:#0000ff;">protected</span> <span style="color:#0000ff;">void</span> Page_Load(<span style="color:#0000ff;">object</span> sender, <span style="color:#2b91af;">EventArgs</span> e)<br />     {<br />         Page.Title = <span style="color:#0000ff;">string</span>.Format(<span style="color:#a31515;">&quot;{0:d}&quot;</span>, <span style="color:#2b91af;">DateTime</span>.Now);<br />     }</div>
</p></div>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/495/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=495&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/07/20/master-pages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/07/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/07/clip_image001_thumb.png" medium="image">
			<media:title type="html">clip_image001</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding and Deleting Data and Transaction Log Files</title>
		<link>http://naveenpn.wordpress.com/2010/06/25/adding-and-deleting-data-and-transaction-log-files/</link>
		<comments>http://naveenpn.wordpress.com/2010/06/25/adding-and-deleting-data-and-transaction-log-files/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 02:31:07 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">https://naveenpn.wordpress.com/2010/06/25/adding-and-deleting-data-and-transaction-log-files/</guid>
		<description><![CDATA[USE [master] GO &#8211; Find DB&#8217;s Physical Filename &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#160; SELECT &#160;&#160;&#160;&#160;&#160; LTRIM(RTRIM(a.name)) AS &#8216;Database Name&#8217; &#160;&#160;&#160;&#160;&#160; , CONVERT(SYSNAME, DATABASEPROPERTYEX(N&#8221;+ a.name + &#8221;, &#8216;Recovery&#8217;)) AS [Recovery Model] &#160;&#160;&#160;&#160;&#160; , LTRIM(RTRIM(b.name)) AS &#8216;Logical Filename&#8217; &#160;&#160;&#160;&#160;&#160; , b.filename AS &#8216;Physical Filename&#8217; FROM master..sysdatabases a INNER JOIN master..sysaltfiles b ON a.dbid = b.dbid WHERE &#160;&#160;&#160;&#160;&#160; a.name = &#8216;pubs&#8217;&#160;&#160;&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/06/25/adding-and-deleting-data-and-transaction-log-files/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=486&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:blue;font-family:&quot;">USE</span><span style="font-size:10pt;font-family:&quot;"> [master]</span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;font-family:&quot;">GO</span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:green;font-family:&quot;">&#8211; Find DB&#8217;s Physical Filename &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:green;font-family:&quot;">&#160;</span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:blue;font-family:&quot;">SELECT</span><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span>&#160;&#160;&#160;&#160;&#160; </span><span style="color:fuchsia;">LTRIM</span><span style="color:gray;">(</span><span style="color:fuchsia;">RTRIM</span><span style="color:gray;">(</span>a<span style="color:gray;">.</span><span style="color:blue;">name</span><span style="color:gray;">))</span> <span style="color:blue;">AS</span> <span style="color:red;">&#8216;Database Name&#8217;</span></span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span>&#160;&#160;&#160;&#160;&#160; </span><span style="color:gray;">,</span> <span style="color:fuchsia;">CONVERT</span><span style="color:gray;">(</span><span style="color:blue;">SYSNAME</span><span style="color:gray;">,</span> <span style="color:fuchsia;">DATABASEPROPERTYEX</span><span style="color:gray;">(</span>N<span style="color:red;">&#8221;</span><span style="color:gray;">+</span> a<span style="color:gray;">.</span><span style="color:blue;">name</span> <span style="color:gray;">+</span> <span style="color:red;">&#8221;</span><span style="color:gray;">,</span> <span style="color:red;">&#8216;Recovery&#8217;</span><span style="color:gray;">))</span> <span style="color:blue;">AS</span> [Recovery Model]</span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span>&#160;&#160;&#160;&#160;&#160; </span><span style="color:gray;">,</span> <span style="color:fuchsia;">LTRIM</span><span style="color:gray;">(</span><span style="color:fuchsia;">RTRIM</span><span style="color:gray;">(</span>b<span style="color:gray;">.</span><span style="color:blue;">name</span><span style="color:gray;">))</span> <span style="color:blue;">AS</span> <span style="color:red;">&#8216;Logical Filename&#8217;</span></span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span>&#160;&#160;&#160;&#160;&#160; </span><span style="color:gray;">,</span> b<span style="color:gray;">.</span><span style="color:blue;">filename</span> <span style="color:blue;">AS</span> <span style="color:red;">&#8216;Physical Filename&#8217;</span></span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:blue;font-family:&quot;">FROM</span><span style="font-size:10pt;font-family:&quot;"> master<span style="color:gray;">..</span>sysdatabases a </span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:gray;font-family:&quot;">INNER</span><span style="font-size:10pt;font-family:&quot;"> <span style="color:gray;">JOIN</span> master<span style="color:gray;">..</span>sysaltfiles b <span style="color:blue;">ON</span> a<span style="color:gray;">.</span>dbid <span style="color:gray;">=</span> b<span style="color:gray;">.</span>dbid </span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;color:blue;font-family:&quot;">WHERE</span><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span>&#160;&#160;&#160;&#160;&#160; </span>a<span style="color:gray;">.</span><span style="color:blue;">name</span> <span style="color:gray;">=</span> <span style="color:red;">&#8216;pubs&#8217;</span><span>&#160;&#160; </span><span style="color:green;">&#8211; database name</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:blue;line-height:115%;font-family:&quot;">ORDER</span><span style="font-size:10pt;line-height:115%;font-family:&quot;"> <span style="color:blue;">BY</span> a<span style="color:gray;">.</span><span style="color:blue;">name</span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/486/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=486&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/06/25/adding-and-deleting-data-and-transaction-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://naveenpn.wordpress.com/2010/06/19/479/</link>
		<comments>http://naveenpn.wordpress.com/2010/06/19/479/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 02:26:06 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=479</guid>
		<description><![CDATA[Hi ,It has been almost 2 months since i blogged;was stuck up with my project task,but i learnt many things thought of sharing with you.May be couple of days I may post on SQL Server probably queries which I got to know from  Database Administrator,hope u will enjoy reading To Find all Foreign Keys pointing to&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/06/19/479/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=479&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi ,It has been almost 2 months since i blogged;was stuck up with my project task,but i learnt many things thought of sharing with <span style="font-size:13.2px;">you.May be couple of days I may post on SQL Server probably queries which I got to know from  Database Administrator,hope u will enjoy reading</span></p>
<p><strong><br />
</strong></p>
<p><strong><span style="text-decoration:underline;"><span style="font-family:'Times New Roman';"><span style="font-size:small;">To Find all Foreign Keys pointing to a Table</span></span></span></strong></p>
<p><strong><span style="text-decoration:underline;"><span style="font-family:'Times New Roman';"><span style="font-size:small;"><br />
</span></span></span></strong></p>
<div>
<div><strong><span style="color:#333333;"><span style="color:#0000ff;"><span style="font-family:'Courier New';"><span style="font-size:x-small;">EXEC</span></span></span> <span style="color:#800000;"><span style="font-family:'Courier New';"><span style="font-size:x-small;">sp_fkeys</span></span></span><span style="font-family:'Courier New';"><span style="font-size:x-small;"> &lt;Table-Name&gt;</span></span></span></strong></div>
<p><strong><span style="color:#333333;"><span style="font-family:'Courier New';"> </span></span></strong></p>
<p><span style="color:#333333;"><span style="font-family:'Courier New';"><span style="font-size:x-small;"></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="line-height:12px;"><span style="text-decoration:underline;"><span style="line-height:15px;"><strong>Listing all foreign keys in a Database</strong></span></span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="line-height:15px;"><span style="line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;"> select</span><span style="font-size:10pt;font-family:&amp;"> </span></span><span style="line-height:normal;font-size:15.84px;"><span style="color:blue;">distinct</span><span> </span></span><span style="color:#ff00ff;line-height:normal;font-size:15.84px;">object_name</span>(o.parent_obj) <span style="line-height:normal;font-size:15.84px;"><span style="color:blue;">as</span> </span>ChildTable <span style="line-height:normal;font-size:15.84px;"><span style="color:blue;">from</span> </span>dbo.sysforeignkeys</span></p>
<div>join sysobjects o  <span style="line-height:normal;font-size:13.2px;"><span style="color:blue;">on</span> </span>constid = o.id</div>
<div>join syscolumns c  <span style="line-height:normal;font-size:13.2px;"><span style="color:blue;">on</span> </span>c.id = o.parent_obj and c.colid = fkey</div>
<div>join syscolumns pc <span style="line-height:normal;font-size:13.2px;"><span style="color:blue;">on</span> </span>pc.id = rkeyid and pc.colid = rkey</div>
<div><span style="line-height:12px;font-size:13.2px;"><span style="color:blue;">order</span> </span><span style="line-height:12px;font-size:13.2px;"><span style="color:blue;">by</span> </span>ChildTable</div>
<p><span style="color:#000000;font-family:'Times New Roman';line-height:normal;font-size:15.6px;"><strong><span style="color:#333333;"><span style="font-family:'Courier New';"><span style="font-size:x-small;"><span style="text-decoration:underline;">Listing all the available tables stored procedure,views</span></span></span></span></strong></span></p>
<p class="MsoNormalCxSpFirst" style="line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">select</span><span style="font-size:10pt;font-family:&amp;"> <span style="color:gray;">*</span> <span style="color:blue;">from</span> sysobjects <span style="color:blue;">where</span> xtype<span style="color:gray;">=</span><span style="color:red;">&#8216;u/p/v/f/fn&#8217;</span></span></p>
<p class="MsoNormalCxSpFirst" style="line-height:normal;"><span style="font-size:10pt;font-family:&amp;"><span style="color:red;"><br />
</span></span></p>
<p>Listing all foreign keys in a tABLE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">select</span><span style="font-size:10pt;font-family:&amp;"><span> </span>o<span style="color:gray;">.</span><span style="color:blue;">name</span> <span style="color:blue;">as</span> ForeignKeyName<span style="color:gray;">,</span><span> </span><span style="color:fuchsia;">object_name</span><span style="color:gray;">(</span>o<span style="color:gray;">.</span>parent_obj<span style="color:gray;">)</span> <span style="color:blue;">as</span> ChildTable<span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;">c<span style="color:gray;">.</span><span style="color:blue;">name</span> <span style="color:blue;">as</span> ReferencingColumnName<span style="color:gray;">,</span><span style="color:fuchsia;">object_name</span><span style="color:gray;">(</span>rkeyid<span style="color:gray;">)</span> <span style="color:blue;">as</span> ParentTable<span style="color:gray;">,</span> pc<span style="color:gray;">.</span><span style="color:blue;">name</span> <span style="color:blue;">as</span> ReferencedColumnName</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">from</span><span style="font-size:10pt;font-family:&amp;"> dbo<span style="color:gray;">.</span>sysforeignkeys </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:gray;">join</span><span style="font-size:10pt;font-family:&amp;"> sysobjects o<span> </span><span style="color:blue;">on</span> constid <span style="color:gray;">=</span> o<span style="color:gray;">.</span>id</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:gray;">join</span><span style="font-size:10pt;font-family:&amp;"> syscolumns c<span> </span><span style="color:blue;">on</span> c<span style="color:gray;">.</span>id <span style="color:gray;">=</span> o<span style="color:gray;">.</span>parent_obj <span style="color:gray;">and</span> c<span style="color:gray;">.</span>colid <span style="color:gray;">=</span> fkey</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:gray;">join</span><span style="font-size:10pt;font-family:&amp;"> syscolumns pc <span style="color:blue;">on</span> pc<span style="color:gray;">.</span>id <span style="color:gray;">=</span> rkeyid <span style="color:gray;">and</span> pc<span style="color:gray;">.</span>colid <span style="color:gray;">=</span> rkey</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">where</span><span style="font-size:10pt;font-family:&amp;"> <span style="color:fuchsia;">object_name</span><span style="color:gray;">(</span>o<span style="color:gray;">.</span>parent_obj<span style="color:gray;">)=</span><span style="color:red;">&#8216;Contact&#8217;</span> <span style="color:blue;">order</span> <span style="color:blue;">by</span> ChildTable </span></p>
<p class="MsoNormal">
<p><strong><span style="text-decoration:underline;">Listing all primary keys in a table</span></strong></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">SELECT</span><span style="font-size:10pt;font-family:&amp;"> Col<span style="color:gray;">.</span>Column_Name <span style="color:blue;">from</span> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:green;">INFORMATION_SCHEMA.TABLE_CONSTRAINTS</span><span style="font-size:10pt;font-family:&amp;"> Tab<span style="color:gray;">,</span> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:green;">INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE</span><span style="font-size:10pt;font-family:&amp;"> Col </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">WHERE</span><span style="font-size:10pt;font-family:&amp;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;">Col<span style="color:gray;">.</span>Constraint_Name <span style="color:gray;">=</span> Tab<span style="color:gray;">.</span>Constraint_Name</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:gray;">AND</span><span style="font-size:10pt;font-family:&amp;"> Col<span style="color:gray;">.</span>Table_Name <span style="color:gray;">=</span> Tab<span style="color:gray;">.</span>Table_Name</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:gray;">AND</span><span style="font-size:10pt;font-family:&amp;"> Constraint_Type <span style="color:gray;">=</span> <span style="color:red;">&#8216;PRIMARY KEY &#8216;</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;color:gray;">AND</span><span style="font-size:10pt;line-height:115%;font-family:&amp;"> Col<span style="color:gray;">.</span>Table_Name <span style="color:gray;">=</span> <span style="color:red;">&#8216;&lt;your table name&gt;&#8217;</span></span></p>
<p><!--EndFragment--></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Listing all primary keys in a database</span></strong></p>
<p>select * from information_schema.table_constraints where constraint_type = &#8216;Primary Key&#8217;</p>
<p></span></span></span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;color:blue;">select</span><span style="font-size:10pt;font-family:&amp;"> <span style="color:blue;">distinct</span><span> </span><span style="color:fuchsia;">object_name</span><span style="color:gray;">(</span>o<span style="color:gray;">.</span>parent_obj<span style="color:gray;">)</span> <span style="color:blue;">as</span> ChildTable</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;"><span> </span><span style="color:blue;">from</span> dbo<span style="color:gray;">.</span>sysforeignkeys </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;"><span> </span><span style="color:gray;">join</span> sysobjects o<span> </span><span style="color:blue;">on</span> constid <span style="color:gray;">=</span> o<span style="color:gray;">.</span>id</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;"><span> </span><span style="color:gray;">join</span> syscolumns c<span> </span><span style="color:blue;">on</span> c<span style="color:gray;">.</span>id <span style="color:gray;">=</span> o<span style="color:gray;">.</span>parent_obj <span style="color:gray;">and</span> c<span style="color:gray;">.</span>colid <span style="color:gray;">=</span> fkey</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&amp;"><span> </span><span style="color:gray;">join</span> syscolumns pc <span style="color:blue;">on</span> pc<span style="color:gray;">.</span>id <span style="color:gray;">=</span> rkeyid <span style="color:gray;">and</span> pc<span style="color:gray;">.</span>colid <span style="color:gray;">=</span> rkey</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"><span> </span><span style="color:blue;">order</span> <span style="color:blue;">by</span> ChildTable</span></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/479/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=479&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/06/19/479/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>
	</item>
		<item>
		<title>Where div and table can be used</title>
		<link>http://naveenpn.wordpress.com/2010/04/30/where-div-and-table-can-be-used/</link>
		<comments>http://naveenpn.wordpress.com/2010/04/30/where-div-and-table-can-be-used/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 15:11:28 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=453</guid>
		<description><![CDATA[Hi recently I came across the specialty of div and table;I was more confused with the popular sayings in the web designing industry”tables design tables design”,still I don't understand where exactly each one should be used;I didn't dig about the issue rather I came across where div can be used and where tables can be&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/04/30/where-div-and-table-can-be-used/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=453&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><strong><span style="color:#800000;"><span style="font-weight:normal;"><span style="color:#000000;">Hi recently I came across the specialty of div and table;I was more confused with the
popular sayings in the web designing industry”tables design tables design”,still
I don't understand where exactly each one should be used;I didn't dig about the
issue rather I came across where div can be used and where tables can be used
Let us create two sample pages one with div and  one with tables</span>
<div id="_mcePaste"><span style="color:#800000;"><strong>
</strong></span></div>
<div id="_mcePaste"><strong>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</strong></div>

</span></span><span style="color:#800000;">&lt;head runat="server"&gt;
 &lt;title&gt;Untitled Page&lt;/title&gt;
&lt;/head&gt;
&lt;script type="text/javascript" language="javascript"&gt;
function sam()
{
   document.getElementById('&lt;%= s1.ClientId %&gt;').style.display="none";
}
function sam1()
{
   document.getElementById('&lt;%= s1.ClientId %&gt;').style.display="block";
}
 &lt;/script&gt;
&lt;body&gt;
 &lt;form id="form1" runat="server"&gt;
       &lt;table width="100%" border="1px"&gt;
         &lt;tr&gt;
              &lt;td style="width:100%; height:15px; border:solid 1px black"&gt;
                  &lt;div id="s1" runat="server" style="display: block; background-color: Aqua "&gt;
                          Hai
                  &lt;/div&gt;
              &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
              &lt;td  style="width:100%; height:15px ; border:solid 1px black"&gt;
                  &lt;div id="s2" runat="server" style="display: block; background-color: Lime "&gt;
                        Hello
                  &lt;/div&gt;
             &lt;/td&gt;
       &lt;/tr&gt;
     &lt;/table&gt;
 &lt;input type="button" runat="server" value="Disable" onclick="javascript:sam()" id="Button1" /&gt;
 &lt;input  type="button" runat="server" value="Enable" onclick="javascript:sam1()" /&gt;
 &lt;asp:Button ID="btn" runat="server" Text="Disable" /&gt;
 &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

<a href="http://naveenpn.files.wordpress.com/2010/04/tabl2.jpg"><img class="aligncenter size-full wp-image-458" title="tabl" src="http://naveenpn.files.wordpress.com/2010/04/tabl2.jpg?w=700&#038;h=62" alt="" width="700" height="62" /></a>
<a href="http://naveenpn.files.wordpress.com/2010/04/table.jpg"><img class="aligncenter size-full wp-image-457" title="table" src="http://naveenpn.files.wordpress.com/2010/04/table.jpg?w=700&#038;h=86" alt="" width="700" height="86" /></a>
</span></strong><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->
Instead if a situation arises once user clicks button and inspite of 
block getting  dissappearing we wanted the other block to come first 
then we  can use div

<strong><span style="color:#800000;">
</span></strong>
<pre>
<pre><strong><span style="color:#800000;"><strong>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head runat="server"&gt;
 &lt;title&gt;Untitled Page&lt;/title&gt;
&lt;/head&gt;
&lt;script type="text/javascript" language="javascript"&gt;
function sam()
{
   document.getElementById('&lt;%= s1.ClientId %&gt;').style.display="none";
}
function sam1()
{
   document.getElementById('&lt;%= s1.ClientId %&gt;').style.display="block";
}
 &lt;/script&gt;</strong></span></strong></pre>
</pre>
<p><strong><span style="color:#800000;"> </span><span style="color:#800000;">&lt;body&gt;<br />
&lt;form id="form1" runat="server"&gt;<br />
&lt;div&gt;<br />
&lt;div id="s1" runat="server" style="display: block; background-color: Blue"&gt;<br />
Hai<br />
&lt;/div&gt;<br />
&lt;div id="s2" runat="server" style="display: block; background-color: Green"&gt;<br />
Hello<br />
&lt;/div&gt;<br />
&lt;input id="Button1" type="button" runat="server" value="Disable" onclick="javascript:sam()" /&gt;<br />
&lt;input id="Button2" type="button" runat="server" value="Enable" onclick="javascript:sam1()" /&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;</span><span style="color:#800000;">&lt;/html&gt;</span></strong></p>
<p><strong><a href="http://naveenpn.files.wordpress.com/2010/04/div.jpg"><img class="aligncenter size-full wp-image-459" title="div" src="http://naveenpn.files.wordpress.com/2010/04/div.jpg?w=700&#038;h=65" alt="" width="700" height="65" /></a></strong></p>
<p><strong> </strong><span style="color:#800000;"><span style="color:#000000;">Know click disable we can see the position of second div changes</span></span><strong><span style="color:#800000;"><br />
</span></strong><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></pre>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/453/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=453&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/04/30/where-div-and-table-can-be-used/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/04/tabl2.jpg" medium="image">
			<media:title type="html">tabl</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/04/table.jpg" medium="image">
			<media:title type="html">table</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/04/div.jpg" medium="image">
			<media:title type="html">div</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET Remoting Quick Start</title>
		<link>http://naveenpn.wordpress.com/2010/03/02/net-remoting-quick-start/</link>
		<comments>http://naveenpn.wordpress.com/2010/03/02/net-remoting-quick-start/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 17:10:27 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[WPF / WCF / LINQ /.NET Remoting]]></category>
		<category><![CDATA[.NET Remoting]]></category>
		<category><![CDATA[After WebService in .NET]]></category>
		<category><![CDATA[Basic of Remoting]]></category>
		<category><![CDATA[Remoting]]></category>
		<category><![CDATA[Remoting & .NET]]></category>
		<category><![CDATA[Remoting in .NET]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=415</guid>
		<description><![CDATA[Hi these days i was more excited to know more about .NET Remoting .I’m going to put together a few blog postings over the next few weeks that show off ways to use Remoting.  This first walkthrough below will help you get started and introduce some of the important concepts.I keep updating as and when&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/03/02/net-remoting-quick-start/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=415&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi these days i was more excited to know more about .NET Remoting .I’m going to put together a few blog postings over the next few weeks that show off ways to use Remoting.  This first walkthrough below will help you get started and introduce some of the important concepts.I keep updating as and when i learn so i thought of sharing with you guys.Hope it will help you out to know at least the fundamentals which i am trying to learn ,it is not going to be too deep into the subject but i just wanted to know the overview atleast.Hope you will learn more and also share with me.Check this link for my notes on .NET Remoting  where i have cut pasted most of the contents and prepared my own diagram to explain  better,hope you will enjoy.</p>
<p><a href="https://docs.google.com/Doc?docid=0AZ52p6YcBeaeZGY2aHprZzRfMjZjdjVjNzdrMg&amp;hl=en" target="_blank">.NET Remoting Notes</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/415/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=415&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/03/02/net-remoting-quick-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>
	</item>
		<item>
		<title>Mashup</title>
		<link>http://naveenpn.wordpress.com/2010/02/21/mashup/</link>
		<comments>http://naveenpn.wordpress.com/2010/02/21/mashup/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 02:11:35 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=410</guid>
		<description><![CDATA[Hi check this slide ,it was the slide which i prepared for my National Level Seminar on the topic Mahup,I am have not explained much about it but i put up my slide hope u all like it. Mashup View more presentations from pnnaveen.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=410&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi check this slide ,it was the slide which i prepared for my National Level Seminar on the topic Mahup,I am have not explained much about it but i put up my slide hope u all like it.</p>
<div style="width:425px;text-align:left;" id="__ss_3234879"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;text-decoration:underline;margin:12px 0 3px;" href="http://www.slideshare.net/pnnaveen/mashup-3234879" title="Mashup">Mashup</a>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/pnnaveen">pnnaveen</a>.</div>
</div>
<iframe src='http://www.slideshare.net/slideshow/embed_code/3234879' width='640' height='525'></iframe>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=410&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/02/21/mashup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF Basics</title>
		<link>http://naveenpn.wordpress.com/2010/02/18/wpf-basics/</link>
		<comments>http://naveenpn.wordpress.com/2010/02/18/wpf-basics/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 19:23:55 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[WPF / XAML]]></category>
		<category><![CDATA[Histrory about WPF]]></category>
		<category><![CDATA[WIndows Presentation Foundation Basics]]></category>
		<category><![CDATA[WPF introduction]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=405</guid>
		<description><![CDATA[Hi in this article i am going to explain in short about Windows Presentation Foundation an awesome technology by Microsoft ,personally i enjoyed reading it especially about XAML its really cool a best alternative to VB.net.I thought of putting more effort on VB.NET but once I cam across Windows Presentation Foundation I really stopped working&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/02/18/wpf-basics/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=405&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi in this article i am going to explain in short about Windows Presentation Foundation an awesome technology by Microsoft ,personally i enjoyed reading it especially about XAML its really cool a best alternative to VB.net.I thought of putting more effort on VB.NET but once I cam across Windows Presentation Foundation I really stopped working on it,let me tell some intro about WPF(Windows Presentaion Foundation) code name Avalon.I would like to start with a little bit about history.</p>
<p><strong>Definition</strong></p>
<p><strong>&#8220;</strong>The Windows Presentation Foundation is Microsofts next generation UI framework to create applications with a rich user interface.&#8221;</p>
<p><span style="font-weight:800;">History</span></p>
<p>Before the release of WPF, UI developers used to concentrate on various services or API to develop desktop applications to produce simple application to high end graphic application. So it was highly necessary for any developer to concentrate on one or more services or API for building high end graphics.</p>
<p>Developers used to concentrate on many API&#8217;s to achieve desired functionality and make UI more attracitve</p>
<p>Forms Dialog boxes ,controls  &#8212;  VB6 MFC</p>
<p>2D Graphics<span style="white-space:pre;"> </span> System.Drawing.dll</p>
<p>3D Graphics<span style="white-space:pre;"> </span> DirectX</p>
<p>Streaming Video<span style="white-space:pre;"> </span> Windows Media Player API</p>
<p>FLow/Mixes Documents<span style="white-space:pre;"> </span> PDFs API</p>
<p>In WPF all these is achieved with only Windows Presentation Foundation Framework</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/405/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=405&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/02/18/wpf-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>
	</item>
		<item>
		<title>LINQ Basics</title>
		<link>http://naveenpn.wordpress.com/2010/01/23/linq-basics/</link>
		<comments>http://naveenpn.wordpress.com/2010/01/23/linq-basics/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 02:49:38 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=396</guid>
		<description><![CDATA[Hai,it as been many days since i blogged,actually i was not having time to blog was busy in searching job&#8230;&#8230;&#8230;Thats a long story to go.Recently I started to study on LINQ it a awesome techonolgy by microsoft it took almost 20 days to understand the basics ,I thought of sharing with you.Let me start with&#160;&#8230; <a href="http://naveenpn.wordpress.com/2010/01/23/linq-basics/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=396&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Hai,it as been many days since i blogged,actually i was not having time to blog was busy in searching job&#8230;&#8230;&#8230;Thats a long story to go.Recently I started to study on LINQ it a awesome techonolgy by microsoft it took almost 20 days to understand the basics ,I thought of sharing with you.Let me start with basic definition.</div>
<div><span style="text-decoration:underline;">Defintion</span></div>
<div>
<ul>
<li><span style="font-family:'Times New Roman', serif;line-height:normal;">LINQ unifies data access, whatever the source of data, and allows mixing data from different kind of sources.</span></li>
<li><span style="font-family:'Times New Roman', serif;line-height:normal;"><span style="line-height:11px;">LINQ provides a uniform way to retrieve data from any object that implements the Enumerable interface.</span></span></li>
</ul>
</div>
<div>
<p class="MsoNormal"><span style="font-family:'Times New Roman', serif;font-size:small;"><span style="line-height:14px;"> Microsoft  has introduced LINQ with many goals in mind to bring down the way data is accessed  from different datasource, by using LINQ we can use a uniform query to perform operations on various datasource, it also answers disadvanatges of  SQL</span></span></p>
<p class="MsoNormal"><span style="font-family:'Times New Roman', serif;font-size:small;"><span style="line-height:14px;"> Disadvantages of SQL</span></span></p>
<p class="MsoNormal"><span style="font-family:'Times New Roman', serif;font-size:small;"><span style="line-height:14px;"> </span></span></p>
<p><span style="font-family:'Times New Roman', serif;font-size:small;"> </span></p>
<ul type="disc">
<li class="MsoNormal" style="color:black;line-height:normal;"><strong><span style="font-size:13.5pt;font-family:&amp;">Compile time support</span></strong><span style="font-size:13.5pt;font-family:&amp;">:      You cannot know until run time whether the string is correct because the      compiler treats it as a simple string.</span></li>
<li class="MsoNormal" style="color:black;line-height:normal;"><strong><span style="font-size:13.5pt;font-family:&amp;">Design time support</span></strong><span style="font-size:13.5pt;font-family:&amp;">:      No tool offers IntelliSense support for these command strings</span></li>
</ul>
</div>
<p>To solve this  queries should be  integrated into a language, which then can be verified both during compile time as well as runtime and important part is it can offer intellisence support also.</p>
<p><span style="font-size:15px;"> LINQ addresses both these issues. Because the queries are integrated into the language, they are verified during compilation and you have IntelliSense support for them.</span></p>
<p>There are various data providers  which is shown below</p>
<ol>
<li>LINQ to Objects</li>
<li>LINQ to XML</li>
<li>LINQ to  SQL</li>
<li>LINQ to DataSet</li>
<li>LINQ to Entities</li>
</ol>
<p><span style="font-family:'Times New Roman', serif;font-size:small;"> </span></p>
<p><span style="font-size:medium;"><br />
</span></p>
<p><a href="http://naveenpn.files.wordpress.com/2010/01/linq.jpg"><img class="aligncenter size-full wp-image-397" title="linq" src="http://naveenpn.files.wordpress.com/2010/01/linq.jpg?w=628&#038;h=224" alt="" width="628" height="224" /></a></p>
<p><strong><span style="text-decoration:underline;"><span style="color:black;"><span style="text-decoration:none;"> </span></span></span></strong></p>
<p><strong><span style="text-decoration:underline;"><span style="color:black;">LINQ to Objects</span></span></strong></p>
<p class="MsoNormalCxSpFirst"><span style="font-size:12pt;line-height:115%;font-family:&amp;">LINQ to Objects allows .NET developers to write “queries” over collections of objects<span style="color:#555555;">.</span> </span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:'Times New Roman', serif;font-size:small;"><span style="line-height:14px;">let me take 2 example one without LINQ and another using LINQ</span></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:'Times New Roman', serif;"><span style="line-height:11px;font-size:small;"><br />
</span></span></p>
<p class="MsoNormalCxSpMiddle">Now let us separate the words whose length is greater then 5,To perform this we should iterate all the members of an array which is tedious and with more CPU Utilizing.</p>
<p class="MsoNormal"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="font-family:'Courier New';color:#0000ff;font-size:small;"><span style="line-height:12px;"><span style="border-collapse:collapse;line-height:normal;font-size:small;"> </span></span></span></span></p>
<p class="MsoNormal"><span style="color:#800000;"><span style="line-height:10px;"> </span></span></p>
<p><span style="color:#800000;"></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:blue;">class</span><span style="font-size:10pt;line-height:115%;font-family:&quot;"> <span style="color:#2b91af;">HelloWorld</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span><span style="color:blue;">static</span> <span style="color:blue;">void</span> Main()</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span><span style="color:blue;">string</span>[] words = <span style="color:blue;">new</span> <span style="color:blue;">string</span>[] {<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:6px;"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:#a31515;">&#8220;Sadhana&#8221;</span><span style="font-size:10pt;line-height:115%;font-family:&quot;">, <span style="color:#a31515;">&#8220;Naveen&#8221;</span>, <span style="color:#a31515;">&#8220;Praveen&#8221;</span>, <span style="color:#a31515;">&#8220;Pankaj&#8221;</span>, <span style="color:#a31515;">&#8220;Abhilash&#8221;</span> };</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span><span style="color:blue;">foreach</span> (<span style="color:blue;">string</span> word <span style="color:blue;">in</span> words)</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span><span style="color:blue;">if</span> (word.Length &lt;= 5)</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span><span style="color:#2b91af;">Console</span>.WriteLine(word);</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span>}</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span>}</span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;"><span> </span>}</span></span></p>
<p>The same can be achieved using LINQ</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;">class</span><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">Hello_LINQ_to_Objects_Demo1</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;">{</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">static</span> <span style="color:blue;">void</span> Main()</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> String</span><span style="font-size:10pt;line-height:115%;font-family:&amp;">[] champion_names = <span style="font-family:'Courier New';line-height:6px;color:#800000;">{<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:6px;"><span style="font-size:10pt;line-height:10px;font-family:'Courier New';color:#a31515;">&#8220;Sadhana&#8221;</span><span style="font-size:10pt;line-height:10px;font-family:'Courier New';">, <span style="color:#a31515;">&#8220;Naveen&#8221;</span>, <span style="color:#a31515;">&#8220;Praveen&#8221;</span>, <span style="color:#a31515;">&#8220;Pankaj&#8221;</span>, <span style="color:#a31515;">&#8220;Abhilash&#8221;</span> };</span></span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">var</span> short_name = <span style="color:blue;">from</span> name <span style="color:blue;">in</span> champion_names </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">where</span> name.Length &gt;= 5</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">select</span> name;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">foreach</span> (<span style="color:blue;">var</span> word <span style="color:blue;">in</span> short_name)</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">Console</span>.WriteLine(word);</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">Console</span>.ReadLine();</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&amp;">}</span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&amp;"><br />
</span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&amp;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:15px;">Take this example which which uses LINQ with class</span></span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&amp;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:15px;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;">class</span><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">CustomerDetails</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">string</span> customer_name;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">int</span> customer_id;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">string</span> customer_address;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">double</span> customer_purchase_cost;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">string</span> customerName</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">get<span style="color:#000000;">{<span style="color:blue;">return</span> customer_name;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">set<span style="color:#000000;">{customer_name=<span style="color:blue;">value</span>;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">int</span> customerId</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">get<span style="color:#000000;">{<span style="color:blue;">return</span> customer_id;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">set<span style="color:#000000;">{customer_id=<span style="color:blue;">value</span>;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">string</span> customerAddress</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">get<span style="color:#000000;">{<span style="color:blue;">return</span> customer_address;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">set<span style="color:#000000;">{customer_address=<span style="color:blue;">value</span>;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">public</span> <span style="color:blue;">double</span> customerPurchaseCost</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">get<span style="color:#000000;">{<span style="color:blue;">return</span> customer_purchase_cost;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">set<span style="color:#000000;">{customer_purchase_cost=<span style="color:blue;">value</span>;}</span></span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">class</span> <span style="color:#2b91af;">Program</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">static</span> <span style="color:blue;">void</span> Main(<span style="color:blue;">string</span>[] args)</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">Console</span>.WriteLine(<span style="color:#a31515;">&#8220;Enter the Customer Name&#8221;</span>);</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">string</span> name = <span style="color:#2b91af;">Console</span>.ReadLine();</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">var</span> customerdetails = <span style="color:blue;">new</span> <span style="color:#2b91af;">List</span>&lt;<span style="color:#2b91af;">CustomerDetails</span>&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">new</span> <span style="color:#2b91af;">CustomerDetails</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerName=<span style="color:#a31515;">&#8220;Naveen&#8221;</span>,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerId=110,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerAddress=<span style="color:#a31515;">&#8220;Bannerghatta Road Bangalore 560076&#8243;</span>,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerPurchaseCost=100000</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> },</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">new</span> <span style="color:#2b91af;">CustomerDetails</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerName=<span style="color:#a31515;">&#8220;Praveen&#8221;</span>,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerId=111,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerAddress=<span style="color:#a31515;">&#8220;Adugudi Road Bangalore 560076&#8243;</span>,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerPurchaseCost=100000</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> },</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">new</span> <span style="color:#2b91af;">CustomerDetails</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> {</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerName=<span style="color:#a31515;">&#8220;Sadhana&#8221;</span>,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerId=112,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerAddress=<span style="color:#a31515;">&#8220;JP Nagar Bangalore 560076&#8243;</span>,</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> customerPurchaseCost=100000</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> },</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> };</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">var</span> Found = <span style="color:blue;">from</span> details <span style="color:blue;">in</span> customerdetails</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:green;">//where details.customerName == &#8220;Sadhana&#8221;</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">where</span> details.customerName == name </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">select</span> details.customerAddress;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:green;">//details.customerId &amp; details.customerAddress;</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:green;">// Display results.</span></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:blue;">foreach</span> (<span style="color:blue;">var</span> Result <span style="color:blue;">in</span> Found)</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">Console</span>.WriteLine(<span style="color:#a31515;">&#8220;Address: &#8220;</span> + Result.ToString());</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> <span style="color:#2b91af;">Console</span>.ReadLine();</span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&amp;"> }</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=396&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2010/01/23/linq-basics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2010/01/linq.jpg" medium="image">
			<media:title type="html">linq</media:title>
		</media:content>
	</item>
		<item>
		<title>Error has occurred while establishing a connection to the server</title>
		<link>http://naveenpn.wordpress.com/2009/12/26/error-has-occurred-while-establishing-a-connection-to-the-server/</link>
		<comments>http://naveenpn.wordpress.com/2009/12/26/error-has-occurred-while-establishing-a-connection-to-the-server/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 02:27:07 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=387</guid>
		<description><![CDATA[Sqlcmd: Error: Microsoft SQL Native Client: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. Are you panic with this type of error then it’s no more,&#160;&#8230; <a href="http://naveenpn.wordpress.com/2009/12/26/error-has-occurred-while-establishing-a-connection-to-the-server/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=387&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#0000ff;">Sqlcmd: Error: Microsoft SQL Native Client: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.</span></p>
<p>Are you panic with this type of error then it’s no more, I have found a solution with many attempts to solve this error which I was facing and making my head down.</p>
<p>Whenever you connect to to SQL Server 2005 database including  express edition and standard edition and professional the error may occur .To resolve this error just follow these steps it was found by me after many attempts to solve my error and finally landed out with a solution .</p>
<p>The error may look like this</p>
<p>Sqlcmd: Error: Microsoft SQL Native Client: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.</p>
<p><a href="http://naveenpn.files.wordpress.com/2009/12/errormain.jpg"><img class="aligncenter size-full wp-image-389" title="errormain" src="http://naveenpn.files.wordpress.com/2009/12/errormain.jpg?w=616&#038;h=199" alt="" width="616" height="199" /></a></p>
<p>There are 4 ways to get rid of this error.</p>
<ol>
<li> Enable remote connections</li>
<li> Check SQL Server Browser service.</li>
<li> Ensure the configuration of firewalls is allowing network traffic related to sql server and server browser service.</li>
<li> Check for the Computer Name.</li>
</ol>
<p><strong><span style="text-decoration:underline;">Enable remote connections</span></strong></p>
<p>This error occurs because under default configuration the sql server will not be configured to accept remote connections.</p>
<p>To enable remote connections just follow the steps</p>
<p>Click on start-&gt;Programs-&gt;Microsoft Sql server 2005-&gt;Sql server configuration tools-&gt; Sql server Surface area connection as below</p>
<p><a href="http://naveenpn.files.wordpress.com/2009/12/sqlserver2.jpg"><img class="aligncenter size-full wp-image-390" title="sqlserver2" src="http://naveenpn.files.wordpress.com/2009/12/sqlserver2.jpg?w=643&#038;h=509" alt="" width="643" height="509" /></a></p>
<p>Click the text which is highlighted and u will we will get a new a new screen. In the new screen enable select Remote connections and check the radio buttons as shown is the figure.<a href="http://naveenpn.files.wordpress.com/2009/12/sqlserver3.jpg"><img class="aligncenter size-full wp-image-391" title="sqlserver3" src="http://naveenpn.files.wordpress.com/2009/12/sqlserver3.jpg?w=670&#038;h=513" alt="" width="670" height="513" /></a></p>
<p><strong><span style="text-decoration:underline;">Enable SQL Server Browser service.</span></strong></p>
<p>If the service is stopped start the service this will not be the case usually,make startup automatic and then click apply.</p>
<p><strong></strong></p>
<p><a href="http://naveenpn.files.wordpress.com/2009/12/sqlserver4.jpg"><img class="aligncenter size-full wp-image-392" title="sqlserver4" src="http://naveenpn.files.wordpress.com/2009/12/sqlserver4.jpg?w=669&#038;h=513" alt="" width="669" height="513" /></a></p>
<p><strong><span style="text-decoration:underline;">Check for the Computer Name.</span></strong></p>
<p><strong><span style="text-decoration:underline;"> </span></strong></p>
<p>The computer name should match with our server name of SQL Server .</p>
<p><a href="http://naveenpn.files.wordpress.com/2009/12/sqlserver6.jpg"><img class="aligncenter size-full wp-image-393" title="sqlserver6" src="http://naveenpn.files.wordpress.com/2009/12/sqlserver6.jpg?w=414&#038;h=314" alt="" width="414" height="314" /></a></p>
<p><a href="http://naveenpn.files.wordpress.com/2009/12/sqlserver5.jpg"><img class="aligncenter size-full wp-image-394" title="sqlserver5" src="http://naveenpn.files.wordpress.com/2009/12/sqlserver5.jpg?w=700&#038;h=475" alt="" width="700" height="475" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=387&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2009/12/26/error-has-occurred-while-establishing-a-connection-to-the-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/12/errormain.jpg" medium="image">
			<media:title type="html">errormain</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/12/sqlserver2.jpg" medium="image">
			<media:title type="html">sqlserver2</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/12/sqlserver3.jpg" medium="image">
			<media:title type="html">sqlserver3</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/12/sqlserver4.jpg" medium="image">
			<media:title type="html">sqlserver4</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/12/sqlserver6.jpg" medium="image">
			<media:title type="html">sqlserver6</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/12/sqlserver5.jpg" medium="image">
			<media:title type="html">sqlserver5</media:title>
		</media:content>
	</item>
		<item>
		<title>Project-Based Development and Projectless-Based Development</title>
		<link>http://naveenpn.wordpress.com/2009/10/23/project-based-development-and-projectless-based-development/</link>
		<comments>http://naveenpn.wordpress.com/2009/10/23/project-based-development-and-projectless-based-development/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 01:09:50 +0000</pubDate>
		<dc:creator>Naveen P.N</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://naveenpn.wordpress.com/?p=371</guid>
		<description><![CDATA[Introduction Web Project can be developed of two types a)      Projectless Based Development b)      Project Based Development or web project Project less Based Development Creating websites of this form is called project less applications. It has its own advantages over Project Based Development. The advantages include a) It simplifies deployment: We can simply copy the&#160;&#8230; <a href="http://naveenpn.wordpress.com/2009/10/23/project-based-development-and-projectless-based-development/">Read&#160;more</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=371&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration:underline;">Introduction</span></strong></p>
<p>Web Project can be developed of two types</p>
<p>a)      Projectless Based Development</p>
<p>b)      Project Based Development or web project</p>
<p><strong><span style="text-decoration:underline;">Project less Based Development</span></strong></p>
<p>Creating websites of this form is called project less applications. It has its own advantages over Project Based Development.</p>
<p><img class="aligncenter size-full wp-image-372" title="1" src="http://naveenpn.files.wordpress.com/2009/10/1.jpg?w=221&#038;h=458" alt="1" width="221" height="458" /></p>
<p>The advantages include</p>
<p><strong>a) </strong><strong>It simplifies deployment:</strong> We can simply copy the files in the website directory to the web server.<strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong>b) </strong><strong>It simplifies file management:</strong> Adding , deleting and  moving files  is very easy u can just delete, add or move a web page ,there is no need to go through Visual Studio or edit the project file.<strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong>c) </strong><strong>It simplifies team collaboration: </strong>Each team can work independently on different pages.<strong><span style="text-decoration:underline;"> </span></strong></p>
<p>d)     <strong>It simplifies debugging:</strong> Creating a web project ,you must recompile the entire application when you change a single file With project less development, each</p>
<p>page is compiled separately, and the page is only compiled when you request it for the first time.<strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong><span style="text-decoration:underline;">Project Based Development or Web Project</span></strong></p>
<p>Creating project of this form is called Project Based Development or simply Web Project. If we create application of this form Visual Studio generates a number of extra files, including .csproj and .csproj.user project files and .sln solution file.</p>
<p><img class="aligncenter size-full wp-image-373" title="2" src="http://naveenpn.files.wordpress.com/2009/10/2.jpg?w=225&#038;h=458" alt="2" width="225" height="458" /></p>
<p><img class="aligncenter size-full wp-image-374" title="3" src="http://naveenpn.files.wordpress.com/2009/10/3.jpg?w=490&#038;h=311" alt="3" width="490" height="311" /></p>
<p>When you build your application, Visual Studio generates temporary files, which is places in the Obj subdirectory, and one or more .pdb files (in the Bin subdirectory) with debugging symbols. None of these files should be deployed to the web server when your web application is complete. Furthermore, none of the C# source code files (files with the extension .cs) should be deployed, because Visual Studio recompiles them into a DLL assembly.</p>
<p>However both are same once they are deployed to the web server,but they differ in their structure .The difference include</p>
<p>a)      <strong>Compilation:</strong> Web projects are compiled by Visual Studio and not ASP.NET when they run. All the web pages classes is combined into a single assembly that has the name of web project(like web project.dll);</p>
<p><img class="aligncenter size-full wp-image-375" title="4" src="http://naveenpn.files.wordpress.com/2009/10/4.jpg?w=408&#038;h=90" alt="4" width="408" height="90" /></p>
<p>b)      <strong>Code-behind</strong>: The web pages also uses code behind file however they include one additional file with an extension .aspx.designer.cs.</p>
<p><img class="aligncenter size-full wp-image-377" title="5" src="http://naveenpn.files.wordpress.com/2009/10/51.jpg?w=205&#038;h=367" alt="5" width="205" height="367" /></p>
<p>c)      <strong>Assembly references</strong>: In a project less website ,all the assembly references are recorded in the web.config file</p>
<p><strong>Other posts</strong></p>
<p><strong>* </strong><a href="http://naveenpn.wordpress.com/2009/10/23/using-c-and-vb-classed-together-in-the-app_code-folder/" target="_blank">Using C# and VB classed together in the App_Code folder :</a></p>
<p>*   <a href="http://naveenpn.wordpress.com/2009/10/08/asp-net-application-folders/" target="_blank">ASP.NET Application Folders</a></p>
<p>*   <a href="http://naveenpn.wordpress.com/2009/10/05/creating-dynamic-linking-library-using-asp-net/" target="_blank">Creating Dynamic Linking Library using ASP.NET</a></p>
<p>*   <a href="http://naveenpn.wordpress.com/2009/09/27/vb-style-calendar-in-asp-net/" target="_blank">VB Style Calendar in ASP.NET</a></p>
<p>* <a href="http://naveenpn.wordpress.com/2009/09/27/sending-sms-from-asp-net-application/" target="_blank"> Sending SMS from ASP.NET Application</a></p>
<p>*   <a href="http://naveenpn.wordpress.com/2009/09/13/view-state/" target="_blank">View State</a></p>
<p>*   <a href="http://naveenpn.wordpress.com/2008/06/11/aspnet/" target="_blank">What is the difference between Server.Transfer and Response.Redirect?</a></p>
<p>*   <a href="http://naveenpn.wordpress.com/2009/08/27/text-to-speech-in-asp-net/" target="_blank">Text to Speech in ASP.NET</a></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  Using C# and VB classed together in the App_Code folder :</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/10/23/using-c-and-vb-classed-together-in-the-app_code-folder/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  ASP.NET Application Folders</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/10/08/asp-net-application-folders/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  Creating Dynamic Linking Library using ASP.NET</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/10/05/creating-dynamic-linking-library-using-asp-net/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  VB Style Calendar in ASP.NET</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/09/27/vb-style-calendar-in-asp-net/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  Sending SMS from ASP.NET Application</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/09/27/sending-sms-from-asp-net-application/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">* View State</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/09/13/view-state/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  What is the difference between Server.Transfer and Response.Redirect?</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2008/06/11/aspnet/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  Text to Speech in ASP.NET</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/08/27/text-to-speech-in-asp-net/</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">AJAX Control Toolkit</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">*  Traditional Page Updates VS AJAX Page Updates</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:2255px;width:1px;height:1px;">http://naveenpn.wordpress.com/2009/08/29/traditional-page-updates-vs-ajax-page-updates/</div>
<p></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/naveenpn.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/naveenpn.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/naveenpn.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/naveenpn.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/naveenpn.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/naveenpn.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/naveenpn.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/naveenpn.wordpress.com/371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=naveenpn.wordpress.com&amp;blog=3945418&amp;post=371&amp;subd=naveenpn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://naveenpn.wordpress.com/2009/10/23/project-based-development-and-projectless-based-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Naveen P.N</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/10/1.jpg" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/10/2.jpg" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/10/3.jpg" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/10/4.jpg" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://naveenpn.files.wordpress.com/2009/10/51.jpg" medium="image">
			<media:title type="html">5</media:title>
		</media:content>
	</item>
	</channel>
</rss>
