<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8944354869362723243</id><updated>2011-10-12T12:07:31.515+05:30</updated><category term='C#'/><category term='LinQ'/><category term='Visual Studio'/><category term='.Net 4.0'/><category term='Twitter'/><category term='Bing'/><category term='IIS 7'/><category term='MVC'/><category term='SQL'/><category term='Error Solution'/><category term='SQL SERVER 2008'/><category term='.Net'/><category term='.Net(3.5)'/><category term='Tools'/><category term='ShortCut Keys'/><category term='.NET(3.0)'/><category term='My Tools'/><category term='Best Practices'/><category term='News'/><category term='Visual Studio 2010'/><category term='ASP.NET'/><category term='OS Tips'/><category term='Books'/><title type='text'>Anish Varghese - My World of Microsoft Technologies</title><subtitle type='html'>Success is a journey , It’s not a destination</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>87</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3455955982185462605</id><published>2011-04-28T23:12:00.001+05:30</published><updated>2011-04-28T23:12:40.503+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Web Platform Installer</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Web platform Installer is a free tool from Microsoft, which will help you to find what are the latest you have to install and available in market.&lt;/p&gt;  &lt;p&gt;If you want to download &lt;a href="http://www.microsoft.com/web/downloads/platform.aspx"&gt;click here&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3455955982185462605?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3455955982185462605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3455955982185462605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3455955982185462605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3455955982185462605'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2011/04/web-platform-installer.html' title='Web Platform Installer'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5169498460771899849</id><published>2011-02-14T00:07:00.002+05:30</published><updated>2011-05-23T16:32:20.337+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>To Hide a file in C#</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;Hi this is a basic sample shows how to create and hide a Directory in C#&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;       &lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TVq0Od6VfpI/AAAAAAAABAw/dgFGTq5tJFY/s1600-h/image%5B4%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" alt="image" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TVq0PrQDlbI/AAAAAAAABA0/spwo_zhykdo/image_thumb%5B2%5D.png?imgmax=800" border="0" height="89" width="460" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5169498460771899849?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5169498460771899849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5169498460771899849' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5169498460771899849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5169498460771899849'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2011/02/to-hidden-file-in-c.html' title='To Hide a file in C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_dV6Dkc4-Wo8/TVq0PrQDlbI/AAAAAAAABA0/spwo_zhykdo/s72-c/image_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3227325040929014894</id><published>2011-01-30T23:59:00.001+05:30</published><updated>2011-01-31T22:59:36.233+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>How to Write a Macro in VS 2010</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;We all knows that how much friendly the macros are. Here I am showing a small example of how to write macro to Disable and Enable macros.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When debugging projects.Its difficult to add and remove break points all the time. This is a simple macro which enable and disable the Breakpoints&lt;/p&gt;  &lt;p&gt;First thing is &lt;strong&gt;how to write a macro&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Step1: Select Tools –&amp;gt; Options –&amp;gt; Macros –&amp;gt; Macro Explorer (Alt+F8)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxR8zJUhI/AAAAAAAAA_8/2r3d617uUqs/s1600-h/image%5B4%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxTFAEc8I/AAAAAAAABAA/twopMVNdPwU/image_thumb%5B2%5D.png?imgmax=800" width="451" height="317" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step2: Double click on the module created.(Here it is Module2)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TUbxUTxeA-I/AAAAAAAABAE/CxiVFbGbPGk/s1600-h/image%5B7%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TUbxVTHsgtI/AAAAAAAABAI/FfgABilUhvY/image_thumb%5B3%5D.png?imgmax=800" width="244" height="112" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step3: Write your Macro Code&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxWS9b5uI/AAAAAAAABAM/O8MPlG_A2UU/s1600-h/image%5B12%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TUbxX50fdUI/AAAAAAAABAQ/rov3tBE7ZzU/image_thumb%5B6%5D.png?imgmax=800" width="419" height="287" /&gt;&lt;/a&gt;&lt;/p&gt;      &lt;p&gt;Step4 : Build the Macro code&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to add the Macro created to VS10&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Step 5: go to vs10 Project(Take a new one not in Macro) Tools –&amp;gt; Options&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxZLSodvI/AAAAAAAABAU/Z8QeGWJYHY0/s1600-h/image%5B16%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxaKPMSRI/AAAAAAAABAY/76u3ECTcskY/image_thumb%5B8%5D.png?imgmax=800" width="228" height="324" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step 6: Under Environment Variables –&amp;gt; Keyboard –&amp;gt; in Show Commands containing –&amp;gt; Select the macro you created.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TUbxbQ5uCBI/AAAAAAAABAc/ogGPzlKHxZU/s1600-h/image%5B20%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxciLenkI/AAAAAAAABAg/XdX1N7OaVrM/image_thumb%5B10%5D.png?imgmax=800" width="463" height="277" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 7: Type the key combination then click Assign and then Ok&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TUbxd4dLT_I/AAAAAAAABAk/z9XvnuwXpp8/s1600-h/image%5B24%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxfE8kddI/AAAAAAAABAo/u7UfQc-lsdE/image_thumb%5B12%5D.png?imgmax=800" width="419" height="246" /&gt;&lt;/a&gt;&lt;/p&gt;      &lt;p&gt;Finally: Go to VS and Press the key combination (in the example I shown only for Enable, for disable also do the same step)&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Hope this will help you.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3227325040929014894?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3227325040929014894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3227325040929014894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3227325040929014894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3227325040929014894'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2011/01/combile-two-list-using-linq.html' title='How to Write a Macro in VS 2010'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_dV6Dkc4-Wo8/TUbxTFAEc8I/AAAAAAAABAA/twopMVNdPwU/s72-c/image_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4792723817578994208</id><published>2011-01-10T21:53:00.001+05:30</published><updated>2011-01-10T21:57:14.265+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='ShortCut Keys'/><title type='text'>Import and Export Break Points in VS 2010</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;VS2010 has so many features. One of the best thing is import and export the break point.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Steps to Follow&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Step 1: Put the break point&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TSsyWB2sLgI/AAAAAAAAA_Q/Phx0RWbQ1nU/s1600-h/1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TSsyXYWJwmI/AAAAAAAAA_U/KpytijRdxzk/1_thumb%5B1%5D.jpg?imgmax=800" width="326" height="67" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 2: Click on Export all Break Points&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TSsyY_9OHfI/AAAAAAAAA_Y/Of40tg0ym6Q/s1600-h/2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="2" border="0" alt="2" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TSsyaCXHoEI/AAAAAAAAA_c/B8vQnCXdKmg/2_thumb%5B1%5D.jpg?imgmax=800" width="324" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step 3:&amp;#160; Select the location and save the XML&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TSsybfeOfUI/AAAAAAAAA_g/ZluzA6Vgk4I/s1600-h/3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TSsyceNBtCI/AAAAAAAAA_k/2ZGgF9y9AuU/3_thumb%5B1%5D.jpg?imgmax=800" width="275" height="212" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step 4: Remove all break points and Click on Import Breakpoints from a file &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TSsydtzh0NI/AAAAAAAAA_o/3N-iKzu9UUE/s1600-h/4%5B8%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="4" border="0" alt="4" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TSsye2PkeuI/AAAAAAAAA_s/HRuSHy-VjZA/4_thumb%5B4%5D.jpg?imgmax=800" width="372" height="62" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step 5: Select the saved XML File. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TSsygPdE5LI/AAAAAAAAA_w/Ub9nuWkCBwk/s1600-h/5%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="5" border="0" alt="5" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TSsyhT8ocsI/AAAAAAAAA_0/AoFhgGOgUM8/5_thumb%5B3%5D.jpg?imgmax=800" width="395" height="304" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;All the breakpoints will reappear &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TSsyiLzSzjI/AAAAAAAAA_4/heNgX4GHAnE/wlEmoticon-smile%5B2%5D.png?imgmax=800" /&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4792723817578994208?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4792723817578994208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4792723817578994208' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4792723817578994208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4792723817578994208'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2011/01/import-and-export-break-points-in-vs.html' title='Import and Export Break Points in VS 2010'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/TSsyXYWJwmI/AAAAAAAAA_U/KpytijRdxzk/s72-c/1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4495962850237372087</id><published>2010-09-15T19:17:00.001+05:30</published><updated>2010-09-15T19:19:58.449+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Track Changes in Visual Studio</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Today I have noticed a nice future in visual studio Track Changes.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When you change some code portion in visual studio in says whether you saved it or not. Here is the example for the same.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;First I enable the Track Changes in Visual studio. For that go to &lt;font color="#ff0000"&gt;Tools –&amp;gt; Options –&amp;gt; Text Editor –&amp;gt; General –&amp;gt; (Select) Track Changes.&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TJDOWjvz5mI/AAAAAAAAA98/q3D82MIHmGA/s1600-h/Track%20Changes%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Track Changes" border="0" alt="Track Changes" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TJDOYBQdkWI/AAAAAAAAA-A/R2SeAVH4Usc/Track%20Changes_thumb%5B1%5D.jpg?imgmax=800" width="477" height="308" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If you type something in code without saving it will come with a yellow line in the margin.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TJDOZo9BFFI/AAAAAAAAA-E/tPSZDve0zHA/s1600-h/B4Save%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="B4Save" border="0" alt="B4Save" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TJDObAEwXcI/AAAAAAAAA-I/RM9nJwwiP7w/B4Save_thumb%5B1%5D.jpg?imgmax=800" width="340" height="144" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once you save this yellow changes to Green.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TJDOcR4qeKI/AAAAAAAAA-M/JdAZopYTv4Y/s1600-h/AfterSave%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="AfterSave" border="0" alt="AfterSave" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TJDOd1F4upI/AAAAAAAAA-Q/E3yT_IK7YKA/AfterSave_thumb%5B1%5D.jpg?imgmax=800" width="324" height="137" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Summary: This is a nice feature in Visual studio to help us to where we have done the changes in the code before saving the code (Comes as yellow). As well as we come to know which is the last saved one ( comes in green)&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4495962850237372087?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4495962850237372087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4495962850237372087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4495962850237372087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4495962850237372087'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/09/track-changes-in-visual-studio.html' title='Track Changes in Visual Studio'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/TJDOYBQdkWI/AAAAAAAAA-A/R2SeAVH4Usc/s72-c/Track%20Changes_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8197132504048232213</id><published>2010-07-06T21:37:00.000+05:30</published><updated>2010-07-06T21:37:43.035+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='OS Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Error Solution'/><title type='text'>How to get the deleted file in Windows</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Last day i deleted one file from my pc.i recovered the file by using &lt;a href="http://www.topdrawerdownloads.com/download/104800"&gt;Restoration Version 2.5.14&lt;/a&gt; and i successfully recovered the file. Following are the steps i used to recover the deleted files.&lt;/p&gt;  &lt;p&gt;I am using windows 7 as my OS.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Download &lt;a href="http://www.topdrawerdownloads.com/download/104800"&gt;Restoration Version 2.5.14&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;extract the file if required,&amp;#160; else run the exe.it will popup with a screen as shown below. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;/p&gt; &lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TDNUWExc2UI/AAAAAAAAAZU/LjVcy-KVdWY/s1600-h/RestoreVersion%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="RestoreVersion" border="0" alt="RestoreVersion" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TDNUW5vcfoI/AAAAAAAAAZY/xJFIhukgFrY/RestoreVersion_thumb%5B1%5D.jpg?imgmax=800" width="344" height="273" /&gt;&lt;/a&gt;  &lt;p&gt;3. Select the drive from where you want to recover the data.Here i am selecting Drive as &lt;font color="#ff0000"&gt;K.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TDNUXtwAaEI/AAAAAAAAAZc/LN16shkf8aQ/s1600-h/Drive%20K%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Drive K" border="0" alt="Drive K" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TDNUYGJzqII/AAAAAAAAAZg/WP8vlA3pc_g/Drive%20K_thumb%5B1%5D.jpg?imgmax=800" width="360" height="285" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;4.Click the Search Deleted Files button.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TDNUZBzUsgI/AAAAAAAAAZk/lbKO1ePMtvc/s1600-h/Search%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Search" border="0" alt="Search" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TDNUaP0icQI/AAAAAAAAAZo/jPBVXDIp_-E/Search_thumb%5B2%5D.jpg?imgmax=800" width="368" height="294" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;5.it will display the deleted files .select the file you want and click on Restore by Copying button.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TDNUa9tKzUI/AAAAAAAAAZs/Qzut-Ppgc1M/s1600-h/Recover%20Selected%20File%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Recover Selected File" border="0" alt="Recover Selected File" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TDNUbpw7WXI/AAAAAAAAAZw/cbjnHBw4Wq0/Recover%20Selected%20File_thumb%5B1%5D.jpg?imgmax=800" width="377" height="299" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;6. Select the location where you want to recover the files.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TDNUcC6IKWI/AAAAAAAAAZ0/QsYN_eMpx8I/s1600-h/Save%20Searched%20Files%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Save Searched Files" border="0" alt="Save Searched Files" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TDNUc6MkHTI/AAAAAAAAAZ4/RYxMoqWZvXw/Save%20Searched%20Files_thumb%5B1%5D.jpg?imgmax=800" width="390" height="297" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Note: here i tried for a word document to recover. i don’t know what all files it will recover.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8197132504048232213?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8197132504048232213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8197132504048232213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8197132504048232213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8197132504048232213'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/07/how-to-get-deleted-file-in-windows.html' title='How to get the deleted file in Windows'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_dV6Dkc4-Wo8/TDNUW5vcfoI/AAAAAAAAAZY/xJFIhukgFrY/s72-c/RestoreVersion_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7380887491505977097</id><published>2010-06-09T09:01:00.001+05:30</published><updated>2010-06-09T09:01:12.787+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><title type='text'>Square selection in Visual studio 2010</title><content type='html'>&lt;p&gt;In visual studio 2010 we can easily select the items in square manner and replace those things.Here is one example.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TA8K7H1SFHI/AAAAAAAAAYs/X9VE_Ry_X0U/s1600-h/Private%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Private" border="0" alt="Private" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TA8K74RA5cI/AAAAAAAAAYw/SjRXHUfRh9E/Private_thumb%5B1%5D.jpg?imgmax=800" width="306" height="76" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Here i have three private variable and i need to change it to public all at a time, press &lt;font color="#ff0000"&gt;Alt Key&lt;/font&gt; and select the square area where you want.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/TA8K8ff8hUI/AAAAAAAAAY0/EimaX-DUr7M/s1600-h/square%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="square" border="0" alt="square" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TA8K9p7Z1KI/AAAAAAAAAY4/KHT52cy_APE/square_thumb%5B1%5D.jpg?imgmax=800" width="300" height="89" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Then type the thing what you want is select in the square where you selected and type.I changed private to internal.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TA8K-mOqz_I/AAAAAAAAAY8/0ctmq7aTyyk/s1600-h/internal%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="internal" border="0" alt="internal" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/TA8K_jawq8I/AAAAAAAAAZA/vpGBmfsTvxc/internal_thumb%5B1%5D.jpg?imgmax=800" width="300" height="92" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7380887491505977097?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7380887491505977097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7380887491505977097' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7380887491505977097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7380887491505977097'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/06/square-selection-in-visual-studio-2010.html' title='Square selection in Visual studio 2010'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_dV6Dkc4-Wo8/TA8K74RA5cI/AAAAAAAAAYw/SjRXHUfRh9E/s72-c/Private_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5125373980575666484</id><published>2010-06-09T08:45:00.001+05:30</published><updated>2010-06-09T08:48:45.050+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Enable javascript Debugging in IE</title><content type='html'>&lt;p&gt;To enable javascript in IE, do the following steps&lt;/p&gt;  &lt;p&gt;Open &lt;font color="#ff0000"&gt;IE&lt;/font&gt; –&amp;gt; &lt;font color="#ff0000"&gt;Tools&lt;/font&gt; –&amp;gt;&amp;#160; &lt;font color="#ff0000"&gt;Internet Options&lt;/font&gt; –&amp;gt; Go to &lt;font color="#ff0000"&gt;Advanced Tab&lt;/font&gt; –&amp;gt; uncheck &lt;font color="#ff0000"&gt;Disable script debugging(Internet Explore)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/TA8HUVRP6vI/AAAAAAAAAYk/H3Eld4_y0-c/s1600-h/Javascript%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Javascript" border="0" alt="Javascript" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/TA8HVHgHJ0I/AAAAAAAAAYo/pwrRLjwipfk/Javascript_thumb%5B2%5D.jpg?imgmax=800" width="296" height="326" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Note: uncheck &lt;font color="#ff0000"&gt;Disable script debugging(other)&lt;/font&gt; to enable debugging in other scripts.&lt;/p&gt;  &lt;p&gt;Now open visual studio and put break point in the javascript where you want and runt it once the scripts fire the break point also will hit.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5125373980575666484?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5125373980575666484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5125373980575666484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5125373980575666484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5125373980575666484'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/06/enable-javascript-debugging-in-ie.html' title='Enable javascript Debugging in IE'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_dV6Dkc4-Wo8/TA8HVHgHJ0I/AAAAAAAAAYo/pwrRLjwipfk/s72-c/Javascript_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4456257500387021311</id><published>2010-05-20T20:01:00.001+05:30</published><updated>2010-05-20T20:37:35.537+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Error Solution'/><title type='text'>Unable to load DLL ‘FileTracker.dll’</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Last two days i am getting the error &lt;strong&gt;&lt;font color="#ff0000"&gt;Unable to load DLL ‘FileTracker.dll’&lt;/font&gt;&lt;/strong&gt; when i create windows application ,getting this error not for other projects.&lt;/p&gt;  &lt;p&gt;I am using visual studio 2010 B2 in a Windows 7 machine.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;How i resolved the issue&lt;/u&gt;&lt;/strong&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I installed in visual studio 2010 B2 in &lt;strong&gt;C:\Windows\Microsoft.NET\Framework&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;There where two folders v4.0.21006 and v4.0.3004. I deleted the v4.0.3004(which is not required). If you want to come out from this problem delete the higher version of v4.0.21006 folder,Which is not required.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Now it is working fine.&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4456257500387021311?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4456257500387021311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4456257500387021311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4456257500387021311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4456257500387021311'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/05/alias-to-assembly.html' title='Unable to load DLL ‘FileTracker.dll’'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-924730191542304755</id><published>2010-05-19T22:00:00.001+05:30</published><updated>2010-05-19T22:00:56.493+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Error Solution'/><title type='text'>operation could not be completed – Visual studio 2010</title><content type='html'>&lt;p&gt;Today i was working on visual studio i got one error: &lt;font color="#ff0000"&gt;operation could not be completed&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;how i resolved&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;open the run(windows + r) type&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe&amp;#160; /&lt;a href="http://207.46.16.248/en-us/library/bb245788(VS.80).aspx#vs05idetips_topic6"&gt;resetuserdata&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;Press enter –&amp;gt; now its working fine :)&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-924730191542304755?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/924730191542304755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=924730191542304755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/924730191542304755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/924730191542304755'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/05/operation-could-not-be-completed-visual.html' title='operation could not be completed – Visual studio 2010'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5861080489130946155</id><published>2010-05-19T19:50:00.001+05:30</published><updated>2010-05-19T19:54:51.569+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>How to clear the temp folder in windows start up using C#</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Today i decided to create an application using C# which clears the temp folder when ever windows startup.So no need to clear your temp file always.&lt;/p&gt;  &lt;p&gt;Here is the code what i have tried:&lt;/p&gt;  &lt;div id="codeSnippetWrapper"&gt;   &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;RegistryKey regKey = Registry.CurrentUser.OpenSubKey(&lt;span style="color: #006080"&gt;@&amp;quot;Software\Microsoft\Windows\CurrentVersion\Run&amp;quot;&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;);&lt;br /&gt;           regKey.SetValue(Application.ProductName, Application.ExecutablePath);&lt;br /&gt;          &lt;br /&gt;          &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; path = Path.GetTempPath();&lt;br /&gt;           &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (!&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.IsNullOrWhiteSpace (path))&lt;br /&gt;           {&lt;br /&gt;               DirectoryInfo d = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; DirectoryInfo(path);&lt;br /&gt;               Array.ForEach(Directory.GetFiles(path), s =&amp;gt; &lt;br /&gt;               { &lt;span style="color: #0000ff"&gt;try&lt;/span&gt; { label1.Text = s; File.Delete(s); } &lt;span style="color: #0000ff"&gt;catch&lt;/span&gt; (Exception ex) { } });&lt;br /&gt;               label1.Text = &lt;span style="color: #006080"&gt;&amp;quot;Done&amp;quot;&lt;/span&gt;;&lt;br /&gt;              }&lt;/pre&gt;&lt;br /&gt;If any exception will come it wont show that exception,it will proceed from the next&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;If put the application in&lt;strong&gt; &amp;quot;Software\Microsoft\Windows\CurrentVersion\Run&amp;quot;&lt;/strong&gt; when ever the windows starts it automatically runs.&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5861080489130946155?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5861080489130946155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5861080489130946155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5861080489130946155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5861080489130946155'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/05/how-to-clear-temp-folder-in-windows.html' title='How to clear the temp folder in windows start up using C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4197123486975610401</id><published>2010-05-18T06:57:00.001+05:30</published><updated>2010-05-18T07:05:56.608+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><title type='text'>Twitter API in C#</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Today i have seen a thread in my favorite site &lt;a href="http://stackoverflow.com/questions/2849455/post-hello-world-to-twitter-from-net-application"&gt;Stackoverflow&lt;/a&gt; on Twitter. So i decided to create a small Twitter API WCF application.&lt;/p&gt;  &lt;p&gt;Twitter is designed on &lt;a href="http://computer.howstuffworks.com/internet/social-networking/networks/twitter2.htm"&gt;REST architecture&lt;/a&gt;. Here is a sample code to integrate the Twitter in C#.&lt;/p&gt;  &lt;p&gt;Download the &lt;a href="http://tweetsharp.codeplex.com/"&gt;TweetSharp&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To Authenticate user in the Twitter: &lt;/p&gt;  &lt;div id="codeSnippetWrapper"&gt;   &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;ITwitterLeafNode twitter =FluentTwitter.CreateRequest()&lt;br /&gt;                          .AuthenticateAs(StaticProperties.Username,   StaticProperties.Password)&lt;br /&gt;                          .Account().VerifyCredentials().AsJson();&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (twitter.Request().ResponseHttpStatusDescription == &lt;span style="color: #006080"&gt;&amp;quot;OK&amp;quot;&lt;/span&gt;)&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;To Update new Tweet:&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;br /&gt;  &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;ITwitterLeafNode twitter =FluentTwitter.CreateRequest()&lt;br /&gt;                          .AuthenticateAs(StaticProperties.Username,StaticProperties.Password)&lt;br /&gt;                          .Statuses().Update(&amp;quot;Hello World).AsJson();&lt;br /&gt;var request = twitter.Request();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note: &lt;strong&gt;By using this API you will get all the Twitter related things,Like all Followers,To ReTweet etc.&lt;/strong&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4197123486975610401?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4197123486975610401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4197123486975610401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4197123486975610401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4197123486975610401'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/05/twitter-api-in-c.html' title='Twitter API in C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4534648813341090925</id><published>2010-05-11T20:27:00.003+05:30</published><updated>2010-05-11T20:40:22.002+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net 4.0'/><title type='text'>Zip Extension</title><content type='html'>Today i was going through some of the blogs.I have seen the&lt;a href="http://msdn.microsoft.com/en-us/library/dd267698.aspx"&gt; Zip extension&lt;/a&gt; method in .Net 4.0 .&lt;br /&gt;I like this very much here is the one sample example of Zip extension.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;int[] numberArray = { 0, 1, 2, 3, 4 };&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;string[] nameArray = { "zero", "one" };&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; var combinedArray =  numberArray.Zip(nameArray, (number, name) =&gt; number.ToString() + "(" +  name + ")").ToArray();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  Array.ForEach(combinedArray, s =&gt;  Console.WriteLine(s));&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4534648813341090925?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4534648813341090925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4534648813341090925' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4534648813341090925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4534648813341090925'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2010/05/today-i-was-going-through-some-of-blogs.html' title='Zip Extension'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8852395343022056449</id><published>2009-12-17T23:10:00.001+05:30</published><updated>2009-12-17T23:13:40.771+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>K-MUG Session on 19th Saturday at Technopark</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;K-MUG Session on 19th Saturday&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SyptxenS1jI/AAAAAAAAAXs/tQyJCgIRaeQ/s1600-h/kmug-v3%5B5%5D.png"&gt;&lt;img title="kmug-v3" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="476" alt="kmug-v3" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SyptyvExk7I/AAAAAAAAAXw/jRqbDofC6ao/kmug-v3_thumb%5B3%5D.png?imgmax=800" width="675" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Topics&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Social Media   &lt;br /&gt;Search Engine Optimization / Search Engine Marketing    &lt;br /&gt;Social Media Marketing    &lt;br /&gt;Blogging&lt;/p&gt;  &lt;p&gt;C# 4.0 and Silverlight   &lt;br /&gt;What is new in C# 4.0 and Silverlight.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Venue&lt;/strong&gt;    &lt;br /&gt;UST Global, Bhavani,    &lt;br /&gt;Technopark, Trivandrum, Kerala&lt;/p&gt;  &lt;p&gt;More Details : &lt;a href="http://k-mug.org/content/UGMeet181209.aspx"&gt;http://k-mug.org/content/UGMeet181209.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8852395343022056449?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8852395343022056449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8852395343022056449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8852395343022056449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8852395343022056449'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/12/k-mug-session-on-19th-saturday-at.html' title='K-MUG Session on 19th Saturday at Technopark'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/SyptyvExk7I/AAAAAAAAAXw/jRqbDofC6ao/s72-c/kmug-v3_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1595133574505920398</id><published>2009-12-06T17:16:00.001+05:30</published><updated>2009-12-06T17:19:33.071+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='OS Tips'/><title type='text'>How to install Chrome OS ?</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Few months back i was &lt;a href="http://anishmarokey.blogspot.com/2009/07/google-chrome-os-is-comming.html"&gt;blogged&lt;/a&gt; about Chrome OS .Now it is released .&lt;/p&gt;  &lt;p&gt;Today i decided to install the chrome os on my Laptop.Here are the steps that i followed to installed my Chrome OS.&lt;/p&gt;  &lt;p&gt;Step 1 : download the VMware player and Chrome OS from &lt;a href="http://gdgt.com/google/chrome-os/download/"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Step 2 : Install VMware player and Restart your machine and start your VMware player.you can see the below screen.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZXNhHWyI/AAAAAAAAAVk/JWVvkaq-TZU/s1600-h/vmware%5B3%5D.jpg"&gt;&lt;img title="vmware" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="320" alt="vmware" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxuZX6q-aGI/AAAAAAAAAVo/FuR00Wcoinw/vmware_thumb%5B1%5D.jpg?imgmax=800" width="345" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 2 : click &lt;font color="#ff0000"&gt;Create a New Virtual Machine&lt;/font&gt;.&lt;/p&gt;  &lt;p&gt;Step 3 : select “&lt;font color="#ff0000"&gt;I will install the operating system later&lt;/font&gt;” and Click &lt;font color="#ff0000"&gt;Next&lt;/font&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxuZYQ-p3GI/AAAAAAAAAVs/mOax0zIht7I/s1600-h/New%20Virtual%20Machine%5B4%5D.jpg"&gt;&lt;img title="New Virtual Machine" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="312" alt="New Virtual Machine" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZZB-X7gI/AAAAAAAAAVw/OgMGPom83bY/New%20Virtual%20Machine_thumb%5B2%5D.jpg?imgmax=800" width="342" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 4 : Guest operating system as &lt;font color="#ff0000"&gt;other&lt;/font&gt; and version as &lt;font color="#ff0000"&gt;other&lt;/font&gt; .&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZZiD1pfI/AAAAAAAAAV0/Q9kLmhkdGMI/s1600-h/Other%5B4%5D.jpg"&gt;&lt;img title="Other" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="308" alt="Other" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxuZaJQdetI/AAAAAAAAAV4/uX1V1gy25ME/Other_thumb%5B2%5D.jpg?imgmax=800" width="342" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Step 5 : Enter &lt;font color="#ff0000"&gt;Virtual machine name&lt;/font&gt; ,here i used Google Chrome OS.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxuZbHPGX1I/AAAAAAAAAV8/lQNRaR4JIEI/s1600-h/Google%20Chome%20OS%5B3%5D.jpg"&gt;&lt;img title="Google Chome OS" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="318" alt="Google Chome OS" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZb14svcI/AAAAAAAAAWA/X2Rc41Gq_iw/Google%20Chome%20OS_thumb%5B1%5D.jpg?imgmax=800" width="353" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Step 6 : Specify the disk capacity. Here i used as default setting.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxuZce8gV9I/AAAAAAAAAWE/Y492NF7CuVI/s1600-h/Virtual%20Size%5B3%5D.jpg"&gt;&lt;img title="Virtual Size" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="318" alt="Virtual Size" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZdJOb4TI/AAAAAAAAAWI/aJKyZ533nvM/Virtual%20Size_thumb%5B1%5D.jpg?imgmax=800" width="350" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; Step 7 : Click the &lt;font color="#ff0000"&gt;Customize Hardware &lt;/font&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxuZdqkWLXI/AAAAAAAAAWM/gg6rxQRfr5o/s1600-h/Hw%5B3%5D.jpg"&gt;&lt;img title="Hw" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="306" alt="Hw" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxuZebZjoGI/AAAAAAAAAWQ/uPGlgbMIWTk/Hw_thumb%5B1%5D.jpg?imgmax=800" width="340" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 8 : Change the &lt;font color="#ff0000"&gt;Network Adapter&lt;/font&gt; settings as shown below and click &lt;font color="#ff0000"&gt;OK&lt;/font&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxuZeypmTpI/AAAAAAAAAWU/24ueJqC_iW4/s1600-h/hw1%5B4%5D.jpg"&gt;&lt;img title="hw1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="247" alt="hw1" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxuZfsaPcMI/AAAAAAAAAWY/0hNH7Od4DQ4/hw1_thumb%5B2%5D.jpg?imgmax=800" width="340" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Step 9 : Click &lt;font color="#ff0000"&gt;Finish .&lt;font color="#000000"&gt; Now you can see the below image&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxuZgFlqlZI/AAAAAAAAAWc/8_HWOgjNne0/s1600-h/GoogleOSLast%5B4%5D.jpg"&gt;&lt;img title="GoogleOSLast" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="283" alt="GoogleOSLast" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZgjPV4cI/AAAAAAAAAWg/CAgtjMFoLRU/GoogleOSLast_thumb%5B2%5D.jpg?imgmax=800" width="342" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 10 : Now the Chrome OS image(VMware virtual disk file) that download &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZhJAbkgI/AAAAAAAAAWk/v1ARSQ832pc/s1600-h/2%5B2%5D.jpg"&gt;&lt;img title="2" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="67" alt="2" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxuZhhVQ3lI/AAAAAAAAAWo/AJPkg_PQc_Y/2_thumb.jpg?imgmax=800" width="236" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;is copy to the installed location as same in the step 5.The name of VMware virtual disk file should be same as the virtual machine name. If not change the VMware virtual disk file to Directory name.&lt;/p&gt;  &lt;p&gt;Here my location is &lt;font color="#ff0000"&gt;C:\Users\anishmarokey\Documents\Virtual Machines\Google Chrome OS.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;.When you copy it will ask like the below image.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxuZiZbvidI/AAAAAAAAAWs/KitPgBZSPzo/s1600-h/1%5B4%5D.jpg"&gt;&lt;img title="1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="335" alt="1" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxuZix4JQXI/AAAAAAAAAWw/olJXxK-TT68/1_thumb%5B2%5D.jpg?imgmax=800" width="309" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 11 : go to VMware Player and click play Virtual Machine.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxuZjpvyNBI/AAAAAAAAAW0/8PCCew2604c/s1600-h/3%5B4%5D.jpg"&gt;&lt;img title="3" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="307" alt="3" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxuZkbDZwzI/AAAAAAAAAW4/nRUzlaRHVaU/3_thumb%5B2%5D.jpg?imgmax=800" width="357" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;At last you can see the below screen ,Enter your username and password and click Enter.So you can see the magical world of Chromium OS.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxuZlN_gV-I/AAAAAAAAAW8/heGjk26d7zw/s1600-h/4%5B3%5D.jpg"&gt;&lt;img title="4" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="278" alt="4" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SxuZlgrprXI/AAAAAAAAAXA/dh6pkJkSFDo/4_thumb%5B1%5D.jpg?imgmax=800" width="361" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1595133574505920398?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1595133574505920398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1595133574505920398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1595133574505920398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1595133574505920398'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/12/how-to-install-chrome-os.html' title='How to install Chrome OS ?'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxuZX6q-aGI/AAAAAAAAAVo/FuR00Wcoinw/s72-c/vmware_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7631338044471978581</id><published>2009-12-03T23:47:00.001+05:30</published><updated>2009-12-03T23:52:22.471+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bing'/><title type='text'>Bing Driving Directions</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Today i have noticed a nice feature in &lt;a href="http://www.bing.com/mapindia/?mkt=en-in#JnJ0cD0lN2UmcnRvcD0wJTdlMA=="&gt;Bing Map&lt;/a&gt;.This help me to find the root for travel , time taken and other nice things also&lt;/p&gt;  &lt;p&gt;If i need to travel from Bangalore to Trivandrum .&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxgArtLrnqI/AAAAAAAAAUE/G9ic44HjdBI/s1600-h/Bing1%5B6%5D.jpg"&gt;&lt;img title="Bing1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="254" alt="Bing1" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxgAsLXHObI/AAAAAAAAAUI/ssmrlBlOqX0/Bing1_thumb%5B2%5D.jpg?imgmax=800" width="548" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I entered the Start and End Location&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxgAs0dSTXI/AAAAAAAAAUM/IKHf0ww8SQA/s1600-h/bing2%5B4%5D.jpg"&gt;&lt;img title="bing2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="308" alt="bing2" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxgAteV8pPI/AAAAAAAAAUQ/MiDFMJu4m8M/bing2_thumb%5B2%5D.jpg?imgmax=800" width="512" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The Bing shows the output for us is as shown below&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SxgAt31-u0I/AAAAAAAAAUU/dCKHJvwfy3E/s1600-h/bing3%5B5%5D.jpg"&gt;&lt;img title="bing3" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="243" alt="bing3" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SxgAun1OkFI/AAAAAAAAAUY/9Yagm_3PRIc/bing3_thumb%5B3%5D.jpg?imgmax=800" width="562" border="0" /&gt;&lt;/a&gt;   &lt;p&gt;Waiting for &lt;a href="http://www.bing.com/maps/explore/"&gt;Bing Maps Beta&lt;/a&gt; . To see the next Magic in Bing world :)&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7631338044471978581?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7631338044471978581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7631338044471978581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7631338044471978581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7631338044471978581'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/12/bing-driving-directions.html' title='Bing Driving Directions'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_dV6Dkc4-Wo8/SxgAsLXHObI/AAAAAAAAAUI/ssmrlBlOqX0/s72-c/Bing1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-2009512453613895355</id><published>2009-11-16T23:18:00.001+05:30</published><updated>2009-11-16T23:18:54.452+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Introducing Closure Tools</title><content type='html'>&lt;p&gt;Millions of Google users worldwide use JavaScript-intensive applications such as &lt;a href="http://mail.google.com/"&gt;Gmail&lt;/a&gt;, &lt;a href="http://docs.google.com/"&gt;Google Docs&lt;/a&gt;, and &lt;a href="http://maps.google.com/"&gt;Google Maps&lt;/a&gt;. Like developers everywhere, Googlers want great web apps to be easier to create, so we've built many tools to help us develop these (and many other) apps. We're happy to announce the open sourcing of these tools, and proud to make them available to the web development community.&lt;a href="http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html"&gt;Read More&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-2009512453613895355?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/2009512453613895355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=2009512453613895355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2009512453613895355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2009512453613895355'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/11/introducing-closure-tools.html' title='Introducing Closure Tools'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-916134166300454491</id><published>2009-11-15T21:49:00.003+05:30</published><updated>2009-11-15T21:58:55.452+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><title type='text'>CLR via C#, Third Edition</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;I am a person who loves to read technical books. I like to study more on compiler concepts, &lt;a href="http://www.wintellect.com/cs/blogs/jeffreyr/default.aspx"&gt;Jeffrey Richter&lt;/a&gt; CLR via C# second edition is an excellent book to study the concepts of internal of compiler C# .Now CLR via C# third edition is available,&lt;a href="http://www.amazon.com/CLR-via-C-Third-Pro-Developer/dp/0735627045"&gt;Order It&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;                            &lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SwAqCdDpf_I/AAAAAAAAAS4/48hCj-Pi3Xo/s1600-h/41eKeXxmmmL._SL500_AA240_%5B4%5D.jpg"&gt;&lt;img title="41eKeXxmmmL._SL500_AA240_" style="border: 0px none ; display: inline;" alt="41eKeXxmmmL._SL500_AA240_" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SwAqC26-EqI/AAAAAAAAATA/WH0mkdyc2AQ/41eKeXxmmmL._SL500_AA240__thumb%5B2%5D.jpg?imgmax=800" border="0" width="217" height="217" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-916134166300454491?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/916134166300454491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=916134166300454491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/916134166300454491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/916134166300454491'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/11/clr-via-c-third-edition.html' title='CLR via C#, Third Edition'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/SwAqC26-EqI/AAAAAAAAATA/WH0mkdyc2AQ/s72-c/41eKeXxmmmL._SL500_AA240__thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6204201007979441865</id><published>2009-11-15T18:48:00.003+05:30</published><updated>2011-05-10T20:33:00.104+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><title type='text'>MVC</title><content type='html'>&lt;p&gt;&lt;b&gt;MVC(Model View Controller)&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;MVC(model view controller) is use for project more secure and easy to maintain.&lt;/p&gt;  &lt;p&gt;Module: contains the database related operations.&lt;/p&gt;  &lt;p&gt;View : contains all the aspx,ascx pages&lt;/p&gt;  &lt;p&gt;Controller : is used for connecting module and view.if a view want to contact with model it can go through only controller and vice versa.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sv__oM--4EI/AAAAAAAAASo/Yibh0E-aM_Y/s1600-h/MVC%20copy%5B5%5D.jpg"&gt;&lt;img title="MVC copy" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" alt="MVC copy" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sv__osMDReI/AAAAAAAAASs/SK6_BN1heFs/MVC%20copy_thumb%5B3%5D.jpg?imgmax=800" width="545" border="0" height="388" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The latest MVC update package for visual studio 2008 is available in &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d3f06bb9-5f5f-4f46-91e9-813b3fce2db1&amp;amp;displaylang=en"&gt;Click Here&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6204201007979441865?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6204201007979441865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6204201007979441865' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6204201007979441865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6204201007979441865'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/11/mvc.html' title='MVC'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sv__osMDReI/AAAAAAAAASs/SK6_BN1heFs/s72-c/MVC%20copy_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7976266876924977526</id><published>2009-11-15T13:34:00.001+05:30</published><updated>2009-11-15T13:34:40.891+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2008'/><title type='text'>Script Data in SQL SERVER 2008</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The script data is the new add-on feature on SQL SERVER 2008. Which helps to generate data along with the structure of database.&lt;/p&gt;  &lt;p&gt;Steps to follow :&lt;/p&gt;  &lt;p&gt;Step 1 : Right click on Database –&amp;gt; select Tasks –&amp;gt; Generate Script –&amp;gt; Select script options &lt;/p&gt;  &lt;p&gt;-&amp;gt; select script data as True (as shown in figure) –&amp;gt; Do the rest of operation and Click Finish.It will generate the insert script along with the script generaed.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sv-2FHM3UaI/AAAAAAAAASQ/cZzyjY8L-x4/s1600-h/scriptData%5B8%5D.jpg"&gt;&lt;img title="scriptData" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="357" alt="scriptData" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sv-2FzuCnFI/AAAAAAAAASU/heFPsTjz5cI/scriptData_thumb%5B4%5D.jpg?imgmax=800" width="397" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Here is the example of AdventureWorks –&amp;gt; table -&amp;gt; [HumanResources].[Employee]&lt;/p&gt;  &lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 540px; padding-top: 5px; border-bottom: #cecece 1px solid; height: 267px; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;USE [AdventureWorks]&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;/****** Object:  Table [HumanResources].[Employee]    Script Date: 11/15/2009 08:00:17 ******/&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;SET ANSI_NULLS ON&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;SET QUOTED_IDENTIFIER ON&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;CREATE TABLE [HumanResources].[Employee](&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[EmployeeID] [int] IDENTITY(1,1) NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[NationalIDNumber] [nvarchar](15) NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[ContactID] [int] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[LoginID] [nvarchar](256) NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[ManagerID] [int] NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[Title] [nvarchar](50) NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[BirthDate] [datetime] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[MaritalStatus] [nchar](1) NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[Gender] [nchar](1) NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[HireDate] [datetime] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[SalariedFlag] [dbo].[Flag] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[VacationHours] [smallint] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[SickLeaveHours] [smallint] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[CurrentFlag] [dbo].[Flag] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[rowguid] [uniqueidentifier] ROWGUIDCOL  NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;	[ModifiedDate] [datetime] NOT NULL,&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt; CONSTRAINT [PK_Employee_EmployeeID] PRIMARY KEY CLUSTERED &lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;(&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;	[EmployeeID] ASC&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;) ON [PRIMARY]&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primary key for Employee records.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'EmployeeID'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique national identification number such as a social security number.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'NationalIDNumber'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Identifies the employee in the Contact table. Foreign key to Contact.ContactID.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'ContactID'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Network login.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'LoginID'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Manager to whom the employee is assigned. Foreign Key to Employee.M' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'ManagerID'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Work title such as Buyer or Sales Representative.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'Title'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Date of birth.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'BirthDate'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'M = Married, S = Single' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'MaritalStatus'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'M = Male, F = Female' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'Gender'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Employee hired on this date.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'HireDate'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Job classification. 0 = Hourly, not exempt from collective bargaining. 1 = Salaried, exempt from collective bargaining.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'SalariedFlag'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Number of available vacation hours.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'VacationHours'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Number of available sick leave hours.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'SickLeaveHours'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0 = Inactive, 1 = Active' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'CurrentFlag'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'rowguid'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Date and time the record was last updated.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'COLUMN',@level2name=N'ModifiedDate'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Employee information such as salary, department, and title.' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primary key (clustered) constraint' , @level0type=N'SCHEMA',@level0name=N'HumanResources', @level1type=N'TABLE',@level1name=N'Employee', @level2type=N'CONSTRAINT',@level2name=N'PK_Employee_EmployeeID'&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;GO&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;SET IDENTITY_INSERT [HumanResources].[Employee] ON&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (1, N'14417807', 1209, N'adventure-works\guy1', 16, N'Production Technician - WC60', CAST(0x0000674000000000 AS DateTime), N'M', N'M', CAST(0x000089CB00000000 AS DateTime), 0, 21, 30, 1, N'aae1d04a-c237-4974-b4d5-935247737718', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (2, N'253022876', 1030, N'adventure-works\kevin0', 6, N'Marketing Assistant', CAST(0x00006E7500000000 AS DateTime), N'S', N'M', CAST(0x00008A9D00000000 AS DateTime), 0, 42, 41, 1, N'1b480240-95c0-410f-a717-eb29943c8886', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (3, N'509647174', 1002, N'adventure-works\roberto0', 12, N'Engineering Manager', CAST(0x00005CAA00000000 AS DateTime), N'M', N'M', CAST(0x00008BBE00000000 AS DateTime), 1, 2, 21, 1, N'9bbbfb2c-efbb-4217-9ab7-f97689328841', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (4, N'112457891', 1290, N'adventure-works\rob0', 3, N'Senior Tool Designer', CAST(0x00005CD300000000 AS DateTime), N'S', N'M', CAST(0x00008BD600000000 AS DateTime), 0, 48, 80, 1, N'59747955-87b8-443f-8ed4-f8ad3afdf3a9', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (5, N'480168528', 1009, N'adventure-works\thierry0', 263, N'Tool Designer', CAST(0x000046D900000000 AS DateTime), N'M', N'M', CAST(0x00008BDC00000000 AS DateTime), 0, 9, 24, 1, N'1d955171-e773-4fad-8382-40fd898d5d4d', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (6, N'24756624', 1028, N'adventure-works\david0', 109, N'Marketing Manager', CAST(0x00005D2900000000 AS DateTime), N'S', N'M', CAST(0x00008BE500000000 AS DateTime), 1, 40, 40, 1, N'e87029aa-2cba-4c03-b948-d83af0313e28', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (7, N'309738752', 1070, N'adventure-works\jolynn0', 21, N'Production Supervisor - WC60', CAST(0x000041CF00000000 AS DateTime), N'S', N'F', CAST(0x00008BEB00000000 AS DateTime), 0, 82, 61, 1, N'2cc71b96-f421-485e-9832-8723337749bb', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (8, N'690627818', 1071, N'adventure-works\ruth0', 185, N'Production Technician - WC10', CAST(0x0000425B00000000 AS DateTime), N'M', N'F', CAST(0x00008BF600000000 AS DateTime), 0, 83, 61, 1, N'3e3b6905-209e-442e-b8a8-9a0980241c6a', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (9, N'695256908', 1005, N'adventure-works\gail0', 3, N'Design Engineer', CAST(0x00003D1900000000 AS DateTime), N'M', N'F', CAST(0x00008BF600000000 AS DateTime), 1, 5, 22, 1, N'ec84ae09-f9b8-4a15-b4a9-6ccbab919b08', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (10, N'912265825', 1076, N'adventure-works\barry0', 185, N'Production Technician - WC10', CAST(0x0000421500000000 AS DateTime), N'S', N'M', CAST(0x00008BF700000000 AS DateTime), 0, 88, 64, 1, N'756a60ae-378f-43d8-9f93-1e821d1eaf52', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (11, N'998320692', 1006, N'adventure-works\jossef0', 3, N'Design Engineer', CAST(0x0000464D00000000 AS DateTime), N'M', N'M', CAST(0x00008C0800000000 AS DateTime), 1, 6, 23, 1, N'e39056f1-9cd5-478d-8945-14aca7fbdcdd', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (12, N'245797967', 1001, N'adventure-works\terri0', 109, N'Vice President of Engineering', CAST(0x000057FB00000000 AS DateTime), N'S', N'F', CAST(0x00008C0F00000000 AS DateTime), 1, 1, 20, 1, N'45e8f437-670d-4409-93cb-f9424a40d6ee', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (13, N'844973625', 1072, N'adventure-works\sidney0', 185, N'Production Technician - WC10', CAST(0x000042B200000000 AS DateTime), N'M', N'M', CAST(0x00008C1100000000 AS DateTime), 0, 84, 62, 1, N'40d603d9-7f99-48b7-a580-b17cf429bed2', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (14, N'233069302', 1067, N'adventure-works\taylor0', 21, N'Production Supervisor - WC50', CAST(0x0000421B00000000 AS DateTime), N'M', N'M', CAST(0x00008C1700000000 AS DateTime), 0, 79, 59, 1, N'28f7ef89-2793-4989-b67d-25046543c1e3', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (15, N'132674823', 1073, N'adventure-works\jeffrey0', 185, N'Production Technician - WC10', CAST(0x0000428000000000 AS DateTime), N'S', N'M', CAST(0x00008C2300000000 AS DateTime), 0, 85, 62, 1, N'6e086f41-b81d-4bdc-9f13-0eec488dc43e', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (16, N'446466105', 1068, N'adventure-works\jo0', 21, N'Production Supervisor - WC60', CAST(0x000042D900000000 AS DateTime), N'S', N'F', CAST(0x00008C2A00000000 AS DateTime), 0, 80, 60, 1, N'83ffaac6-b895-481f-b897-14f965d4da47', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (17, N'565090917', 1074, N'adventure-works\doris0', 185, N'Production Technician - WC10', CAST(0x0000421E00000000 AS DateTime), N'M', N'F', CAST(0x00008C3600000000 AS DateTime), 0, 86, 63, 1, N'692b8826-03b4-4c3b-82fc-1fc6f1409689', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (18, N'494170342', 1069, N'adventure-works\john0', 21, N'Production Supervisor - WC60', CAST(0x0000429B00000000 AS DateTime), N'M', N'M', CAST(0x00008C3D00000000 AS DateTime), 0, 81, 60, 1, N'd4ed1f78-7c28-479b-bfef-a73228ba2aaa', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (19, N'9659517', 1075, N'adventure-works\diane0', 185, N'Production Technician - WC10', CAST(0x0000421800000000 AS DateTime), N'M', N'F', CAST(0x00008C4800000000 AS DateTime), 0, 87, 63, 1, N'c334b2d2-0c56-4906-9095-f1d07a98cbec', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (20, N'443968955', 1129, N'adventure-works\steven0', 173, N'Production Technician - WC30', CAST(0x0000603C00000000 AS DateTime), N'M', N'M', CAST(0x00008D4000000000 AS DateTime), 0, 41, 40, 1, N'0a8937c9-68aa-4d48-ba4e-b40493d764aa', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (21, N'277173473', 1231, N'adventure-works\peter0', 148, N'Production Control Manager', CAST(0x0000680B00000000 AS DateTime), N'M', N'M', CAST(0x00008D4000000000 AS DateTime), 1, 43, 41, 1, N'69d5d162-e817-45e7-9dec-5d9b8310e7b1', CAST(0x000095E80099062F AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (22, N'835460180', 1172, N'adventure-works\stuart0', 197, N'Production Technician - WC45', CAST(0x00004B4F00000000 AS DateTime), N'S', N'M', CAST(0x00008D4100000000 AS DateTime), 0, 84, 62, 1, N'4f361b4f-7920-4037-9a0a-46d616f9b9c7', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (23, N'687685941', 1173, N'adventure-works\greg0', 197, N'Production Technician - WC45', CAST(0x000056DC00000000 AS DateTime), N'S', N'M', CAST(0x00008D4100000000 AS DateTime), 0, 85, 62, 1, N'a36b5d6b-72a5-47f8-9f6b-5d922130e760', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (24, N'498138869', 1113, N'adventure-works\david1', 184, N'Production Technician - WC30', CAST(0x000063C200000000 AS DateTime), N'S', N'M', CAST(0x00008D4100000000 AS DateTime), 0, 25, 32, 1, N'ed7ee92e-a9d0-4e3a-8dee-4b143e459f7e', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (25, N'360868122', 1054, N'adventure-works\zheng0', 21, N'Production Supervisor - WC10', CAST(0x0000697000000000 AS DateTime), N'S', N'M', CAST(0x00008D4200000000 AS DateTime), 0, 66, 53, 1, N'c75f2740-ace3-4ebf-91c5-7ab352e1095f', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (26, N'964089218', 1097, N'adventure-works\ivo0', 108, N'Production Technician - WC20', CAST(0x000066DB00000000 AS DateTime), N'M', N'M', CAST(0x00008D4300000000 AS DateTime), 0, 9, 24, 1, N'd83a26f3-7ea7-477b-a5bb-7eaadfc13a09', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (27, N'384162788', 1156, N'adventure-works\paul0', 87, N'Production Technician - WC40', CAST(0x0000653B00000000 AS DateTime), N'S', N'M', CAST(0x00008D4300000000 AS DateTime), 0, 68, 54, 1, N'0217049e-1566-42b6-8027-41b751e2b00b', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (28, N'749389530', 1258, N'adventure-works\ashvini0', 150, N'Network Administrator', CAST(0x0000600C00000000 AS DateTime), N'S', N'M', CAST(0x00008D4300000000 AS DateTime), 0, 70, 55, 1, N'2e680c1c-7c02-4343-9626-6f97273414c0', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (29, N'571658797', 1199, N'adventure-works\kendall0', 14, N'Production Technician - WC50', CAST(0x00006D2300000000 AS DateTime), N'M', N'M', CAST(0x00008D4400000000 AS DateTime), 0, 11, 25, 1, N'65207627-5521-4a8e-ad3c-b2f1b5226b85', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (30, N'535145551', 1242, N'adventure-works\paula0', 140, N'Human Resources Manager', CAST(0x00005E7200000000 AS DateTime), N'M', N'F', CAST(0x00008D4500000000 AS DateTime), 1, 54, 47, 1, N'65028f15-4149-4de5-b203-9d7ec86baf87', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (31, N'761597760', 1140, N'adventure-works\alejandro0', 210, N'Production Technician - WC40', CAST(0x000070BB00000000 AS DateTime), N'S', N'M', CAST(0x00008D4500000000 AS DateTime), 0, 52, 46, 1, N'8c7321d2-2c64-4902-9d64-8f5c1eb7f747', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (32, N'271438431', 1122, N'adventure-works\garrett0', 184, N'Production Technician - WC30', CAST(0x00006AA000000000 AS DateTime), N'S', N'M', CAST(0x00008D4600000000 AS DateTime), 0, 34, 37, 1, N'a6f5f72f-aa03-41b7-8b6e-b123bd360753', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (33, N'160739235', 1124, N'adventure-works\jianshuo0', 135, N'Production Technician - WC30', CAST(0x0000691500000000 AS DateTime), N'S', N'M', CAST(0x00008D4600000000 AS DateTime), 0, 36, 38, 1, N'6fff136a-9664-4eb9-9243-fac76e21b9dd', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (34, N'586486572', 1285, N'adventure-works\susan0', 85, N'Stocker', CAST(0x0000615300000000 AS DateTime), N'S', N'F', CAST(0x00008D4600000000 AS DateTime), 0, 97, 68, 1, N'923ecfd6-e202-429a-9141-6cb183531439', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (35, N'337752649', 1283, N'adventure-works\vamsi0', 85, N'Shipping and Receiving Clerk', CAST(0x0000600300000000 AS DateTime), N'M', N'M', CAST(0x00008D4600000000 AS DateTime), 0, 95, 67, 1, N'a8838ab2-99de-415c-8675-d82ebf1c4752', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (36, N'113695504', 1183, N'adventure-works\alice0', 38, N'Production Technician - WC50', CAST(0x0000613D00000000 AS DateTime), N'M', N'F', CAST(0x00008D4600000000 AS DateTime), 0, 95, 67, 1, N'7e632b21-0d11-4bba-8a68-8cae14c20ae6', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (37, N'276751903', 1226, N'adventure-works\simon0', 7, N'Production Technician - WC60', CAST(0x000072CB00000000 AS DateTime), N'S', N'M', CAST(0x00008D4700000000 AS DateTime), 0, 38, 39, 1, N'f734d38a-56b5-471e-8ded-a682e958a9b3', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (38, N'630184120', 1065, N'adventure-works\jinghao0', 21, N'Production Supervisor - WC50', CAST(0x000070F900000000 AS DateTime), N'S', N'M', CAST(0x00008D4700000000 AS DateTime), 0, 77, 58, 1, N'2bca07d3-f2ac-4406-904f-e09156f3eb3e', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (39, N'545337468', 1108, N'adventure-works\michael0', 182, N'Production Technician - WC20', CAST(0x00006AF400000000 AS DateTime), N'S', N'M', CAST(0x00008D4800000000 AS DateTime), 0, 20, 30, 1, N'4fd6fe82-535a-4dd1-beb1-154a8b5e42f0', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (40, N'713403643', 1167, N'adventure-works\yvonne0', 159, N'Production Technician - WC45', CAST(0x0000713E00000000 AS DateTime), N'M', N'F', CAST(0x00008D4800000000 AS DateTime), 0, 79, 59, 1, N'83c6dabf-fd7d-4f5b-bb22-eb7eebb9a772', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (41, N'885055826', 1269, N'adventure-works\peng0', 200, N'Quality Assurance Supervisor', CAST(0x00005E9600000000 AS DateTime), N'M', N'M', CAST(0x00008D4800000000 AS DateTime), 1, 81, 60, 1, N'e249d613-36c9-4544-9b6f-6ce50e5e0da5', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (42, N'441044382', 1253, N'adventure-works\jean0', 109, N'Information Services Manager', CAST(0x00005E3600000000 AS DateTime), N'S', N'F', CAST(0x00008D4A00000000 AS DateTime), 1, 65, 52, 1, N'794a0b1f-c46a-401c-984d-008996fc7092', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (43, N'718299860', 1194, N'adventure-works\russell0', 74, N'Production Technician - WC50', CAST(0x000059DD00000000 AS DateTime), N'M', N'M', CAST(0x00008D4B00000000 AS DateTime), 0, 6, 23, 1, N'6b10192f-d570-47c4-82c9-3d979b1efdc1', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (44, N'685233686', 1232, N'adventure-works\ascott0', 148, N'Master Scheduler', CAST(0x000053E300000000 AS DateTime), N'S', N'M', CAST(0x00008D4B00000000 AS DateTime), 0, 44, 42, 1, N'13909262-4136-492f-bca3-0b0e3773b03e', CAST(0x000095E80099062F AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (45, N'295971920', 1135, N'adventure-works\fred0', 210, N'Production Technician - WC40', CAST(0x0000718500000000 AS DateTime), N'S', N'M', CAST(0x00008D4B00000000 AS DateTime), 0, 47, 43, 1, N'45358ae8-0b0e-4c11-90bb-dac3ec0d5c82', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (46, N'95958330', 1033, N'adventure-works\sariya0', 6, N'Marketing Specialist', CAST(0x00006E8700000000 AS DateTime), N'S', N'M', CAST(0x00008D4B00000000 AS DateTime), 0, 45, 42, 1, N'af21f1b7-0691-48ad-b325-b8f2d7b2268a', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (47, N'332040978', 1237, N'adventure-works\willis0', 30, N'Recruiter', CAST(0x000061EA00000000 AS DateTime), N'S', N'M', CAST(0x00008D4C00000000 AS DateTime), 0, 49, 44, 1, N'a1d86ecc-ea17-4b1b-8369-f1d07ab0a469', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (48, N'857651804', 1178, N'adventure-works\jun0', 38, N'Production Technician - WC50', CAST(0x0000634B00000000 AS DateTime), N'S', N'M', CAST(0x00008D4D00000000 AS DateTime), 0, 90, 65, 1, N'9c5f84d1-fb96-4d82-92a1-f932903deaad', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (49, N'553069203', 1280, N'adventure-works\christian0', 218, N'Maintenance Supervisor', CAST(0x00005E5A00000000 AS DateTime), N'M', N'M', CAST(0x00008D4D00000000 AS DateTime), 1, 92, 66, 1, N'4611c7c5-90a0-407f-b054-93bd51533609', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;INSERT [HumanResources].[Employee] ([EmployeeID], [NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate]) VALUES (50, N'351069889', 1119, N'adventure-works\susan1', 184, N'Production Technician - WC30', CAST(0x000068A100000000 AS DateTime), N'S', N'F', CAST(0x00008D4D00000000 AS DateTime), 0, 31, 35, 1, N'f73d75d5-b47b-46ee-ad11-7bf13dd6c55d', CAST(0x0000953500000000 AS DateTime))&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;INSERT [HumanResources].[E&lt;/pre&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7976266876924977526?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7976266876924977526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7976266876924977526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7976266876924977526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7976266876924977526'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/11/script-data-in-sql-server-2008.html' title='Script Data in SQL SERVER 2008'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sv-2FzuCnFI/AAAAAAAAASU/heFPsTjz5cI/s72-c/scriptData_thumb%5B4%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4517103587562894992</id><published>2009-11-02T09:22:00.001+05:30</published><updated>2009-11-02T09:26:31.605+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2008'/><title type='text'>separating multiple lines of data to insert with comma –SQL Server 2008</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Multiple insert in a single query by using comma separator. &lt;/p&gt;  &lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 588px; padding-top: 5px; border-bottom: #cecece 1px solid; height: 149px; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;insert into dbo.tbl_Demo&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;(id,name)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;values&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #e6e6e6"&gt;('1','anish'),&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; background-color: #fbfbfb"&gt;('2','varghese')&lt;/pre&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4517103587562894992?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4517103587562894992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4517103587562894992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4517103587562894992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4517103587562894992'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/11/separating-multiple-lines-of-data-to.html' title='separating multiple lines of data to insert with comma –SQL Server 2008'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8522587546160362442</id><published>2009-11-01T23:34:00.003+05:30</published><updated>2009-11-16T23:41:56.119+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><title type='text'>Coding Heroes - Present</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;Few days back i saw a book “&lt;a href="http://www.amazon.com/Coders-at-Work-Peter-Seibel/dp/1430219483"&gt;&lt;span style="color:#ff0000;"&gt;Coders at Work&lt;/span&gt;&lt;/a&gt;” ,which says about the grate programmers in current century.I am listing all there names only.&lt;/p&gt;  &lt;p&gt;                                       &lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Su3NlLeSVmI/AAAAAAAAASI/qQLNcOCJeDY/s1600-h/Coders%20at%20Work%5B3%5D.jpg"&gt;&lt;img title="Coders at Work" style="border-width: 0px; display: inline;" alt="Coders at Work" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Su3NlhNgSCI/AAAAAAAAASM/syVblC4Xe5c/Coders%20at%20Work_thumb%5B1%5D.jpg?imgmax=800" border="0" width="191" height="271" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Jamie_Zawinski"&gt;Jamie Zawinski&lt;/a&gt; &lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Brad_Fitzpatrick"&gt;Brad Fitzpatrick&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Douglas_Crockford"&gt;Douglas Crockford&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Brendan_Eich"&gt;Brendan Eich&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Joshua_Bloch"&gt;Joshua Bloch&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://armstrongonsoftware.blogspot.com/"&gt;Joe Armstrong&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Simon_Peyton_Jones"&gt;Simon Peyton Jones&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Peter_Norvig"&gt;Peter Norvig&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Guy_L._Steele,_Jr."&gt;Guy Steele&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Daniel_Henry_Holmes_Ingalls,_Jr."&gt;Dan Ingalls&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/L._Peter_Deutsch"&gt;L Peter Deutsch&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Ken_Thompson"&gt;Ken Thompson&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Frances_E._Allen"&gt;Fran Allen&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;Bernie Cosell&lt;/h3&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;h3&gt;&lt;a href="http://en.wikipedia.org/wiki/Donald_Knuth"&gt;Donald Knuth&lt;/a&gt;&lt;/h3&gt;   &lt;/li&gt; &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8522587546160362442?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8522587546160362442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8522587546160362442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8522587546160362442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8522587546160362442'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/11/coding-heroes-present.html' title='Coding Heroes - Present'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_dV6Dkc4-Wo8/Su3NlhNgSCI/AAAAAAAAASM/syVblC4Xe5c/s72-c/Coders%20at%20Work_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-203278095044887731</id><published>2009-10-19T22:41:00.001+05:30</published><updated>2009-10-19T22:47:58.768+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Visual Studio 2010 and .NET Framework 4 Beta 2</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;For MSDN subscribers VS10 .NET framework 4 Beta 2 is available on this wednesday .&lt;/p&gt;  &lt;p&gt;Download it from &lt;a href="http://msdn.microsoft.com/hi-in/vstudio/dd582936(en-us).aspx"&gt;here&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-203278095044887731?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/203278095044887731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=203278095044887731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/203278095044887731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/203278095044887731'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/10/visual-studio-2010-and-net-framework-4.html' title='Visual Studio 2010 and .NET Framework 4 Beta 2'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1672634594065487130</id><published>2009-10-18T23:16:00.002+05:30</published><updated>2009-10-19T16:27:52.187+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error Solution'/><title type='text'>An anonymous type cannot have multiple properties with the same name</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;If the query is like this &lt;/p&gt;  &lt;pre style="border: 1px solid rgb(206, 206, 206); padding: 5px; overflow: auto; min-height: 40px; width: 500px; background-color: rgb(251, 251, 251);"&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;adventureworksEntities dbEntities = new adventureworksEntities();&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;            var query = from PC in dbEntities.productcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                        join PSC in dbEntities.productsubcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;                      on PC.ProductCategoryID equals PSC.ProductSubcategoryID&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                        select new { PC.Name, PC.ModifiedDate, PSC.Name, PSC.ModifiedDate };&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The compiler will throw the error,”&lt;span style="color:#ff0000;"&gt;An anonymous type cannot have multiple properties with the same name&lt;/span&gt;” .Because the compiler can’t able to find a proper Name.So we want to modify the query with alias name ,some thing like this.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px solid rgb(206, 206, 206); padding: 5px; overflow: auto; min-height: 40px; width: 500px; background-color: rgb(251, 251, 251);"&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;  var query = from PC in dbEntities.productcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;                        join PSC in dbEntities.productsubcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                      on PC.ProductCategoryID equals PSC.ProductSubcategoryID&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;                        select new { PCName1 = PC.Name, PCModifiedDate1 = PC.ModifiedDate, PSCName1 = PSC.Name, PSCModifiedDate1 = PSC.ModifiedDate };&lt;/pre&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1672634594065487130?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1672634594065487130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1672634594065487130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1672634594065487130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1672634594065487130'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/10/anonymous-type-cannot-have-multiple.html' title='An anonymous type cannot have multiple properties with the same name'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8975980360126067271</id><published>2009-10-18T22:53:00.003+05:30</published><updated>2009-10-19T16:27:38.259+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><title type='text'>Entity Framework for MSSQL and MYSQL</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;As we all know that Entity Frame work supports multiple databases.Here i am converting MSSQL database to MYSQL,Without changing the query.That is the power of linq.&lt;/p&gt;  &lt;p&gt;First i am doing one sample on MSSQL.&lt;/p&gt;  &lt;p&gt;I am using &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e719ecf7-9f46-4312-af89-6ad8702e4e6e&amp;amp;DisplayLang=en"&gt;AdventureWorks&lt;/a&gt; Database, and using 2 tables ,&lt;span style="color: rgb(255, 0, 0);"&gt;Production.ProductCategory&lt;/span&gt; and &lt;span style="color: rgb(255, 0, 0);"&gt;Production.ProductSubcategory&lt;/span&gt;.&lt;/p&gt;  &lt;p&gt;The ER Diagram for Production.ProductCategory  and Production.ProductSubcategory is shown below&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttOlVjZ4lI/AAAAAAAAAO4/-16rUjsUB_Q/s1600-h/ED1%5B4%5D.jpg"&gt;&lt;img title="ED1" style="border-width: 0px; display: inline;" alt="ED1" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttOmMimkXI/AAAAAAAAAO8/Wl43AMc1k5o/ED1_thumb%5B2%5D.jpg?imgmax=800" border="0" width="627" height="186" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Steps to Add Entity Frame Work for MSSQL&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Step 1 : Right Click on &lt;span style="color: rgb(255, 0, 0);"&gt;Solution Explorer –&amp;gt; Add –&amp;gt; New Item –&amp;gt; Select ADO.NET Entity Data Model.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttOm1dwSsI/AAAAAAAAAPA/bWSBA_nYP24/s1600-h/MS1%5B4%5D.jpg"&gt;&lt;img title="MS1" style="border-width: 0px; display: inline;" alt="MS1" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttOnjQpSHI/AAAAAAAAAPE/aDgjz-Gswj8/MS1_thumb%5B2%5D.jpg?imgmax=800" border="0" width="455" height="405" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 2 : Select sever name and AdventureWorks as DataBase and Click ok &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOocI8vrI/AAAAAAAAAPI/8XfOw4GF5vU/s1600-h/MS2%5B4%5D.jpg"&gt;&lt;img title="MS2" style="border-width: 0px; display: inline;" alt="MS2" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttOpGsXMFI/AAAAAAAAAPM/cwTYw0c1MWM/MS2_thumb%5B2%5D.jpg?imgmax=800" border="0" width="312" height="442" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 3 : Click Next&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttOqGJ6bzI/AAAAAAAAAPQ/RgU_2FNxre4/s1600-h/MS3%5B4%5D.jpg"&gt;&lt;img title="MS3" style="border-width: 0px; display: inline;" alt="MS3" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttOq0nY_TI/AAAAAAAAAPU/nYdcy-TfNak/MS3_thumb%5B2%5D.jpg?imgmax=800" border="0" width="480" height="431" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 4 : Select two tables &lt;span style="color: rgb(255, 0, 0);"&gt;Production.ProductCategory&lt;/span&gt; and &lt;span style="color: rgb(255, 0, 0);"&gt;Production.ProductSubcategory &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;and Click Finish&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOr8nuBsI/AAAAAAAAAPY/PLAecvfW810/s1600-h/MS4%5B4%5D.jpg"&gt;&lt;img title="MS4" style="border-width: 0px; display: inline;" alt="MS4" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttOsh_mMmI/AAAAAAAAAPc/7i6t_Fu5EjM/MS4_thumb%5B2%5D.jpg?imgmax=800" border="0" width="461" height="412" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So your Edmx Looks like &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOtfBAChI/AAAAAAAAAPg/aItyE5QsvnA/s1600-h/MS5%5B4%5D.jpg"&gt;&lt;img title="MS5" style="border-width: 0px; display: inline;" alt="MS5" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOuBfV2MI/AAAAAAAAAPk/JXhrAsMezwo/MS5_thumb%5B2%5D.jpg?imgmax=800" border="0" width="455" height="272" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Code for getting the data&lt;/p&gt;  &lt;pre style="border: 1px solid rgb(206, 206, 206); padding: 5px; overflow: auto; min-height: 40px; width: 518px; height: 210px; background-color: rgb(251, 251, 251);"&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt; AdventureWorksEntities dbEntities = new AdventureWorksEntities();&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;            var query = from PC in dbEntities.ProductCategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                        join PSC in dbEntities.ProductSubcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;                      on PC.ProductCategoryID equals PSC.ProductSubcategoryID&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                        select new { PCName = PC.Name, PCModifiedDate = PC.ModifiedDate, PSCName = PSC.Name, PSCModifiedDate = PSC.ModifiedDate };&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;            GridView1.DataSource = query;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;            GridView1.DataBind();&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;Here i cannot use &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx"&gt;Debug Visualizer&lt;/a&gt;.Entity Frame work wont support Debug Visualizer.So i am using one gridview and dispaly the data.&lt;br /&gt;&lt;p&gt;Note : If you are getting the error  “&lt;span style="color: rgb(255, 0, 0);"&gt;An anonymous type cannot have multiple properties with the same name &lt;/span&gt;“  &lt;a href="http://anishmarokey.blogspot.com/2009/10/anonymous-type-cannot-have-multiple.html"&gt;Read this&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Output shown in Gridview.&lt;/p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttOu9olJ9I/AAAAAAAAAPo/clvcFbZF5cw/s1600-h/MS6%5B3%5D.jpg"&gt;&lt;img title="MS6" style="border-width: 0px; display: inline;" alt="MS6" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttOvk9cD8I/AAAAAAAAAPs/CgryZqetsAo/MS6_thumb%5B1%5D.jpg?imgmax=800" border="0" width="532" height="147" /&gt;&lt;/a&gt;&lt;p&gt; &lt;/p&gt;The same result i am getting from MYSQL without changing the query.Only i am changing the database from MSSQL to MYSQL.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Converting MSSQL to MYSQL by using &lt;span style="color: rgb(0, 0, 255);"&gt;Full Convert Enterprise .&lt;/span&gt;&lt;/p&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Steps to Covert&lt;/span&gt;&lt;/strong&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 255);"&gt; &lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Step 1 : Already created AdventureWorks DataBase in MYSQL.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOwW_0g-I/AAAAAAAAAPw/Gcrreq12zr4/s1600-h/FC1%5B3%5D.jpg"&gt;&lt;img title="FC1" style="border-width: 0px; display: inline;" alt="FC1" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOxaOw3-I/AAAAAAAAAP0/76zBetQ0vk0/FC1_thumb%5B1%5D.jpg?imgmax=800" border="0" width="402" height="341" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Step 2 : Enter username and Password&lt;/p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttOxw0gesI/AAAAAAAAAP4/8DcDaZzQhkU/s1600-h/FC2%5B3%5D.jpg"&gt;&lt;img title="FC2" style="border-width: 0px; display: inline;" alt="FC2" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttOyzWOn3I/AAAAAAAAAP8/e_JB5RjGrw4/FC2_thumb%5B1%5D.jpg?imgmax=800" border="0" width="403" height="347" /&gt;&lt;/a&gt;&lt;p&gt; &lt;/p&gt;Step 3 : I selected all tables selected to convert MYSQL.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttOzwTRl1I/AAAAAAAAAQA/fUxeUhaQXuQ/s1600-h/FC3%5B4%5D.jpg"&gt;&lt;img title="FC3" style="border-width: 0px; display: inline;" alt="FC3" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttO0lGFeEI/AAAAAAAAAQE/B0xsMwcLOEc/FC3_thumb%5B2%5D.jpg?imgmax=800" border="0" width="418" height="358" /&gt;&lt;/a&gt; &lt;/p&gt;Step 4 :Click Convert.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttO1VXg7SI/AAAAAAAAAQI/APPa_3rGHps/s1600-h/FC4%5B4%5D.jpg"&gt;&lt;img title="FC4" style="border-width: 0px; display: inline;" alt="FC4" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttO11A3mdI/AAAAAAAAAQM/RDvMPeEFddA/FC4_thumb%5B2%5D.jpg?imgmax=800" border="0" width="431" height="370" /&gt;&lt;/a&gt; &lt;/p&gt;Step 5 : Click Continue.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttO2qmCUOI/AAAAAAAAAQQ/X4O36q5ovpU/s1600-h/FC5%5B3%5D.jpg"&gt;&lt;img title="FC5" style="border-width: 0px; display: inline;" alt="FC5" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttO3G-UVCI/AAAAAAAAAQU/BxGfgm27hYQ/FC5_thumb%5B1%5D.jpg?imgmax=800" border="0" width="363" height="224" /&gt;&lt;/a&gt;&lt;/p&gt;After Convert It shows a result like&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttO3w2Zl2I/AAAAAAAAAQY/QlRZsBagpik/s1600-h/FC6%5B3%5D.jpg"&gt;&lt;img title="FC6" style="border: 0px none ; display: inline;" alt="FC6" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttO4pkJEdI/AAAAAAAAAQc/jk6stnqEC60/FC6_thumb%5B1%5D.jpg?imgmax=800" border="0" width="345" height="333" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;strong&gt;Steps to Add Entity Frame Work for MYSQL.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Step 1 : install Connector/ NET 6.0 &lt;a href="http://dev.mysql.com/downloads/connector/net/6.0.html"&gt;Windows Binaries&lt;/a&gt;,it automatically install mysql.data.dll and mysql.data.entity.dll to GAC.&lt;/p&gt;Step 2 : Right Click on &lt;span style="color: rgb(255, 0, 0);"&gt;Solution Explorer –&amp;gt; Add –&amp;gt; New Item –&amp;gt; Select ADO.NET Entity Data Model.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttO5SsIGzI/AAAAAAAAAQg/qBeDwCrAhUM/s1600-h/MY1%5B4%5D.jpg"&gt;&lt;img title="MY1" style="border: 0px none ; display: inline;" alt="MY1" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttO5z5NGaI/AAAAAAAAAQk/IlySHqh36nw/MY1_thumb%5B2%5D.jpg?imgmax=800" border="0" width="406" height="365" /&gt;&lt;/a&gt; &lt;/p&gt;Step 3 : Select New Connection.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttO6wzneUI/AAAAAAAAAQo/4bW6sfohbW0/s1600-h/MY2%5B4%5D.jpg"&gt;&lt;img title="MY2" style="border: 0px none ; display: inline;" alt="MY2" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttO7s0hqjI/AAAAAAAAAQs/V53AHo5mgHU/MY2_thumb%5B2%5D.jpg?imgmax=800" border="0" width="410" height="369" /&gt;&lt;/a&gt; &lt;/p&gt;Step 4 : Change the Data Source from MSSQL to MYSQL.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttO8eTZt5I/AAAAAAAAAQw/oUgnXYscBoc/s1600-h/MY3%5B4%5D.jpg"&gt;&lt;img title="MY3" style="border: 0px none ; display: inline;" alt="MY3" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttO9DECLII/AAAAAAAAAQ0/9DKuhtJi9XA/MY3_thumb%5B2%5D.jpg?imgmax=800" border="0" width="411" height="305" /&gt;&lt;/a&gt; &lt;/p&gt;Step 5 : Select MySQL .if you install Connector/ NET 6.0 &lt;a href="http://dev.mysql.com/downloads/connector/net/6.0.html"&gt;Windows Binaries&lt;/a&gt; ,only it will come.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttO9zPs0ZI/AAAAAAAAAQ4/pbgh4yU4uqg/s1600-h/MY4%5B3%5D.jpg"&gt;&lt;img title="MY4" style="border: 0px none ; display: inline;" alt="MY4" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttO-t5Gy6I/AAAAAAAAAQ8/pOl1PQZd9Pc/MY4_thumb%5B1%5D.jpg?imgmax=800" border="0" width="370" height="217" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;Step 6 : Enter the necessary Details and click ok.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttO_f3YMBI/AAAAAAAAARA/rhfbofpe1BM/s1600-h/MY5%5B3%5D.jpg"&gt;&lt;img title="MY5" style="border: 0px none ; display: inline;" alt="MY5" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttPAAMQjVI/AAAAAAAAARE/_NiMBwFJAs8/MY5_thumb%5B1%5D.jpg?imgmax=800" border="0" width="362" height="358" /&gt;&lt;/a&gt; &lt;/p&gt;Step 7 : Select the necessary fields and click next.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttPBDXbJEI/AAAAAAAAARI/xGQ0yYCNwME/s1600-h/MY6%5B3%5D.jpg"&gt;&lt;img title="MY6" style="border: 0px none ; display: inline;" alt="MY6" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttPCCmb2QI/AAAAAAAAARM/n_U57rL_s9M/MY6_thumb%5B1%5D.jpg?imgmax=800" border="0" width="449" height="415" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;Step 8 : Select two tables &lt;span style="color: rgb(255, 0, 0);"&gt;Production.ProductCategory&lt;/span&gt; and &lt;span style="color: rgb(255, 0, 0);"&gt;Production.ProductSubcategory&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttPDPwQebI/AAAAAAAAARQ/EhXN16bKDTA/s1600-h/MY7%5B3%5D.jpg"&gt;&lt;img title="MY7" style="border: 0px none ; display: inline;" alt="MY7" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttPEKDPglI/AAAAAAAAARU/CFDnScz2QN0/MY7_thumb%5B1%5D.jpg?imgmax=800" border="0" width="458" height="410" /&gt;&lt;/a&gt; &lt;/p&gt;The edmx will be same as previous MSSQL edmx.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SttPEsJ9-7I/AAAAAAAAARY/yXT_wt78Iko/s1600-h/MY8%5B3%5D.jpg"&gt;&lt;img title="MY8" style="border: 0px none ; display: inline;" alt="MY8" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SttPFTIsznI/AAAAAAAAARc/DlWPhJxCqQM/MY8_thumb%5B1%5D.jpg?imgmax=800" border="0" width="353" height="207" /&gt;&lt;/a&gt; &lt;/p&gt;Use the same query in MSSQL .&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px solid rgb(206, 206, 206); padding: 5px; overflow: auto; min-height: 40px; width: 535px; height: 189px; background-color: rgb(251, 251, 251);"&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt; adventureworksEntities dbEntities = new adventureworksEntities();&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;            var query = from PC in dbEntities.productcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                        join PSC in dbEntities.productsubcategory&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;                      on PC.ProductCategoryID equals PSC.ProductSubcategoryID&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;                        select new { PCName = PC.Name, PCModifiedDate = PC.ModifiedDate, PSCName = PSC.Name, PSCModifiedDate = PSC.ModifiedDate };&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;            GridView1.DataSource = query;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;            GridView1.DataBind();&lt;/pre&gt;&lt;/pre&gt;The result will display as same result.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttPGNswOVI/AAAAAAAAARg/7Gi9IgiYQ3c/s1600-h/1%5B3%5D.jpg"&gt;&lt;img title="1" style="border: 0px none ; display: inline;" alt="1" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SttPG6oxaBI/AAAAAAAAARk/vHZ8jW8TaCY/1_thumb%5B1%5D.jpg?imgmax=800" border="0" width="329" height="92" /&gt;&lt;/a&gt; &lt;/p&gt;Note it is easy to convert from one database to another database. But still some errors are there in EDMX Framework ( it wont support some joins ,Math operations etc).All the bugs will overcome on .NET 4.0 . Wait and see.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8975980360126067271?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8975980360126067271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8975980360126067271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8975980360126067271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8975980360126067271'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/10/entity-framework-for-mssql-and-mysql.html' title='Entity Framework for MSSQL and MYSQL'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/SttOmMimkXI/AAAAAAAAAO8/Wl43AMc1k5o/s72-c/ED1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-2513397049285345934</id><published>2009-10-16T10:40:00.001+05:30</published><updated>2009-10-16T10:43:32.950+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>ALTER ALL TABLE,Procedure and UDF SCHEMA IN A SINGLE QUERY</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;By using this query we can alter the schema to SCHEMANAME .&lt;/p&gt;  &lt;p&gt;select &lt;font color="#ff0000"&gt;'ALTER SCHEMA SCHEMANAME transfer [&lt;/font&gt;'+&lt;font color="#ff80ff"&gt;SCHEMA_NAME&lt;/font&gt;(&lt;font color="#ff80c0"&gt;schema_id&lt;/font&gt;)+'&lt;font color="#ff0000"&gt;].[&lt;/font&gt;'+name +'&lt;font color="#ff0000"&gt;]&lt;/font&gt;' from &lt;font color="#008000"&gt;sys.tables&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;OUTPUT&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/StgAPe-nqqI/AAAAAAAAAOo/bYh9OD5IWy4/s1600-h/schema%5B3%5D.jpg"&gt;&lt;img title="schema" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="171" alt="schema" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/StgAQH05uCI/AAAAAAAAAOs/4tmzg2_show/schema_thumb%5B1%5D.jpg?imgmax=800" width="534" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;select all the query and execute in query window.All the schema will automatically changes to SCHEMANAME &lt;/p&gt;  &lt;p&gt;Note :&lt;font color="#008000"&gt;sys.tables&lt;/font&gt; – Returns a row for each table object ,currently only with &lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;sys.objects.type&lt;/strong&gt; =U&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff80ff"&gt;SCHEMA_NAME&lt;/font&gt;(&lt;font color="#ff80c0"&gt;schema_id&lt;/font&gt;) – Returns the schema name associated with schema_id&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff80c0"&gt;schema_id&lt;/font&gt; – ID of the schema.Schema_id is a int. If schema is not defined schema name of default will return&lt;/p&gt;  &lt;p&gt;E.g : select &lt;font color="#ff80c0"&gt;SCHEMA_NAME()&lt;/font&gt; from &lt;font color="#008000"&gt;sys.tables &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;OUTPUT&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/StgAQnKrtvI/AAAAAAAAAOw/VeqpQBN6aWk/s1600-h/dbo%5B3%5D.jpg"&gt;&lt;img title="dbo" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="178" alt="dbo" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/StgARcWYRtI/AAAAAAAAAO0/eTYuCodMFX4/dbo_thumb%5B1%5D.jpg?imgmax=800" width="205" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;&lt;strong&gt;For Procedure&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;select &lt;font color="#ff0000"&gt;'ALTER SCHEMA SCHEMANAME transfer [&lt;/font&gt;'+&lt;font color="#ff80ff"&gt;SCHEMA_NAME&lt;/font&gt;(&lt;font color="#ff80c0"&gt;schema_id&lt;/font&gt;)+'&lt;font color="#ff0000"&gt;].[&lt;/font&gt;'+name +'&lt;font color="#ff0000"&gt;]&lt;/font&gt;' from &lt;font color="#008000"&gt;sys.procedures&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;&lt;strong&gt;For UDF&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt; select &lt;font color="#ff0000"&gt;'ALTER SCHEMA SCHEMANAME transfer [&lt;/font&gt;'+specific_schema+'].['+specific_name +']'     &lt;br /&gt; FROM &lt;font color="#008000"&gt;information_schema.routines     &lt;br /&gt;&lt;/font&gt;WHERE routine_type='&lt;font color="#ff0000"&gt;function&lt;/font&gt;'&lt;/p&gt;  &lt;p&gt;Note : &lt;a href="http://msdn.microsoft.com/en-us/library/ms188757.aspx"&gt;routines&lt;/a&gt; - Returns one row for each stored procedure and function that can be accessed by the current user in the current database.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-2513397049285345934?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/2513397049285345934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=2513397049285345934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2513397049285345934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2513397049285345934'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/10/alter-all-table-and-procedure-schema-in.html' title='ALTER ALL TABLE,Procedure and UDF SCHEMA IN A SINGLE QUERY'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/StgAQH05uCI/AAAAAAAAAOs/4tmzg2_show/s72-c/schema_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1602274126062724704</id><published>2009-10-07T16:20:00.002+05:30</published><updated>2009-10-12T19:14:29.800+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>NDepend – Part 1</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;Its a .NET &lt;a href="http://en.wikipedia.org/wiki/Static_code_analysis"&gt;Static analysis&lt;/a&gt; tool for Architecture and developers to analyze the code structure,specify design rules , do some massive code review , compare different versions of code etc . This tool is developed by &lt;a href="https://mvp.support.microsoft.com/profile=5252E777-5C88-4BDF-BB1D-C9899CE046D6"&gt;Patrick  Smacchia&lt;/a&gt;(C# MVP). &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.ndepend.com/Features.aspx"&gt;Main features of NDepend&lt;/a&gt; are as follows as&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Code Query Language(CQL) &lt;/li&gt;    &lt;li&gt;Compare Builds &lt;/li&gt;    &lt;li&gt;82 Code metrics &lt;/li&gt;    &lt;li&gt;Manage Complexity and Dependencies &lt;/li&gt;    &lt;li&gt;Detect Dependency Cycles &lt;/li&gt;    &lt;li&gt;Harness Test Coverage Data &lt;/li&gt;    &lt;li&gt;Enforce Immutability and purity &lt;/li&gt;    &lt;li&gt;Warning about the health of your Build Process &lt;/li&gt;    &lt;li&gt;Generate custom report from your Build Process &lt;/li&gt;    &lt;li&gt;Diagrams &lt;/li&gt;    &lt;li&gt;Facilities to cope with real-world environment &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;To &lt;a href="http://www.ndepend.com/Default.aspx"&gt;read more&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This is the sample program i am going to analyze by using NDepend.&lt;/p&gt;  &lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 549px; padding-top: 5px; border-bottom: #cecece 1px solid; height: 295px; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;using System;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;using System.IO;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;using System.Collections.Generic;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;interface IFirst&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    int AgeFirst { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    string NameFirst { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;interface ISecond&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    int AgeSecond { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    string NameSecond { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;abstract class abstractClass&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    int Ageabstract { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    string Nameabstract { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;class Program&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    static void Main(string[] args)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;As we all know that the interface is not derived from &lt;strong&gt;System.Object&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;and the abstract is derived from &lt;strong&gt;System.Object&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;The &lt;span style="color:#ff0000;"&gt;Dependency Matrix&lt;/span&gt; in NDepend helps to See things graphically.&lt;/p&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SsxyXXGjRLI/AAAAAAAAAOY/CSWztgW_O-U/s1600-h/interface%20VS%20Abstract1%5B5%5D.jpg"&gt;&lt;img title="interface VS Abstract1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="432" alt="interface VS Abstract1" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SsxyYnGqnWI/AAAAAAAAAOc/INtHVOSr6Fs/interface%20VS%20Abstract1_thumb%5B3%5D.jpg?imgmax=800" width="648" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;For IL Instruction for abstract class can be find out with the help of &lt;span style="color:#ff0000;"&gt;Metrics&lt;/span&gt; in NDepend as follows.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SsxyZcyA5CI/AAAAAAAAAOg/EJaZaEdaL6M/s1600-h/Abstract1%5B4%5D.jpg"&gt;&lt;img title="Abstract1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="427" alt="Abstract1" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/SsxyaLtD2LI/AAAAAAAAAOk/i3Bbuc_Cvlk/Abstract1_thumb%5B2%5D.jpg?imgmax=800" width="661" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;There are lot of things like &lt;a href="http://www.ndepend.com/Features.aspx"&gt;Code Query Language(CQL), Detect Dependency Cycles,Compare Builds etc&lt;/a&gt;  are there to explore in NDepend tool.That i will cover the the upcoming parts.&lt;/p&gt;&lt;p&gt;If any one interested in this tool, have a look on &lt;a href="http://www.ndepend.com/Purchase.aspx"&gt;NDepend&lt;/a&gt; and order it Now. &lt;/p&gt;&lt;p&gt;Note : Thanks &lt;a href="https://mvp.support.microsoft.com/profile=5252E777-5C88-4BDF-BB1D-C9899CE046D6"&gt;Patrick  Smacchia&lt;/a&gt;, for given a free licence of NDepend to write a review. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1602274126062724704?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1602274126062724704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1602274126062724704' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1602274126062724704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1602274126062724704'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/10/ndepend-part-1.html' title='NDepend – Part 1'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_dV6Dkc4-Wo8/SsxyYnGqnWI/AAAAAAAAAOc/INtHVOSr6Fs/s72-c/interface%20VS%20Abstract1_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4711674860534790526</id><published>2009-10-01T22:44:00.001+05:30</published><updated>2009-10-01T22:44:47.340+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>New MVPs Announced – October 2009</title><content type='html'>&lt;p&gt;Microsoft MVPs are awarded every quarter and recognise the contributions of an individual to technical communities over the past year. &lt;a href="http://blogs.technet.com/southasiamvp/archive/2009/10/01/new-mvps-announced-fy10q2-october-2009.aspx"&gt;read more&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4711674860534790526?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4711674860534790526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4711674860534790526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4711674860534790526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4711674860534790526'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/10/new-mvps-announced-october-2009.html' title='New MVPs Announced – October 2009'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4038953233394378751</id><published>2009-09-30T13:18:00.001+05:30</published><updated>2009-09-30T13:20:35.196+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Error Solution'/><title type='text'>Microsoft Visual C# 2008 Compiler could not be created</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Today i got the error(‘&lt;strong&gt;&lt;font color="#ff0000"&gt;Microsoft Visual C# 2008 Compiler could not be created. QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A} failed&lt;/font&gt;’&lt;/strong&gt;) when i try to open my existing project in Visual Studio.I repaired my Visual Studio 2008 using VS 2008 CD.But the same error :(.&lt;/p&gt;  &lt;p&gt;Then i googled it . i got the solution . &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Solution &lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;strong&gt;open command prompt &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Navigate to &lt;/strong&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE&lt;/strong&gt; &lt;/font&gt;&lt;font color="#000000"&gt;(if your visual studio is installed in the corresponding location)&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font color="#000000"&gt;type &lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;devenv /ResetSkipPkgs&lt;/strong&gt;&lt;/font&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font color="#000000"&gt;Note &lt;a href="http://msdn.microsoft.com/en-us/library/ms241276(VS.80).aspx"&gt;ResetSkipPkgs&lt;/a&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;Now my problem is solved :)&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4038953233394378751?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4038953233394378751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4038953233394378751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4038953233394378751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4038953233394378751'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/microsoft-visual-c-2008-compiler-could.html' title='Microsoft Visual C# 2008 Compiler could not be created'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4493243223970003925</id><published>2009-09-27T23:08:00.002+05:30</published><updated>2009-10-12T00:24:15.699+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>C# New Features – Till Visual Studio 2008 SP1</title><content type='html'>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;1) &lt;span style="color:#ff0000;"&gt;Implicitly Typed Local Variables&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;  Local variable can be declared as var instead of explicit type.The compiler automatically takes the necessary type.This example shows this. &lt;/p&gt;  &lt;blockquote&gt;   &lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" color="#fbfbfb" style=" margin: 0em; width: 100%;  background-"&gt;private void Bind()&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        {&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" color="#fbfbfb" style=" margin: 0em; width: 100%;  background-"&gt;            DataClassesDataContext db = new DataClassesDataContext();&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;            var sString = "anishmarokey";&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;            var query = from n in db.tblNames&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;                        select n;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        }&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;Result for &lt;span style="color:#ff0000;"&gt;var query&lt;/span&gt;;&lt;/p&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr-i2XgCPsI/AAAAAAAAANI/fkslgT3AujM/s1600-h/queryResult%5B5%5D.jpg"&gt;&lt;img title="queryResult" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="113" alt="queryResult" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-i3GRyn_I/AAAAAAAAANM/DDLsqlQ6UMY/queryResult_thumb%5B1%5D.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;By using ILDASM ,See the result for var &lt;span style="color:#ff0000;"&gt;sString&lt;/span&gt; and var &lt;span style="color:#ff0000;"&gt;query&lt;/span&gt; &lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr-kLUW4tBI/AAAAAAAAAOI/XbkoxiiQDtU/s1600-h/var%20copy%5B14%5D.jpg"&gt;&lt;img title="var copy" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="447" alt="var copy" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-kMp2MU2I/AAAAAAAAAOQ/OV94l-Dms_I/var%20copy_thumb%5B10%5D.jpg?imgmax=800" width="694" border="0" /&gt;&lt;/a&gt;  &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;2) &lt;span style="color:#ff0000;"&gt;Object and Collection Initializers&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Object Initializers &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;With out invoking the constructor ,values can be accessible to fileds or properties&lt;/p&gt;&lt;p&gt;in &lt;span style="color:#ff0000;"&gt;.NET 2.0&lt;/span&gt; invoking constructor value&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;using System;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;class objectInitializers&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    public int Age { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    public string Name { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;class Application&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    static void Main()&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        objectInitializers o = new objectInitializers();&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        o.Age = 24;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        o.Name = "anishmarokey";&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;The compiler takes it as &lt;/p&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-i6oeQh-I/AAAAAAAAANY/6JrnUo0tA_s/s1600-h/objini%5B11%5D.jpg"&gt;&lt;img title="objini" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="337" alt="objini" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr-i7lTD34I/AAAAAAAAANc/yY-U7eqpZmg/objini_thumb%5B5%5D.jpg?imgmax=800" width="526" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;In &lt;span style="color:#ff0000;"&gt;.NET 3.5 &lt;/span&gt;&lt;span style="color:#000000;"&gt;without invoking constructor&lt;/span&gt;&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;using System;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;class objectInitializers&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{  &lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    public int Age { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    public string Name { get; set; } &lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;class Application&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    static void Main()&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;         objectInitializers obj = new objectInitializers { Age = 24, Name = "anishmarokey" };&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;The compiler takes it as  &lt;/p&gt;&lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr-i8pIPRWI/AAAAAAAAANg/2M4wcV3XZL4/s1600-h/objini1%5B10%5D.jpg"&gt;&lt;img title="objini1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="338" alt="objini1" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr-i9Vw2VYI/AAAAAAAAANk/iH9n8W2vxqA/objini1_thumb%5B6%5D.jpg?imgmax=800" width="521" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Note : Code size is different,for .NET 3.5 Code size is little higher.All the other things are same&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;  &lt;li&gt;Collection Initializers &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;When we want to initialize a collection class that class should initialize &lt;a href="http://msdn.microsoft.com/en-us/library/system.collections.ienumerable.aspx"&gt;IEnumerable&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;in .&lt;span style="color:#ff0000;"&gt;NET 2.0&lt;/span&gt;&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;static void Main()&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        List&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000;"&gt;string&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt; l = new List&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000;"&gt;string&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;();&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        l.Add("A");&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        l.Add("B");&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        l.Add("C");&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    }&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;The compiler takes it as &lt;/p&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr-i-BgINuI/AAAAAAAAANo/qKiZ5cYHQnQ/s1600-h/collec2%5B6%5D.jpg"&gt;&lt;img title="collec2" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="296" alt="collec2" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr-i-4YIooI/AAAAAAAAANs/jcuf-JCB8TE/collec2_thumb%5B4%5D.jpg?imgmax=800" width="517" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;in .&lt;span style="color:#ff0000;"&gt;NET 3.5&lt;/span&gt;&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;static void Main()&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        List&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000;"&gt;string&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt; l = new List&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000;"&gt;string&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt; { "A", "B", "C" };&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    } &lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;The compiler takes it as &lt;/p&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-i_95r44I/AAAAAAAAANw/__AXsndnjYc/s1600-h/collec3%5B4%5D.jpg"&gt;&lt;img title="collec3" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="287" alt="collec3" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-jAqT8dWI/AAAAAAAAAN0/kibfM5zpihc/collec3_thumb%5B2%5D.jpg?imgmax=800" width="513" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Note : Code size is different,for .NET 3.5 Code size is little higher.All the other things are same&lt;/p&gt;&lt;p&gt;3) &lt;a href="http://anishmarokey.blogspot.com/2009/06/extended-method.html"&gt;&lt;span style="color:#ff0000;"&gt;Extension Method&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As per &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/10/01/tip-trick-building-a-tojson-extension-method-using-net-3-5.aspx"&gt;ScottGU&lt;/a&gt; - Extension methods allow developers to add new methods to the public contract of an existing CLR type, without having to sub-class it or recompile the original type.&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 480px; padding-top: 5px; border-bottom: #cecece 1px solid; height: 374px; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;using System;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;public static class NewFeature&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    public static int TointNewFeature(this int i, int j)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        return i + j;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    public static int TointOldFeature(int i, int j)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        return i + j;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;class App&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    static void Main()&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        int iDemo = 2.TointNewFeature(3);&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        Console.WriteLine(iDemo);&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        iDemo = NewFeature.TointOldFeature(2, 3);&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        Console.WriteLine(iDemo);&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;}&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;4) &lt;span style="color:#ff0000;"&gt;Anonymous Type&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;span style="color:#000000;"&gt;A convenient way to encapsulate a set of read only properties into a single object without having to first explicitly define type.&lt;/span&gt;&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt; DataClassesDataContext db = new DataClassesDataContext(); &lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;            var query = from n in db.tblNames&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;                        select new { n.name };&lt;/pre&gt;&lt;/pre&gt; 5) &lt;span style="color:#ff0000;"&gt;Lambda Expression( =&amp;gt; )&lt;/span&gt;&lt;br /&gt;It can be used to create a delegate or a expression type&lt;br /&gt;Example taken from &lt;a href="http://msdn.microsoft.com/en-us/library/bb397687.aspx"&gt;MSDN&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;delegate int del(int i);&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    static void Main(string[] args)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;        del myDelegate = x =&amp;gt; x * x;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;        int j = myDelegate(5); //j = 25&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;    }&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;6) &lt;span style="color:#ff0000;"&gt;Auto Implemented Properties&lt;/span&gt;&lt;/p&gt;&lt;p&gt;If we declare this the compiler automatically adds the get accessor method and set accessor method to the corresponding properties.&lt;/p&gt;&lt;p&gt;in .&lt;span style="color:#ff0000;"&gt;NET 3.5&lt;/span&gt;&lt;/p&gt;&lt;pre style="border-right: #cecece 1px solid; padding-right: 5px; border-top: #cecece 1px solid; padding-left: 5px; min-height: 40px; padding-bottom: 5px; overflow: auto; border-left: #cecece 1px solid; width: 500px; padding-top: 5px; border-bottom: #cecece 1px solid; background-color: #fbfbfb"&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;class Test&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #fbfbfb"&gt;    public int Age { get; set; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-size: 12px; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: #e6e6e6"&gt;}&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;The compiler takes it as &lt;/p&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-jBa6BacI/AAAAAAAAAN4/7_PKqmI0-DE/s1600-h/autoimple%5B4%5D.jpg"&gt;&lt;img title="autoimple" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="274" alt="autoimple" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr-jCLjfrPI/AAAAAAAAAN8/leeb6o-zNUU/autoimple_thumb%5B2%5D.jpg?imgmax=800" width="513" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4493243223970003925?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4493243223970003925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4493243223970003925' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4493243223970003925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4493243223970003925'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/c-new-features-till-visual-studio-2008.html' title='C# New Features – Till Visual Studio 2008 SP1'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr-i3GRyn_I/AAAAAAAAANM/DDLsqlQ6UMY/s72-c/queryResult_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7686578335319193923</id><published>2009-09-27T18:58:00.001+05:30</published><updated>2009-09-27T18:58:06.146+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Page Events – MasterPage + WebUserControl + Page + WebUserControl</title><content type='html'>&lt;p&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;The page events Life Cycle in ASP.NET in &lt;font color="#ff0000"&gt;Web Form&lt;/font&gt; application is a follows as .&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9n80epc4I/AAAAAAAAAJ4/-QaDhwnk_7o/s1600-h/preinit%5B2%5D.jpg"&gt;&lt;img title="preinit" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="preinit" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9n9Rr7nQI/AAAAAAAAAJ8/3sOzFso0yUE/preinit_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9n9wCMoOI/AAAAAAAAAKA/Fs7f5Ed6Se8/s1600-h/GreenPage_Init%20copy%5B2%5D.jpg"&gt;&lt;img title="GreenPage_Init copy" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="GreenPage_Init copy" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9n-vYtyeI/AAAAAAAAAKE/h8qsb5LDOuw/GreenPage_Init%20copy_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9n_GAz0dI/AAAAAAAAAKI/oLvAPX1U21E/s1600-h/RedBoxPage_Init%5B2%5D.jpg"&gt;&lt;img title="RedBoxPage_Init" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="RedBoxPage_Init" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9n_hsSHJI/AAAAAAAAAKM/xN2Vi5AzeeU/RedBoxPage_Init_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oAKIOsVI/AAAAAAAAAKQ/5OKytDu9rH0/s1600-h/yellowPage_Init%5B2%5D.jpg"&gt;&lt;img title="yellowPage_Init" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="yellowPage_Init" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oApSSGQI/AAAAAAAAAKU/3pBLDT2T1lw/yellowPage_Init_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oBcrU8oI/AAAAAAAAAKY/-iKGu1FN8I4/s1600-h/page_init%5B2%5D.jpg"&gt;&lt;img title="page_init" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="page_init" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oB5LdPbI/AAAAAAAAAKc/fUQU9ry-HEo/page_init_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oCe7KCjI/AAAAAAAAAKg/vpIivVfjqws/s1600-h/Page_InitComplete%5B2%5D.jpg"&gt;&lt;img title="Page_InitComplete" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_InitComplete" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oC4gkXfI/AAAAAAAAAKk/OFc8U-vmako/Page_InitComplete_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oDqTaUMI/AAAAAAAAAKo/wOCTdc3Gfys/s1600-h/Page_PreLoad%5B2%5D.jpg"&gt;&lt;img title="Page_PreLoad" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_PreLoad" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oEEr_ozI/AAAAAAAAAKs/T2ngF_qhfM8/Page_PreLoad_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oEmDMcmI/AAAAAAAAAKw/2thiJVey08w/s1600-h/Page_Load%5B2%5D.jpg"&gt;&lt;img title="Page_Load" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_Load" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oFc9td2I/AAAAAAAAAK0/MDRN5hU3Q68/Page_Load_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oF8RRerI/AAAAAAAAAK4/5ZOefQ4OQgA/s1600-h/yellowPage_Load%5B2%5D.jpg"&gt;&lt;img title="yellowPage_Load" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="yellowPage_Load" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oGbjPQBI/AAAAAAAAAK8/IP-RU6A7vk4/yellowPage_Load_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oG19eqkI/AAAAAAAAALA/swH5bcF-Grg/s1600-h/GreenPage_Load%5B2%5D.jpg"&gt;&lt;img title="GreenPage_Load" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="GreenPage_Load" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oHhHZUqI/AAAAAAAAALE/I0NCl3wCVQA/GreenPage_Load_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oIZOHTVI/AAAAAAAAALI/cECk9xrY_OI/s1600-h/RedBoxPage_Load%5B2%5D.jpg"&gt;&lt;img title="RedBoxPage_Load" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="RedBoxPage_Load" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oIyzCHbI/AAAAAAAAALM/8CioG5jMJrM/RedBoxPage_Load_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oJR0DVPI/AAAAAAAAALQ/KJxQOHRmZqo/s1600-h/Page_LoadComplete%5B2%5D.jpg"&gt;&lt;img title="Page_LoadComplete" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_LoadComplete" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oJ3aPIOI/AAAAAAAAALU/G8l4rRaDFvI/Page_LoadComplete_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oKVl4CeI/AAAAAAAAALY/QSl8rW51Itc/s1600-h/Page_PreRender%5B2%5D.jpg"&gt;&lt;img title="Page_PreRender" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_PreRender" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oLNpChwI/AAAAAAAAALc/g6oQHpbodMk/Page_PreRender_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oLhieXZI/AAAAAAAAALg/yh_iEDwvgFQ/s1600-h/yellowPage_PreRender%5B2%5D.jpg"&gt;&lt;img title="yellowPage_PreRender" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="yellowPage_PreRender" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oMCGt0hI/AAAAAAAAALk/8yO5rkQfFSg/yellowPage_PreRender_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oMtVNnVI/AAAAAAAAALo/6_xGICHL3ec/s1600-h/GreenPage_PreRender%5B2%5D.jpg"&gt;&lt;img title="GreenPage_PreRender" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="GreenPage_PreRender" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oNFLCFbI/AAAAAAAAALs/uKpl4xzhlNA/GreenPage_PreRender_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oNgu6J-I/AAAAAAAAALw/N2dXJp3k5Xg/s1600-h/RedBoxPage_PreRender%5B2%5D.jpg"&gt;&lt;img title="RedBoxPage_PreRender" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="RedBoxPage_PreRender" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oOJ6P7lI/AAAAAAAAAL0/Ooy2sXbkaA0/RedBoxPage_PreRender_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oOr4XrNI/AAAAAAAAAL4/9J4YIYGP9GM/s1600-h/Page_PreRenderComplete%5B5%5D.jpg"&gt;&lt;img title="Page_PreRenderComplete" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_PreRenderComplete" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oPdiN3iI/AAAAAAAAAL8/lhbDS7rvaMY/Page_PreRenderComplete_thumb%5B1%5D.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oP21dKpI/AAAAAAAAAMA/hwONDKqp2CU/s1600-h/Page_SaveStateComplete%5B2%5D.jpg"&gt;&lt;img title="Page_SaveStateComplete" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_SaveStateComplete" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oQXrCHmI/AAAAAAAAAME/Kw0ijthNcAc/Page_SaveStateComplete_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oRIF_JnI/AAAAAAAAAMI/2rbe01QYsUk/s1600-h/GreenPage_Unload%5B2%5D.jpg"&gt;&lt;img title="GreenPage_Unload" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="GreenPage_Unload" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oRiMKcYI/AAAAAAAAAMM/UmxikS7GdGg/GreenPage_Unload_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oSCq1VkI/AAAAAAAAAMQ/V90Qfq51yWU/s1600-h/RedBoxPage_Unload%5B2%5D.jpg"&gt;&lt;img title="RedBoxPage_Unload" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="RedBoxPage_Unload" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oSiptapI/AAAAAAAAAMU/qDPJ_LCQ4VU/RedBoxPage_Unload_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oTCoyoYI/AAAAAAAAAMY/59VPYka3o2c/s1600-h/yellowPage_Unload%5B2%5D.jpg"&gt;&lt;img title="yellowPage_Unload" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="yellowPage_Unload" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oTzVKlfI/AAAAAAAAAMc/SwmzTb4Fuco/yellowPage_Unload_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oUZxn9EI/AAAAAAAAAMg/ZkadZyiYi3A/s1600-h/Page_Unload%5B2%5D.jpg"&gt;&lt;img title="Page_Unload" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Page_Unload" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oU61NrHI/AAAAAAAAAMk/unlhVEazst8/Page_Unload_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Each Box are stands for &lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;Page &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oVgTGDII/AAAAAAAAAMo/cOpy6yrm10M/s1600-h/BlackBox%5B2%5D.jpg"&gt;&lt;img title="BlackBox" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="BlackBox" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oWJahtII/AAAAAAAAAMs/7E-orWk3sP4/BlackBox_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;font color="#ff0000"&gt;WebUserControl&lt;/font&gt; Registered in Page &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sr9oWkxkp3I/AAAAAAAAAMw/Z3H8Hseqe_I/s1600-h/RedBox%5B2%5D.jpg"&gt;&lt;img title="RedBox" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="RedBox" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oXHSpdtI/AAAAAAAAAM0/q7HUilw_Xkw/RedBox_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;Master page&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oXja3C0I/AAAAAAAAAM4/2mpdnVBY9yw/s1600-h/yellow%5B2%5D.jpg"&gt;&lt;img title="yellow" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="yellow" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sr9oYB-b3YI/AAAAAAAAAM8/fe2MtgBeDvc/yellow_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;font color="#ff0000"&gt;WebUserControl&lt;/font&gt; Registered in Master Page&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt; &lt;a href="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sr9oYwDCHnI/AAAAAAAAANA/fC9_Dybul9o/s1600-h/Green%5B2%5D.jpg"&gt;&lt;img title="Green" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="52" alt="Green" src="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9oZY7X-8I/AAAAAAAAANE/yfAHKS1ns6s/Green_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7686578335319193923?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7686578335319193923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7686578335319193923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7686578335319193923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7686578335319193923'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/page-events-masterpage-webusercontrol.html' title='Page Events – MasterPage + WebUserControl + Page + WebUserControl'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sr9n9Rr7nQI/AAAAAAAAAJ8/3sOzFso0yUE/s72-c/preinit_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3561988815483015618</id><published>2009-09-23T23:10:00.003+05:30</published><updated>2009-10-23T22:12:45.368+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET Page Life Cycle</title><content type='html'>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;Step 1 : Asp page consist of both .aspx and .cs page . When the page hits &lt;span style="color: rgb(255, 0, 0);"&gt;first the Asp.Net engine&lt;/span&gt; coverts the HTML portion into a structured series of programmatically created web controls.&lt;/p&gt;  &lt;p&gt;E.g : I created a page Default.aspx page and place a TextBox1 in .aspx page.When the page compiles for the first time.A &lt;span style="color: rgb(255, 0, 0);"&gt;auto generated&lt;/span&gt; class file created(&lt;code&gt;&lt;strong&gt;WINDOWS&lt;/strong&gt;&lt;/code&gt;&lt;code&gt;\Microsoft.NET\Framework\&lt;/code&gt;&lt;code&gt;&lt;strong&gt;version&lt;/strong&gt;&lt;/code&gt;&lt;code&gt;\Temporary ASP.NET Files&lt;/code&gt;) its look like as follows&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Consider a aspx page created like this&lt;/strong&gt;. &lt;span class="kwrd"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="border: 1px solid rgb(206, 206, 206); padding: 5px; overflow: auto; min-height: 40px; width: 500px; background-color: rgb(251, 251, 251);"&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(251, 251, 251);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;html&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;xmlns&lt;/span&gt;=&lt;span style="color: rgb(0, 0, 255);"&gt;"http://www.w3.org/1999/xhtml"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;head&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;=&lt;span style="color: rgb(0, 0, 255);"&gt;"server"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(251, 251, 251);font-size:12px;"&gt;    &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;title&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;title&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;head&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(251, 251, 251);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;body&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;    &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;form&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;id&lt;/span&gt;=&lt;span style="color: rgb(0, 0, 255);"&gt;"form1"&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;=&lt;span style="color: rgb(0, 0, 255);"&gt;"server"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(251, 251, 251);font-size:12px;"&gt;    &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;br&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;    What is your gender?&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(251, 251, 251);font-size:12px;"&gt;    &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(199, 21, 133);"&gt;asp&lt;/span&gt;:&lt;span style="color: rgb(128, 0, 0);"&gt;TextBox&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;=&lt;span style="color: rgb(0, 0, 255);"&gt;"txtName"&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;=&lt;span style="color: rgb(0, 0, 255);"&gt;"server"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(199, 21, 133);"&gt;asp&lt;/span&gt;:&lt;span style="color: rgb(128, 0, 0);"&gt;TextBox&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;    &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;form&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(251, 251, 251);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;body&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;html&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre size="12px" style="margin: 0em; width: 100%; color: rgb(251, 251, 251);"&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt; &lt;div class="csharpcode"&gt;&lt;pre&gt;  &lt;strong&gt;Corresponding .CS page is&lt;/strong&gt;  &lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;br /&gt; &lt;pre style="border: 1px solid rgb(206, 206, 206); padding: 5px; overflow: auto; min-height: 40px; width: 500px; background-color: rgb(251, 251, 251);"&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; color: rgb(251, 251, 251);"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;using&lt;/span&gt; System;&lt;br /&gt;&lt;/pre&gt;&lt;pre  style="margin: 0em; width: 100%; color: rgb(230, 230, 230);font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;using&lt;/span&gt; System.Collections.Generic;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;color:#fbfbfb;"   &gt;&lt;span style="color: rgb(0, 0, 255);"&gt;using&lt;/span&gt; System.Linq;&lt;br /&gt;&lt;/pre&gt;&lt;pre size="12px" style="margin: 0em; width: 100%; color: rgb(230, 230, 230);"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;using&lt;/span&gt; System.Web;&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; width: 100%; background-color: rgb(251, 251, 251);font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;using&lt;/span&gt; System.Web.UI;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; color: rgb(230, 230, 230);"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;using&lt;/span&gt; System.Web.UI.WebControls;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;color:#e6e6e6;"   &gt;&lt;span style="color: rgb(0, 0, 255);"&gt;public&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;partial&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;class&lt;/span&gt; _Default : System.Web.UI.Page&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; width: 100%; background-color: rgb(230, 230, 230);font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;    &lt;span style="color: rgb(0, 0, 255);"&gt;protected&lt;/span&gt; void Page_Load(&lt;span style="color: rgb(0, 0, 255);"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;    {&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(251, 251, 251);"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; font-size: 12px; width: 100%; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(230, 230, 230);"&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;strong&gt;The Compiled page after first hit&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SrpdeQZyaxI/AAAAAAAAAJQ/cn-HNMo0imI/s1600-h/aspTextbox2.jpg"&gt;&lt;img title="aspTextbox" style="border-width: 0px; display: inline;" alt="aspTextbox" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/SrpdfEWuk9I/AAAAAAAAAJU/p7iAeskmMOs/aspTextbox_thumb.jpg?imgmax=800" border="0" width="208" height="252" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Note : the &lt;span style="color: rgb(255, 0, 0);"&gt;TextBox1&lt;/span&gt; is created in the class file.&lt;/p&gt;During the second hit onwards it takes from the corresponding page(i.e it won’t create a .cs page again)&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The purpose of auto generated class is to create a control hierarchy.The control hierarchy for the previous page is&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Srpdf0ba_VI/AAAAAAAAAJY/_dZoLsLeGVw/s1600-h/controlhierarchycopy3.jpg"&gt;&lt;img title="controlhierarchy copy" style="border-width: 0px; display: inline;" alt="controlhierarchy copy" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Srpdgl99ENI/AAAAAAAAAJc/ArBDdrqToxk/controlhierarchycopy_thumb1.jpg?imgmax=800" border="0" width="203" height="276" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;If you set &lt;span style="color:#ff0000;"&gt;Trace="true"&lt;/span&gt; .You can see the below image.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_dV6Dkc4-Wo8/SuHcd-i9q8I/AAAAAAAAARw/GT8cwiPKbCk/s1600-h/PageEventsControls%5B6%5D.jpg"&gt;&lt;img title="PageEventsControls" style="border: 0px none ; display: inline;" alt="PageEventsControls" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/SuHceomfEvI/AAAAAAAAAR4/1XuZJDsShis/PageEventsControls_thumb%5B4%5D.jpg?imgmax=800" border="0" width="514" height="220" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Step 2 :&lt;strong&gt; PreInit&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt; &lt;ul&gt;&lt;li&gt;Checks the &lt;span style="color: rgb(255, 0, 0);"&gt;IsPostBack&lt;/span&gt; property to determine whether this is the first time page is load.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Page event to set Theme , ie when the page before initialize.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 3 : &lt;strong&gt;Init&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;All control has been initialized in the order of controls in the control Hierarchy&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 4 : &lt;strong&gt;InitComplete&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;After the page is been initialized.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 5 : &lt;strong&gt;PreLoad&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Event before the page is loaded&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 6 : &lt;strong&gt;Load&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;calls the &lt;span style="color: rgb(255, 0, 0);"&gt;onload()&lt;/span&gt; event method and set properties for all controls in the page&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 7 : &lt;strong&gt;Control Events&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;button click ,SelectedIndexChanged etc&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 8 : &lt;strong&gt;LoadComplete&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;All the controls in the page has been loaded.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 9 : &lt;strong&gt;PreRender&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Event to take final changes to the content of the page or its control.After this event all the control moves to the IOStream into a HTML format&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 10 : &lt;strong&gt;SaveStateComplete&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;View sate is changed for all controls and page for postback purpose by calling &lt;span style="color: rgb(255, 0, 0);"&gt;SaveViewState().&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 11 : &lt;strong&gt;Render&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;This is not an event ,but control’s markup to send to browser.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Step 12 : &lt;strong&gt;UnLoad&lt;/strong&gt;&lt;br /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Final clean up is happens&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3561988815483015618?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3561988815483015618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3561988815483015618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3561988815483015618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3561988815483015618'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/aspnet-page-life-cycle.html' title='ASP.NET Page Life Cycle'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_dV6Dkc4-Wo8/SrpdfEWuk9I/AAAAAAAAAJU/p7iAeskmMOs/s72-c/aspTextbox_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6618245879910559950</id><published>2009-09-13T14:41:00.001+05:30</published><updated>2009-09-13T23:46:55.919+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><title type='text'>Windows Live Writer - For Better Blogging</title><content type='html'>&lt;p&gt;In my &lt;a href="http://anishmarokey.blogspot.com/search/label/Tools"&gt;last post&lt;/a&gt; i wrote&amp;#160; how to copy a Code Snippet form visual studio to a blog . Today when i gone through some of the sites which says Windows live writer helps to write better blogs.&lt;/p&gt;  &lt;p&gt;Steps that i followed to write a blog&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;step 1&lt;/strong&gt; : &lt;a href="http://windowslivewriter.spaces.live.com/"&gt;Download&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt; : After installation go to start –&amp;gt; &lt;font color="#ff0000"&gt;programs –&amp;gt;&amp;#160; Windows Live –&amp;gt; Windows Live Writer&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sqy3H5acXTI/AAAAAAAAAIo/sesYP4NSQc8/s1600-h/windows%20live%20writer%5B4%5D.jpg"&gt;&lt;img title="windows live writer" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="354" alt="windows live writer" src="http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sqy3Is8jcxI/AAAAAAAAAIs/sqvCegE3rl0/windows%20live%20writer_thumb%5B2%5D.jpg?imgmax=800" width="314" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt; : Windows Live write ask for the details about your Blog details .After all the windows live writer open as shown below&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sqy3JdbKDTI/AAAAAAAAAIw/IAPECDQRRYU/s1600-h/windows%20live%20writer%20Main%5B4%5D.jpg"&gt;&lt;img title="windows live writer Main" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="233" alt="windows live writer Main" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sqy3KOBydPI/AAAAAAAAAI0/b1_I8jlVtN8/windows%20live%20writer%20Main_thumb%5B2%5D.jpg?imgmax=800" width="489" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now you can write and publish your post :) &lt;/p&gt;  &lt;p&gt;For Copying code from visual studio to blog is as follows&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt; : Go to Visual studio and copy the code that you want &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sqy6l8cwDtI/AAAAAAAAAI4/h1XaNXnyTDk/s1600-h/Windows%20live%20Visual%20studio%5B2%5D.jpg"&gt;&lt;img title="Windows live Visual studio" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="Windows live Visual studio" src="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sqy6mlnwP5I/AAAAAAAAAI8/UhsdotU7rGw/Windows%20live%20Visual%20studio_thumb.jpg?imgmax=800" width="146" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&amp;#160; : Select Code Snippet from Windows Live Writer&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh3.ggpht.com/_dV6Dkc4-Wo8/Sqy6nWcVGrI/AAAAAAAAAJA/LcMb-7gSbYA/s1600-h/windows%20live%20writer%20code%20snippest%5B5%5D.jpg"&gt;&lt;img title="windows live writer code snippest" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="268" alt="windows live writer code snippest" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sqy6oHgIUVI/AAAAAAAAAJE/rTMJgggw8nY/windows%20live%20writer%20code%20snippest_thumb%5B3%5D.jpg?imgmax=800" width="529" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt; : Which opens a new window as shown below.From there select &lt;font color="#ff8080"&gt;Edit –&amp;gt; Paste then Click Insert. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh4.ggpht.com/_dV6Dkc4-Wo8/Sqy6oxLMiqI/AAAAAAAAAJI/8viqaipQUgU/s1600-h/windows%20live%20writer%20code%5B4%5D.jpg"&gt;&lt;img title="windows live writer code" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="272" alt="windows live writer code" src="http://lh5.ggpht.com/_dV6Dkc4-Wo8/Sqy6pn7-oYI/AAAAAAAAAJM/a9hWJ9uDj34/windows%20live%20writer%20code_thumb%5B2%5D.jpg?imgmax=800" width="413" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4 :&lt;/strong&gt; the output is displayed in your blog,when you click you publish in windows live writer.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6618245879910559950?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6618245879910559950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6618245879910559950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6618245879910559950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6618245879910559950'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/windows-live-writer-for-better-blogging.html' title='Windows Live Writer - For Better Blogging'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_dV6Dkc4-Wo8/Sqy3Is8jcxI/AAAAAAAAAIs/sqvCegE3rl0/s72-c/windows%20live%20writer_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3551957486034462093</id><published>2009-09-11T21:23:00.003+05:30</published><updated>2009-09-11T22:12:15.622+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET(3.0)'/><title type='text'>WPF(Windows Presentation Foundation)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;   &lt;/span&gt;&lt;span&gt;Which helps to develop rich windows and smart client user interfaces with 2-D ,3-D,animations,Styles etc .Which offers a new markup language known as &lt;a href="http://en.wikipedia.org/wiki/XAML"&gt;XAML (Extensible Application Markup Language )&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/a&gt;,to define UI elements,databinding,eventing and other features.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3551957486034462093?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3551957486034462093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3551957486034462093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3551957486034462093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3551957486034462093'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/wpfwindows-presentation-foundation.html' title='WPF(Windows Presentation Foundation)'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4917958118726520780</id><published>2009-09-09T22:39:00.007+05:30</published><updated>2009-09-10T09:47:56.469+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Const Vs Fields</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-weight: bold;"&gt;Constant&lt;/span&gt; :  constant is stored in module's metadata after compilation, so it cannot change at the runtime .&lt;/p&gt;&lt;p class="MsoNormal"&gt;E.g :  &lt;!-- {\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red0\green0\blue0;}??\fs20 \cf1 const\cf0  \cf1 int\cf0  i = 9;} --&gt; &lt;/p&gt; &lt;p style="margin: 0px;"&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;   10&lt;/span&gt; &lt;span style="color:blue;"&gt;const&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; i = 9;&lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5CANISHM%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtml1%5C03%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;Note : Only primitive types(int,boolean,char etc ) can be Constants.Then the compiler takes const as &lt;a href="http://en.wikipedia.org/wiki/Literal_%28computer_science%29"&gt;literal&lt;/a&gt;(The value is hardcode in source code ) as shown below.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/Sqfi3h-kQwI/AAAAAAAAAIc/Y3WDmbKrQy8/s1600-h/const.jpg"&gt;&lt;img style="cursor: pointer; width: 356px; height: 457px;" src="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/Sqfi3h-kQwI/AAAAAAAAAIc/Y3WDmbKrQy8/s320/const.jpg" alt="" id="BLOGGER_PHOTO_ID_5379517723558822658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5CANISHM%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtml1%5C05%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"&gt;&lt;span style="font-weight: bold;"&gt;Fields&lt;/span&gt;: Are dynamic memory allocation, so value can be allocated at runtime only&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;E.g :&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5CANISHM%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtml1%5C05%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt; &lt;!-- {\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue0;\red255\green255\blue255;\red0\green0\blue255;}??\fs20  \cf3 static\cf0  \cf3 readonly\cf0  \cf3 int\cf0  i = 9;} --&gt; &lt;div    style="background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;font-family:Courier New;font-size:10pt;color:black;"&gt; &lt;p style="margin: 0px;"&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;   10&lt;/span&gt;  &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;readonly&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; i = 9;&lt;/p&gt; &lt;/div&gt;  &lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5CANISHM%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtml1%5C08%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p style="color: rgb(0, 0, 0);" class="MsoNormal"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"&gt;Readonly – fields can be written only with in constructor method.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(0, 0, 0);" class="MsoNormal"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Note: No need to be primitive type and it support both static and non-static fields&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SqfixTUi5XI/AAAAAAAAAIU/RvOFcB5V7DU/s1600-h/fields.jpg"&gt;&lt;img style="cursor: pointer; width: 338px; height: 507px;" src="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SqfixTUi5XI/AAAAAAAAAIU/RvOFcB5V7DU/s320/fields.jpg" alt="" id="BLOGGER_PHOTO_ID_5379517616545260914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5CANISHM%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;div face="Courier New" size="10pt" color="black" style="background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt; &lt;/div&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Note : Any datatype the compiler directly supports are called primitive datatype .&lt;/p&gt;&lt;p class="MsoNormal"&gt;E.g : in C# an int maps directly to a System.Int32&lt;br /&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4917958118726520780?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4917958118726520780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4917958118726520780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4917958118726520780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4917958118726520780'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/const-vs-fields.html' title='Const Vs Fields'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dV6Dkc4-Wo8/Sqfi3h-kQwI/AAAAAAAAAIc/Y3WDmbKrQy8/s72-c/const.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1722119326330917659</id><published>2009-09-06T14:26:00.012+05:30</published><updated>2009-09-06T18:14:51.826+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>How to copy code from Visual studio to Html page</title><content type='html'>&lt;div&gt;&lt;div style="text-align: left;"&gt;       When i am give some code snippets its not a good way to read for readers.And when i go to see some other blogs they are given the code in very easily and neat way.Today i got the solution,am sharing the same with you all.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Steps to follow&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 1&lt;/b&gt; : Get the Addins from &lt;a href="http://blogs.microsoft.co.il/files/folders/36296/download.aspx" style="text-decoration: none;"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 2&lt;/b&gt; :Extract it to your Visual studio Addins folder(&lt;span class="Apple-style-span"  style="color:#FF6666;"&gt;C:\Users\anishmarokey\Documents\Visual Studio 2008\Addins&lt;/span&gt;) ,if the Addins folder is not there create it.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 3&lt;/b&gt; : Open visual studio,click in Tools -&gt; Add-in Manager&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SqOAKq9EXvI/AAAAAAAAAIM/FfYDYX3Ye0o/s1600-h/Addins.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 212px;" src="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SqOAKq9EXvI/AAAAAAAAAIM/FfYDYX3Ye0o/s320/Addins.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5378283300827979506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 4&lt;/b&gt; :Add-in Manager a message box will come.Checked the check box for &lt;span class="Apple-style-span"   style="line-height: 20px; font-family:Arial;font-size:13px;"&gt;&lt;span class="Apple-style-span"  style="color:#FF6666;"&gt;"Copy as HTML" &lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0); line-height: normal; font-family:Georgia;font-size:16px;"&gt;and click ok.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SqOAEqa5DKI/AAAAAAAAAIE/mZAcfPrmUIU/s1600-h/add-in+Manager.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 205px;" src="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SqOAEqa5DKI/AAAAAAAAAIE/mZAcfPrmUIU/s320/add-in+Manager.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5378283197605416098" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 5&lt;/b&gt; :Now you can select any code and when rigth click "Copy As HTML" as shown&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/SqN_99r1O2I/AAAAAAAAAH8/8C-LjELP8OE/s1600-h/Copy+As+HTML.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 293px; height: 320px;" src="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/SqN_99r1O2I/AAAAAAAAAH8/8C-LjELP8OE/s320/Copy+As+HTML.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5378283082517658466" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;Step 6&lt;/b&gt; : Paste in your blog.It looks like as shown below&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#2B91AF;"&gt;&lt;div class="post-code"&gt;&lt;p style="margin: 0px;"&gt;&lt;/p&gt;&lt;div    style="   background: white;font-family:Courier New;font-size:10pt;color:black;"&gt; &lt;p style="margin: 0px;"&gt;&lt;span style="color:#2b91af;"&gt;    6&lt;/span&gt;  &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="color:blue;"&gt;string&lt;/span&gt;[] args)&lt;/p&gt; &lt;p style="margin: 0px;"&gt;&lt;span style="color:#2b91af;"&gt;    7&lt;/span&gt;     { &lt;/p&gt; &lt;p style="margin: 0px;"&gt;&lt;span style="color:#2b91af;"&gt;    8&lt;/span&gt;     }  &lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0px;"&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1722119326330917659?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1722119326330917659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1722119326330917659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1722119326330917659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1722119326330917659'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/how-to-copy-code-from-visual-studio-to.html' title='How to copy code from Visual studio to Html page'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SqOAKq9EXvI/AAAAAAAAAIM/FfYDYX3Ye0o/s72-c/Addins.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-404518737714586177</id><published>2009-09-03T14:35:00.006+05:30</published><updated>2009-11-15T21:54:09.698+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><title type='text'>Applied Microsoft NET_Framework_Programming by Jeffrey Richter</title><content type='html'>I am really interested in compiler.So i checked with different book which one is good.At last i got a good one "&lt;span style="font-weight: bold;"&gt;Applied Microsoft NET_Framework_Programming&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;The following are the main topics in the book &lt;span style="font-weight: bold;"&gt;Applied Microsoft NET_Framework_Programming&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Part I: &lt;span style="font-weight: bold;"&gt;Basics of the Microsoft .NET Framework&lt;/span&gt;&lt;br /&gt;Chapter 1 : The Architecture of the .NET Framework Development Platform&lt;br /&gt;&lt;br /&gt;Overview of .NET Frame work is architected.CLR,CLS ,and a good understanding of ILDASM(intermediate laguage de assembler tool)&lt;br /&gt;&lt;br /&gt;Chapter 2: Building, Packaging, Deploying, and Administering Applications and Types&lt;br /&gt;           This chapter gives a good understanding of how the assembly is build and how the version number is given and also gives a better understanding of Culture.&lt;br /&gt;&lt;br /&gt;Chapter 3: Shared Assemblies&lt;br /&gt;    This chapter gives a better understanding of week and strong assembly.Why the public key is used etc . The main point in this chapter is GAC,what is the main function of GAC&lt;br /&gt;&lt;br /&gt;Part II:&lt;span style="font-weight: bold;"&gt; Working with Types and the Common Language Runtime&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Chapter 4: Type Fundamentals&lt;br /&gt;      This chapter gives a good understanding of Type safe and type casting&lt;br /&gt;Chapter 5: Primitive, Reference, and Value Types&lt;br /&gt;        Primitive Type -Any dataType compiler directly and a good understanding of value type and Reference type&lt;br /&gt;&lt;br /&gt;Chapter 6: Common Object Operations&lt;br /&gt;  How to compare objects ,object cloning etc&lt;br /&gt;&lt;br /&gt;Part III:&lt;span style="font-weight: bold;"&gt; Designing Types&lt;/span&gt;&lt;br /&gt;Chapter 7: Type Members and Their Accessibility&lt;br /&gt;  This chapter gives a better understanding of type member and different predefined attribute .&lt;br /&gt;&lt;br /&gt;Chapter 8: Constants and Fields&lt;br /&gt;         This chapter say what happends in metadata when declare a constant and fields.&lt;div&gt;Chapter 9: Methods&lt;/div&gt;&lt;div&gt;              This chapter gives me a better understanding of constructor,type constructor ,Operator overloading,ref and out ,virtual method&lt;/div&gt;&lt;div&gt;Chapter 10: Properties&lt;/div&gt;&lt;div&gt;            This explains properties and indexers&lt;/div&gt;&lt;div&gt;Chapter 11: Events&lt;/div&gt;&lt;div&gt;            This explains me How the delegate is Doing its action in events&lt;/div&gt;&lt;div&gt;Part IV: &lt;b&gt;Essential Types&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Chapter 12: Working with Text&lt;/div&gt;&lt;div&gt;            This explains why the string is immutable ,says how the string is doing its operation with culture&lt;/div&gt;&lt;div&gt;Chapter 13: Enumerated Types and Bit Flags&lt;/div&gt;&lt;div&gt;          This chapter goes through the idea of Enum in metadata&lt;/div&gt;&lt;div&gt;Chapter 14: Arrays&lt;/div&gt;&lt;div&gt;         The array ,and says array is a reference type and various other methodologies in array&lt;/div&gt;&lt;div&gt;Chapter 15: Interfaces&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;This chapter goes through the idea of inferface in CLR . Gives me a better idea on the interface.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Chapter 16: Custom Attributes&lt;/div&gt;&lt;div&gt;               &lt;/div&gt;&lt;div&gt;            This gives a better undersatanding of arrtibutes ,how to define user created custom attribute &lt;/div&gt;&lt;div&gt;Chapter 17: Delegates&lt;/div&gt;&lt;div&gt;           The Microsoft .NET Framework exposes a callback function mechanism using delegates.&lt;/div&gt;&lt;div&gt;and lot of other various thing of delegates&lt;/div&gt;&lt;div&gt;Part V: &lt;b&gt;Managing Types&lt;/b&gt;&lt;/div&gt;&lt;div&gt; Chapter 18: Exceptions&lt;/div&gt;&lt;div&gt;         This chapter gives a better understanding of Exceptions.how to write user created exceptions &lt;/div&gt;&lt;div&gt;&lt;div&gt;Chapter 19: Automatic Memory Management (Garbage Collection)&lt;/div&gt;&lt;div&gt;         This chapter says how the GC is working.&lt;/div&gt;&lt;div&gt;&lt;div&gt;Chapter 20: CLR Hosting, AppDomains, and Reflection&lt;/div&gt;&lt;div&gt;         This chapter says how the CLR is hosting in Windows,what is the use of application domain etc&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;About author &lt;span class="Apple-style-span" style="white-space: pre;font-family:Arial;font-size:13;"  &gt;&lt;a href="http://www.wintellect.com/cs/blogs/jeffreyr/default.aspx"&gt;&lt;b&gt;Jeffrey Richter &lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-404518737714586177?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/404518737714586177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=404518737714586177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/404518737714586177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/404518737714586177'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/09/applied-microsoft-netframeworkprogrammi.html' title='Applied Microsoft NET_Framework_Programming by Jeffrey Richter'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7590892276310522668</id><published>2009-08-22T14:57:00.010+05:30</published><updated>2009-08-27T00:19:05.977+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>entity framework model</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Entiry FrameWorkModel &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;.edmx is an xml file that defines an Entity Data Model (EDM) ,Describe the target database schema ,and defines the mapping between the EDMI and the database.An .edmx file also contains information that is used by the ADO.NET entry datamodel Designer to render a model graphically.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;How to Add .edmx File in  a visual Studio  project ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Right Click on &lt;span style="color: rgb(255, 102, 102);"&gt;Solution Explorer  -&gt; New Item -&gt; &lt;/span&gt;Select &lt;span style="color: rgb(255, 102, 102);"&gt;ADO.NET Entity Data Model&lt;/span&gt; .As shown in the figure&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV6Dkc4-Wo8/So-85hVzCiI/AAAAAAAAAHE/cQOjgfranLI/s1600-h/EDMX.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 192px;" src="http://3.bp.blogspot.com/_dV6Dkc4-Wo8/So-85hVzCiI/AAAAAAAAAHE/cQOjgfranLI/s320/EDMX.jpg" alt="" id="BLOGGER_PHOTO_ID_5372720576864651810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note : In MVC application the .edmx file can be added in the Model .So it act as a Model for MVC&lt;br /&gt;&lt;br /&gt;   In Entity framework model it is same as LINQ to SQL .But here we can mix and match a number of different database vendors ,application servers or protocols to design an aggregated mash-up  of objects which are constructed from a variety of tables,sources services etc.&lt;span style="font-weight: bold;"&gt;ADO.NET is released with .Net Framework 3.5  service pack 1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7590892276310522668?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7590892276310522668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7590892276310522668' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7590892276310522668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7590892276310522668'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/entity-framework-model-vs-linq-to-sql.html' title='entity framework model'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_dV6Dkc4-Wo8/So-85hVzCiI/AAAAAAAAAHE/cQOjgfranLI/s72-c/EDMX.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7715855983887174368</id><published>2009-08-19T23:22:00.003+05:30</published><updated>2009-08-19T23:55:00.743+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><title type='text'>HTTP Error 500.19 - Internal Server Error iis</title><content type='html'>When i started to work IIS 7.0 in vista . I got an error &lt;span style="font-weight: bold;"&gt;HTTP Error 500.19 - Internal Server Error iis.&lt;/span&gt; I checked with the IIS features(&lt;span style="color: rgb(255, 102, 102);"&gt;control panel -&gt; programs and Features -&gt; Turn windows features on or off &lt;/span&gt;) There the&lt;span style="color: rgb(255, 102, 102);"&gt; Internet Information Services -&gt; World Wide Web -&gt; Services Application Features&lt;/span&gt; are not selected. When i selected as shown in the below image.Now evey thing is working.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/Sow85zBkItI/AAAAAAAAAG0/9ca-YtmQ9gg/s1600-h/IIS7.0.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 284px;" src="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/Sow85zBkItI/AAAAAAAAAG0/9ca-YtmQ9gg/s320/IIS7.0.jpg" alt="" id="BLOGGER_PHOTO_ID_5371735419193139922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note : World  Wid Publishing Service - provides web connectivity and adminstration through the internet information Service Manager&lt;br /&gt;&lt;br /&gt;My problem got solved . Now every thing is working.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7715855983887174368?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7715855983887174368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7715855983887174368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7715855983887174368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7715855983887174368'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/http-error-50019-internal-server-error.html' title='HTTP Error 500.19 - Internal Server Error iis'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_dV6Dkc4-Wo8/Sow85zBkItI/AAAAAAAAAG0/9ca-YtmQ9gg/s72-c/IIS7.0.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4853316571815399688</id><published>2009-08-19T00:30:00.003+05:30</published><updated>2009-09-27T20:15:18.751+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='LinQ'/><title type='text'>Dynamic LINQ</title><content type='html'>Linq Example :&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; var query = from g in db.Goan_Classifications&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                    orderby g.Goan_Classification_Name &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                    select g;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dynamic Linq Example :&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; var query = db.Goan_Classifications.OrderBy("Goan_Classification_Name");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So it makes more easy.But the thing is that we need to use the &lt;a href="http://msdn.microsoft.com/en-us/vcsharp/bb894665.aspx"&gt;system.Linq.Dymaic&lt;/a&gt; class,Which makes the development more easy.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx"&gt;Read More&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4853316571815399688?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4853316571815399688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4853316571815399688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4853316571815399688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4853316571815399688'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/dynamic-linq.html' title='Dynamic LINQ'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3751484209659984825</id><published>2009-08-15T15:59:00.001+05:30</published><updated>2009-08-15T16:02:10.043+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='LinQ'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Linq to Sql Debug Visualizer</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;"&gt;Probably the biggest programming model improvement being made in .NET 3.5 is the work being done to make &lt;em&gt;querying data &lt;/em&gt;a first class programming concept.  We call this overall querying programming model "LINQ", which stands for &lt;em&gt;.NET Language Integrated Query&lt;/em&gt;.&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx"&gt;Read More&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3751484209659984825?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3751484209659984825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3751484209659984825' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3751484209659984825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3751484209659984825'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/linq-to-sql-debug-visualizer.html' title='Linq to Sql Debug Visualizer'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-740747300000184813</id><published>2009-08-12T23:12:00.000+05:30</published><updated>2009-08-12T23:13:31.163+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Assembly Binding Log Viewer (Fuslogvw.exe)</title><content type='html'>The Assembly Binding Log Viewer displays details for assembly binds. This information helps you diagnose why the .NET Framework cannot locate an assembly at run time. &lt;a href="http://msdn.microsoft.com/en-us/library/e74a18c4.aspx"&gt;Read more&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-740747300000184813?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/740747300000184813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=740747300000184813' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/740747300000184813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/740747300000184813'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/assembly-binding-log-viewer-fuslogvwexe.html' title='Assembly Binding Log Viewer (Fuslogvw.exe)'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5575675599371020922</id><published>2009-08-11T00:30:00.006+05:30</published><updated>2009-09-06T18:27:16.037+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><title type='text'>TimeZoneInfo vs TimeZone</title><content type='html'>The TimeZone class is new in 3.5 . This contains the information of Time zone in the world.&lt;br /&gt;E.g :&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;     {&lt;br /&gt;         TimeZoneInfo tInfo = TimeZoneInfo.FindSystemTimeZoneById("India Standard Time");&lt;br /&gt;         DateTime dTime = DateTime.UtcNow;&lt;br /&gt;         DateTime localTime = TimeZoneInfo.ConvertTimeFromUtc(dt, mountain);&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;MSDN &lt;a href="http://msdn.microsoft.com/en-us/library/system.timezoneinfo.aspx"&gt;link &lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384272.aspx"&gt;&lt;span class="Apple-style-span"   style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:'Times New Roman';font-size:16;"&gt;&lt;span class="Apple-style-span"   style="font-weight: bold;font-family:Arial;font-size:21;"&gt;Finding the Time Zones&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;TimeZone&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;  TimeZone(.Net &lt;span class="Apple-style-span"   style="border-collapse: separate; color: rgb(0, 0, 0);   font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:'Times New Roman';font-size:16px;"&gt;&lt;span class="Apple-style-span"   style=" ;font-family:Verdana;font-size:11px;"&gt;1.0)&lt;/span&gt;&lt;/span&gt; is to get the CurrentTimeZone(ie local time zone only) . So based on local time zone only we can convert it into necessary DateTime. But in TimeZoneinfo class helps to convert into DateTime based on any &lt;a href="http://msdn.microsoft.com/en-us/library/ms912391%28WinEmbedded.11%29.aspx"&gt;TimeZone in the World&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;E.g : for TimeZone&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;   {&lt;br /&gt;       TimeZone tZ = TimeZone.CurrentTimeZone;&lt;br /&gt;       DateTime dT = DateTime.UtcNow;&lt;br /&gt;   }&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5575675599371020922?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5575675599371020922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5575675599371020922' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5575675599371020922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5575675599371020922'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/timezone-in-c-3.html' title='TimeZoneInfo vs TimeZone'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6935756677482251862</id><published>2009-08-10T00:24:00.002+05:30</published><updated>2009-08-10T00:29:42.710+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><category scheme='http://www.blogger.com/atom/ns#' term='OS Tips'/><title type='text'>Windows 8</title><content type='html'>Few days back &lt;span style="font-weight: bold;"&gt;windows 7&lt;/span&gt; released(July-22-2009) into market.But the thing is that Microsoft is working on &lt;span style="font-weight: bold;"&gt;Windows 8 &lt;/span&gt;.&lt;a href="http://www.theregister.co.uk/2009/04/21/windows_8_file_storage/"&gt;To read more &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6935756677482251862?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6935756677482251862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6935756677482251862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6935756677482251862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6935756677482251862'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/windows-8.html' title='Windows 8'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-9138247518623979896</id><published>2009-08-03T23:30:00.003+05:30</published><updated>2009-08-03T23:32:26.165+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Visual studio Background Images</title><content type='html'>&lt;a href="http://www.slickedit.com/content/view/441"&gt;Try this out &lt;/a&gt;to change the style of visual studio and Get Coding reports and related.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-9138247518623979896?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/9138247518623979896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=9138247518623979896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/9138247518623979896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/9138247518623979896'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/visual-studio-background-images.html' title='Visual studio Background Images'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-11920965249780203</id><published>2009-08-03T20:31:00.005+05:30</published><updated>2009-09-14T11:57:59.687+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Mutable vs Immutable</title><content type='html'>&lt;div style="text-align: center; font-weight: bold;"&gt;Why string is immutable and StringBuilder is mutable ?&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: normal;"&gt;string builder  is mutable .Ie it is pure reference type.The following example the '&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;foo' is passed as a reference type .So the output is &lt;span style="font-weight: bold;"&gt;helloanish:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;E.g:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;class Program&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        static void Main(string[] args)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            StringBuilder y =new StringBuilder();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            y.Append("hello");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            Program p = new Program();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            p.foo( y);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            Console.WriteLine(y );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        void foo(StringBuilder sb)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            sb .Append("anish:");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Stirng is immutable .In some ways it to be value types .These are known as immutable .The following example the 'foo' is passed is a string but this act as a value type .So the output is '&lt;span style="font-weight: bold;"&gt;hello&lt;/span&gt;'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;E.g:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;class Program&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        static void Main(string[] args)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            string y =string.Empty;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            y="hello";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            Program p = new Program();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            p.foo( y);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            Console.WriteLine(y );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        void foo(string sb)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            sb +="anish:";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Note : note only string .Some of the other types also.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Rather than creating a new storage location for the function member declaration,the same storage location can be used with the help of &lt;span style="font-weight: bold;"&gt;ref &lt;/span&gt;type.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;E.g :  class Program&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        static void Main(string[] args)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            string y ="";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            y="hello";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            Program p = new Program();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            p.foo(ref y);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            Console.WriteLine(y );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        void foo(ref string sb)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;            sb="anish:";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Output is not hello,its &lt;span style="font-weight: bold;"&gt;anish&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Out type :Same a ref .The thing is that initially the variable is unassigned.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-11920965249780203?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/11920965249780203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=11920965249780203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/11920965249780203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/11920965249780203'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/08/mutable-vs-immutable.html' title='Mutable vs Immutable'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5437031306259493177</id><published>2009-07-31T11:56:00.008+05:30</published><updated>2009-07-31T16:47:16.696+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Web site vs Web Application</title><content type='html'>&lt;span style="font-weight: bold;"&gt;visual studio 2003&lt;/span&gt; : Introduced  &lt;span style="font-weight: bold;"&gt;Web Application model &lt;/span&gt;.&lt;br /&gt;Note :It has static Compilation&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Visual studio 2005&lt;/span&gt; : Introduced&lt;span style="font-weight: bold;"&gt; WebSite project&lt;/span&gt; type was introduced .&lt;br /&gt;Note :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It contains both web Application Model and webSite model.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Visual studio 2008&lt;/span&gt; : Supports both types of project&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Web Site model&lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;and Web Application&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;And is based on folder model .After SP1 project file was introduced in visual studio 2005.&lt;/li&gt;&lt;li&gt;WebApplication project is more structured than web site project.&lt;/li&gt;&lt;li&gt;Class file shuuld be placed inside the App_Code.&lt;/li&gt;&lt;li&gt;Web Application project type is restricted to one language .Where as web site supports multiple languages,Because web site is compiled dynamically.&lt;/li&gt;&lt;li&gt;web site supports multiple lanuages files ,but those files need to be in the same folder .So the changes required in the webconfig.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;    E.g: &lt;span style="font-weight: bold;"&gt;&lt;codesubdirectories&gt;&lt;/codesubdirectories&gt;&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;             &lt;add directoryname="ClassFolder"&gt;&lt;/add&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SnLP-vL-jKI/AAAAAAAAAGs/AKw6oR4wB_8/s1600-h/ClassWebConfig.JPG"&gt;&lt;img style="cursor: pointer; width: 289px; height: 100px;" src="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SnLP-vL-jKI/AAAAAAAAAGs/AKw6oR4wB_8/s320/ClassWebConfig.JPG" alt="" id="BLOGGER_PHOTO_ID_5364578782877224098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When deploy web Applicaton you can just copy the compiled elements and visual elements to the iis folder..Where as website we need to copy everything to the iis to work.&lt;/li&gt;&lt;li&gt;Code behind pages was introduced in visual studio 2005.Where we can create both the files(with code behind and with out code behind paes)&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/wa80x488%28VS.80%29.aspx"&gt;Partial class &lt;/a&gt;was also introduced in visual studio 2005&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;Dynamic compilation in Website&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: normal;"&gt;When &lt;/span&gt;&lt;span style="font-weight: normal;"&gt;you sent a request for a ASP.Net page,Frame work checks for the corresponding page and if the class is not exists ,Frame work compiles the page into a new .Net class and the stored the compiled class into the temporary ASP.Net folder located at&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;In future if a request comes to the same page ,the page is not compiled again .The previously compiled class is executed and returns to the browser.This process is called ASP.Net dynamic compilation.&lt;br /&gt;If Asp.Net page is modified corresponding to .Net class is automatically deleted and when a new request comes for that page it compiles the modified page into a new .Net class.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;To change  compiled in Web site are as follows as&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;change the compilation mode using the  page&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;         E.g:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV6Dkc4-Wo8/SnLP29HnPMI/AAAAAAAAAGk/EuWIxOxEKM0/s1600-h/PageComp.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 58px;" src="http://3.bp.blogspot.com/_dV6Dkc4-Wo8/SnLP29HnPMI/AAAAAAAAAGk/EuWIxOxEKM0/s320/PageComp.JPG" alt="" id="BLOGGER_PHOTO_ID_5364578649178062018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To change compilation mode using webconfig&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;    E.g :&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SnLPwzaxhAI/AAAAAAAAAGc/hVEIn5D8yq4/s1600-h/WebCompilation.JPG"&gt;&lt;img style="cursor: pointer; width: 255px; height: 90px;" src="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SnLPwzaxhAI/AAAAAAAAAGc/hVEIn5D8yq4/s320/WebCompilation.JPG" alt="" id="BLOGGER_PHOTO_ID_5364578543494857730" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5437031306259493177?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5437031306259493177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5437031306259493177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5437031306259493177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5437031306259493177'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/web-site-vs-web-application.html' title='Web site vs Web Application'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SnLP-vL-jKI/AAAAAAAAAGs/AKw6oR4wB_8/s72-c/ClassWebConfig.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5311279986354158559</id><published>2009-07-30T21:10:00.001+05:30</published><updated>2009-08-19T00:40:29.229+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>To get the microsecond in C#</title><content type='html'>&lt;span style="font-weight: bold;"&gt;"ffffff"&lt;/span&gt; format string is to represent microseconds in C#&lt;br /&gt;&lt;br /&gt;E.g :DateTime.Now.ToString("HH:mm:ss.ffffff")&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5311279986354158559?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5311279986354158559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5311279986354158559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5311279986354158559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5311279986354158559'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/to-get-microsecond-in-c.html' title='To get the microsecond in C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3457953856690210650</id><published>2009-07-30T09:47:00.002+05:30</published><updated>2009-07-30T16:10:31.084+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>To find server address using sql server 2005</title><content type='html'>@@ServerName :returns the name of the local server that is running in sql server.&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms187944.aspx?PHPSESSID=ca9tbhkv7klmem4g3b2ru2q4d4"&gt;&lt;br /&gt;more details&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3457953856690210650?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3457953856690210650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3457953856690210650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3457953856690210650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3457953856690210650'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/to-find-server-address-using-sql-server.html' title='To find server address using sql server 2005'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6711434779852514638</id><published>2009-07-27T20:26:00.003+05:30</published><updated>2009-07-27T21:07:36.148+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Common Table Expression(CTE) and ROW_NUMBER()</title><content type='html'>can be thought of as a temporary result set that is defined with in the execution of the scope of a single select,insert,update,delete or create view statement.&lt;br /&gt;&lt;br /&gt;A CTE can be used to :&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;create a recursive query .&lt;/li&gt;&lt;li&gt;substitute  for a view when the general use of a view is not required ,that is you dont have to store the definition in metadata&lt;/li&gt;&lt;li&gt;enable grouping by a column that is derived from a scalar subset ,or a function that is not deterministic or has extrenal access.&lt;/li&gt;&lt;li&gt;reference the resulting table multiple time in the same statement. &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;with expression_name [(column name [,....n])]&lt;br /&gt;AS&lt;br /&gt;(CTE query definition)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;E.g &lt;/span&gt;:with [EMP_SCHED order by rowid] as&lt;br /&gt;(select row_number() over (order by emp_id asc) as rowid ,* from EMP_SCHED)&lt;br /&gt;select * from [EMP_SCHED order by rowid] where rowid=3&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Row_Number()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt; Returns the sequential number of a row with in a partition of a result set ,starting at 1 for the first in each partition&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax &lt;/span&gt;&lt;br /&gt; ROW_NUMBER()  OVER ([ &lt;partition_by_clause&gt;] &lt;order_by_clause&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;E.g :&lt;/span&gt;with [EMP_SCHED order by rowid] as&lt;br /&gt;(select row_number() over (order by emp_id asc) as rowid ,* from EMP_SCHED)&lt;br /&gt;select * from [EMP_SCHED order by rowid] where rowid=3&lt;/order_by_clause&gt;&lt;/partition_by_clause&gt;&lt;/div&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6711434779852514638?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6711434779852514638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6711434779852514638' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6711434779852514638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6711434779852514638'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/common-table-expressioncte.html' title='Common Table Expression(CTE) and ROW_NUMBER()'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-545211808635235386</id><published>2009-07-26T20:55:00.005+05:30</published><updated>2009-07-26T23:31:25.704+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Collections in C# 2 Part 1</title><content type='html'>Collections is introduced in C# 2 . To make the strongly typed collections&lt;br /&gt;&lt;br /&gt;C#1 : it contains array list not collections class&lt;br /&gt;&lt;br /&gt;Disadvantage of Arraylist&lt;br /&gt;&lt;ul&gt;&lt;li&gt;arraylist has no compile time information.If any mismatch type is there error will throw at runtime only.(It is weekly typed collection)&lt;/li&gt;&lt;/ul&gt;E.g :public class Employee&lt;br /&gt;    {&lt;br /&gt;        string name;&lt;br /&gt;        public string Name&lt;br /&gt;        {&lt;br /&gt;            get{return name;}&lt;br /&gt;           &lt;br /&gt;        }&lt;br /&gt;        decimal salary;&lt;br /&gt;        public decimal Salary&lt;br /&gt;        {&lt;br /&gt;            get{return salary;}&lt;br /&gt;        }&lt;br /&gt;        public Employee(string name, decimal salary)&lt;br /&gt;        {&lt;br /&gt;            this.name = name;&lt;br /&gt;            this.salary = salary;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public class program&lt;br /&gt;    {&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;            ArrayList al = new ArrayList();&lt;br /&gt;            al.Add(new Employee("Anish", 20000m));&lt;br /&gt;            al.Add(new Employee("marokey",30000m));&lt;br /&gt;&lt;br /&gt;            foreach (Employee emp in al)&lt;br /&gt;            {&lt;br /&gt;                Console.Write(emp.Name);&lt;br /&gt;                Console.Write(emp.Salary);&lt;br /&gt;                Console.WriteLine();&lt;br /&gt;            }&lt;br /&gt;       }&lt;br /&gt;}&lt;br /&gt;Result : Anish20000&lt;br /&gt;                marokey30000&lt;br /&gt;&lt;br /&gt;Just look the below code produce no error at compile time but throws error at runtime&lt;br /&gt;public class Employee&lt;br /&gt;    {&lt;br /&gt;        string name;&lt;br /&gt;        public string Name&lt;br /&gt;        {&lt;br /&gt;            get{return name;}&lt;br /&gt;           &lt;br /&gt;        }&lt;br /&gt;        decimal salary;&lt;br /&gt;        public decimal Salary&lt;br /&gt;        {&lt;br /&gt;            get{return salary;}&lt;br /&gt;        }&lt;br /&gt;        public Employee(string name, decimal salary)&lt;br /&gt;        {&lt;br /&gt;            this.name = name;&lt;br /&gt;            this.salary = salary;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public class program&lt;br /&gt;    {&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;            ArrayList al = new ArrayList();&lt;br /&gt;            al.Add(new Employee("Anish", 2000m));&lt;br /&gt;            al.Add(new Employee("marokey",30000m));&lt;br /&gt;            &lt;span style="font-weight: bold;"&gt;al.Add("Error");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;            foreach (Employee emp in al)&lt;br /&gt;            {&lt;br /&gt;                Console.Write(emp.Name);&lt;br /&gt;                Console.Write(emp.Salary);&lt;br /&gt;                Console.WriteLine();&lt;br /&gt;            }&lt;br /&gt;      }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Error : &lt;span style="font-weight: bold;"&gt;Unable to cast object of type 'System.String' to type 'dummy.Employee&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Array list allows all items .It doesnot consider about the item&lt;br /&gt;&lt;br /&gt;To avoid these types of error &lt;span style="font-weight: bold;"&gt;collection class&lt;/span&gt; is introduced .&lt;br /&gt;&lt;br /&gt;public class Employee&lt;br /&gt;    {&lt;br /&gt;        string name;&lt;br /&gt;        public string Name&lt;br /&gt;        {&lt;br /&gt;            get{return name;}&lt;br /&gt;           &lt;br /&gt;        }&lt;br /&gt;        decimal salary;&lt;br /&gt;        public decimal Salary&lt;br /&gt;        {&lt;br /&gt;            get{return salary;}&lt;br /&gt;        }&lt;br /&gt;        public Employee(string name, decimal salary)&lt;br /&gt;        {&lt;br /&gt;            this.name = name;&lt;br /&gt;            this.salary = salary;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public Employee(string name)&lt;br /&gt;        {&lt;br /&gt;            this.name = name;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public class program&lt;br /&gt;    {&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;            &lt;span style="font-weight: bold;"&gt;List&lt;employee&gt; empList = new List&lt;employee&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;            empList.Add(new Employee("Anish", 2000m));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;            empList.Add(new Employee("marokey", 30000m));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;            empList.Add("Error");&lt;/span&gt;&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;During compile time itself it throws error&lt;br /&gt;Error 1 :The best overloaded method match for 'System.Collections.Generic.List&lt;dummy.employee&gt;.Add(dummy.Employee)' has some invalid arguments&lt;br /&gt;Error 2 : cannot convert from 'string' to 'dummy.Employee'&lt;br /&gt;&lt;br /&gt;Note : This is known as strongly typed collections&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Collection Class &lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1)ArrayList :&lt;/span&gt; A simple resizeable ,indexbased collection of objects&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;2)SortedList &lt;/span&gt;: A sorted Collection of  name/value pairs.And accessible by key  and by index&lt;br /&gt;&lt;br /&gt;E.g : static void Main()&lt;br /&gt;        {&lt;br /&gt;             SortedList sl = new SortedList();&lt;br /&gt;            sl.Add("maorkey",0);&lt;br /&gt;            sl.Add("Anish",1);&lt;br /&gt;&lt;br /&gt;            Console.WriteLine( sl.GetKey(1));&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;Note :When it creates a list it automatically sort the data based on the object key.&lt;br /&gt;           It wont allow redundant values.&lt;br /&gt;&lt;br /&gt;E.g:  static void Main()&lt;br /&gt;        {&lt;br /&gt;             SortedList sl = new SortedList();&lt;br /&gt;            sl.Add("Anish",0);&lt;br /&gt;            sl.Add("Anish",1);&lt;br /&gt;&lt;br /&gt;            Console.WriteLine( sl.GetKey(1));&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;//Error (Item is has already been added)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3)Queue :&lt;/span&gt; Represent the first-in-first-out collection of objects&lt;br /&gt;&lt;br /&gt;            static void Main()&lt;br /&gt;         {&lt;br /&gt;           Queue myQ = new Queue();&lt;br /&gt;            myQ.Enqueue("a");&lt;br /&gt;            myQ.Enqueue("n");&lt;br /&gt;            myQ.Enqueue("i");&lt;br /&gt;   &lt;br /&gt;       Console.WriteLine(myQ.Dequeue());&lt;br /&gt;       Console.WriteLine(myQ.Dequeue());&lt;br /&gt;      Console.WriteLine(myQ.Dequeue());&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;Result : ani (FIFO manner)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Better way of using Queue is &lt;span style="font-weight: bold;"&gt;generic Queue&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;E.g :    static void Main()&lt;br /&gt;          {&lt;br /&gt;           &lt;span style="font-weight: bold;"&gt;Queue&lt;string&gt; smyQ = new Queue&lt;string&gt;();&lt;/span&gt;&lt;br /&gt;            smyQ.Enqueue("a");&lt;br /&gt;            smyQ.Enqueue("n");&lt;br /&gt;            smyQ.Enqueue("i");&lt;br /&gt;&lt;br /&gt;            Console.WriteLine(smyQ.Dequeue());&lt;br /&gt;            Console.WriteLine(smyQ.Dequeue());&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;Note : This queue allows only sting to iterate.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4)Stack :&lt;/span&gt; Last in First out non generic collection of objects&lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;           {&lt;br /&gt;Stack sTack = new Stack();&lt;br /&gt;            sTack.Push("a");&lt;br /&gt;            sTack.Push("n");&lt;br /&gt;            sTack.Push("i");&lt;br /&gt;&lt;br /&gt;            Console.WriteLine(sTack.Pop());&lt;br /&gt;            Console.WriteLine(sTack.Pop());&lt;br /&gt;            Console.WriteLine(sTack.Pop());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Result : ina(LIFO manner)&lt;br /&gt;&lt;br /&gt;Generic Stack is the better way of using&lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;            {&lt;br /&gt;Stack&lt;string&gt; sTack = new Stack&lt;string&gt;();&lt;br /&gt;            sTack.Push("a");&lt;br /&gt;            sTack.Push("n");&lt;br /&gt;            sTack.Push("i");&lt;br /&gt;&lt;br /&gt;            Console.WriteLine(sTack.Pop());&lt;br /&gt;            Console.WriteLine(sTack.Pop());&lt;br /&gt;            Console.WriteLine(sTack.Pop());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5)HashTable :&lt;/span&gt; A collection of name/value pair of objects that allow retrieval of name or index&lt;br /&gt;&lt;br /&gt;E.g: static void Main()&lt;br /&gt;             {&lt;br /&gt;               Hashtable openWith = new Hashtable();&lt;br /&gt;            openWith.Add("txt", "notepad.exe");&lt;br /&gt;            openWith.Add("bmp", "paint.exe");&lt;br /&gt;            openWith.Add("dib", "paint.exe");&lt;br /&gt;            openWith.Add("rtf", "wordpad.exe");&lt;br /&gt;&lt;br /&gt;           &lt;br /&gt;            Console.WriteLine();&lt;br /&gt;            foreach (DictionaryEntry de in openWith)&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine("Key = {0}, Value = {1}", de.Key, de.Value);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;Generic HashTable is not there .Because it takes Object as value and key.Dictionary class can act as generic hashTable not Exactly.Because there we can set the object key and value.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6)BitArray :&lt;/span&gt;compact array of bit values ,Which as represent as Boolean. &lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            BitArray myBA1 = new BitArray(5);&lt;br /&gt;            Console.WriteLine("myBA1");&lt;br /&gt;            Console.WriteLine("   Count:    {0}", myBA1.Count);&lt;br /&gt;            Console.WriteLine("   Length:   {0}", myBA1.Length);&lt;br /&gt;            Console.WriteLine("   Values:");&lt;br /&gt;            PrintValues(myBA1, 8);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public static void PrintValues(IEnumerable myList, int myWidth)&lt;br /&gt;        {&lt;br /&gt;            int i = myWidth;&lt;br /&gt;            foreach (Object obj in myList)&lt;br /&gt;            {&lt;br /&gt;                if (i &lt;= 0)&lt;br /&gt;                {&lt;br /&gt;                    i = myWidth;&lt;br /&gt;                    Console.WriteLine();&lt;br /&gt;                }&lt;br /&gt;                i--;&lt;br /&gt;                Console.Write("{0,8}", obj);&lt;br /&gt;            }&lt;br /&gt;            Console.WriteLine();&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7)Stirng Collection&lt;/span&gt; : It allows null and duplicate values&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;            {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                StringCollection myCol = new StringCollection();&lt;br /&gt;&lt;br /&gt;                // Add a range of elements from an array to the end of the StringCollection.&lt;br /&gt;                String[] myArr = new String[] { "RED", "orange", "yellow", "RED", "green", "blue", "RED", "indigo", "violet", "RED" };&lt;br /&gt;                myCol.AddRange(myArr);&lt;br /&gt;                PrintValues1(myCol);&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            public static void PrintValues1(StringCollection myCol)&lt;br /&gt;            {&lt;br /&gt;                foreach (Object obj in myCol)&lt;br /&gt;                    Console.WriteLine("   {0}", obj);&lt;br /&gt;                Console.WriteLine();&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8) StringDictionary &lt;/span&gt;:collection of name/value pair .It can retrieve by name or index.It is strongly typed .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;            {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                StringDictionary myCol = new StringDictionary();&lt;br /&gt;&lt;br /&gt;                // Add a range of elements from an array to the end of the StringCollection.&lt;br /&gt;                myCol.Add("red", "0");&lt;br /&gt;                myCol.Add("blue", "1");&lt;br /&gt;                myCol.Add("green", "2");&lt;br /&gt;                PrintKeysAndValues1(myCol);&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            public static void PrintKeysAndValues1(StringDictionary myCol)&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine("   KEY                       VALUE");&lt;br /&gt;                foreach (DictionaryEntry de in myCol)&lt;br /&gt;                    Console.WriteLine("   {0,-25} {1}", de.Key, de.Value);&lt;br /&gt;                Console.WriteLine();&lt;br /&gt;            }&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9) List directory&lt;/span&gt; :An efficient collection to store small list of objects .&lt;br /&gt;It is smaller and faster than the HashTable .If the number of element is 10 or less.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10)HybridDictionary&lt;/span&gt; :Using a ListDictionary while collection is small and it switches to HashTable when he collection is large.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;11)NameValueCollection&lt;/span&gt; :Collection of name/ value  pairs . It is less performance than HashTable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-545211808635235386?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/545211808635235386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=545211808635235386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/545211808635235386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/545211808635235386'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/collections-in-c-2-part-1.html' title='Collections in C# 2 Part 1'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4591649636696768328</id><published>2009-07-25T13:36:00.003+05:30</published><updated>2009-07-25T13:41:40.712+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Set single user mode in sql server 2oo5</title><content type='html'>The single user-mode specifies that only  one user at a time can access the database and is generally used for maintenance actions&lt;br /&gt;&lt;br /&gt;To set by using SQL query&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Set single user mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;ALTER DATABASE [DATABASENAME] SET SINGLE_USER WITH NO_WAIT&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Set back to multi user&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ALTER DATABASE [DATABASENAME] SET MULTI_USER WITH NO_WAIT&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4591649636696768328?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4591649636696768328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4591649636696768328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4591649636696768328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4591649636696768328'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/set-single-user-mode-in-sql-server-2oo5.html' title='Set single user mode in sql server 2oo5'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6444654745984504898</id><published>2009-07-24T20:38:00.002+05:30</published><updated>2009-07-24T20:44:58.708+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Implict vs explict</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Implicit&lt;/span&gt; :&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;something is being  done automatically&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Explicit&lt;/span&gt; : have to write something in the source code to indicate what to happen&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;E.g: int i =20;&lt;br /&gt;         long y =i // Implicit conversion from int to long&lt;br /&gt;         int z = (long)y // Explicit conversion from long to int&lt;br /&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6444654745984504898?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6444654745984504898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6444654745984504898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6444654745984504898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6444654745984504898'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/implict-vs-explict.html' title='Implict vs explict'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-646747417045760971</id><published>2009-07-24T11:45:00.003+05:30</published><updated>2009-07-24T11:59:56.487+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Best Practices'/><title type='text'>Guidelines for Names(taken from MSDN)</title><content type='html'>&lt;div style="text-align: center;"&gt;Cast Style&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Pascal Casting&lt;/span&gt; : First letter in the identifier and the first letter of each subsequent concatenated word are capitalize.Use Pascal case for identifiers for three or more characters .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;E.g: BlackColor&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Camel Casting&lt;/span&gt; : first letter of identifier is lowercase and first letter of each subsequent concatenated word is capitalize&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;E.g: blackColor&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UpperCase&lt;/span&gt; :All the letters in the identifiers are capitalized.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;E.g : IO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For more details &lt;a href="http://msdn.microsoft.com/en-us/library/ms229043.aspx"&gt;&lt;span style="font-weight: bold;"&gt;MSDN&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-646747417045760971?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/646747417045760971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=646747417045760971' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/646747417045760971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/646747417045760971'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/guidelines-for-namestaken-from-msdn.html' title='Guidelines for Names(taken from MSDN)'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6126128811572575559</id><published>2009-07-23T14:40:00.004+05:30</published><updated>2009-07-23T14:53:09.593+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Change schema on table and proc in SQL SERVER 2005</title><content type='html'>To change the schema table  from one to another is by executing the query&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;select     'ALTER SCHEMA dbo TRANSFER ' + s.Name+ '.' + p.Name &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    FROM sys.tables p&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    inner join &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    sys.Schemas s on p.schema_id  = s.schema_id &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Result :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ALTER SCHEMA dbo TRANSFER aniSchema.video_master&lt;/li&gt;&lt;li&gt;ALTER SCHEMA dbo TRANSFER aniSchema.enquiry_master&lt;/li&gt;&lt;li&gt;ALTER SCHEMA dbo TRANSFER aniSchema.blog_master&lt;/li&gt;&lt;/ul&gt;Copy the result and execute the result in new query then the schema(&lt;span style="font-weight: bold;"&gt;aniSchema&lt;/span&gt;) is changed to &lt;span style="font-weight: bold;"&gt;dbo&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;                                         &lt;span style="font-weight: bold;"&gt; OR&lt;/span&gt;&lt;br /&gt;For tables and views&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SELECT 'ALTER SCHEMA dbo TRANSFER ' + TABLE_SCHEMA + '.' + TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'aniSchema'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;And do the above step after getting the result&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6126128811572575559?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6126128811572575559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6126128811572575559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6126128811572575559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6126128811572575559'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/change-schema-on-table-and-proc-in-sql.html' title='Change schema on table and proc in SQL SERVER 2005'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5611084292751096694</id><published>2009-07-19T12:57:00.009+05:30</published><updated>2009-07-19T13:42:42.851+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='ShortCut Keys'/><title type='text'>Visual Studio Short Cut Keys</title><content type='html'>Shortcut keys are easy to navigate,Increase productivity ,etc .... :)&lt;br /&gt;&lt;br /&gt;These are the short cut keys i like in  visual studio&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;To understanding the code&lt;/span&gt;              &lt;/li&gt;&lt;/ul&gt;              Class view :&lt;span style="font-weight: bold;"&gt; [ctrl-w] ,[ctrl -c]&lt;/span&gt;&lt;br /&gt;                          Note  : helps to see the class view.&lt;br /&gt;          Create Class diagram (by adding .cd file to the project)&lt;br /&gt;                          Note : This will display the class diagram  created.copy and paste the necessary methods ,properties from one class to another class.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Navigate through code  &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;  &lt;/span&gt;&lt;br /&gt;       &lt;span style="font-weight: bold;"&gt;F12&lt;/span&gt; : GoTODefinition&lt;br /&gt;       &lt;span style="font-weight: bold;"&gt;shift -F12&lt;/span&gt; : Show all the reference to a symbol&lt;br /&gt;      &lt;span style="font-weight: bold;"&gt;F8&lt;/span&gt;:Cycle through list of items in the currently active output window&lt;br /&gt;     &lt;span style="font-weight: bold;"&gt;shift - F8 &lt;/span&gt;: same as F8 but opposite in direction&lt;br /&gt;&lt;br /&gt;    &lt;span style="font-weight: bold;"&gt;ctrl - m ,ctrl- m&lt;/span&gt;: collapses /expand  the method  the cursor is currently in&lt;br /&gt;  &lt;span style="font-weight: bold;"&gt;ctrl -m,ctrl-o &lt;/span&gt;: collapse all methods to the outline view&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl - -(minus)&lt;/span&gt; :  moves to the cursor previous location&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl - shift - -(minus)&lt;/span&gt; :moves to the cursor last location&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl  - F &lt;/span&gt;:find menu&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl - H&lt;/span&gt; : find and replace&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl - i &lt;/span&gt;:incremental search&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl - shift - F &lt;/span&gt;: find in all files&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;         Modify code &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    ctrl -k, ctrl - c&lt;/span&gt; : command out the selected code&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl -k ,ctrl - u &lt;/span&gt;: uncommand out the selected code&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ctrl-k ,ctrl -f&lt;/span&gt; :auto format the selected code&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    ctrl - R ,ctrl - M &lt;/span&gt;:extract method&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; ctrl -R,ctrl - E&lt;/span&gt; :encapsulate field&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   ctrl- R ,ctrl -l&lt;/span&gt; :extract interface&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  F2 &lt;/span&gt;:Rename&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;      &lt;span style="font-weight: bold;"&gt;Debugging code&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F10&lt;/span&gt; :step over&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    ctrl - F10&lt;/span&gt; :Run to cursor&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    F11 &lt;/span&gt;:step into&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    shift - F11&lt;/span&gt; : step out&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   F9&lt;/span&gt;:toggle a break point&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   F5 &lt;/span&gt;:Run with debugging&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   Shift - F5&lt;/span&gt; :stop debugging&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   ctrl-F5&lt;/span&gt; :Run without Debugging&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5611084292751096694?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5611084292751096694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5611084292751096694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5611084292751096694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5611084292751096694'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/visual-studio-short-cut-keys.html' title='Visual Studio Short Cut Keys'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-2760495928404098696</id><published>2009-07-18T22:33:00.004+05:30</published><updated>2009-10-12T19:20:56.565+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>ER Diagram in Sql server 2005</title><content type='html'>To see the ER diagram for sql server 2005.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Right click the Database Diagrams on the particular table and select new database diagram&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Error i Got &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"   style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:'Times New Roman';font-size:16px;"&gt;&lt;span class="Apple-style-span"   style="font-style: italic;font-family:'Trebuchet MS';font-size:13px;"&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;How i Solved&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Right on database ,Choose properties&lt;/li&gt;&lt;li&gt;Go to options menu&lt;/li&gt;&lt;li&gt;check whether the  &lt;span style="font-weight: bold;"&gt;compatibility level :SQL Server 2005(90)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Click ok&lt;/li&gt;&lt;/ul&gt;Still i got the same error . After that i executed&lt;br /&gt;&lt;span class="Apple-style-span"   style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:'Times New Roman';font-size:16px;"&gt;&lt;span class="Apple-style-span"   style=";font-family:'Trebuchet MS';font-size:13px;"&gt;                         &lt;span style="font-weight: bold;"&gt; ALTER AUTHORIZATION ON DATABASE::DatabaseName TO sa&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Every thing working fine and i got ER diagram&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SmID3lQ1EYI/AAAAAAAAAFc/bGITYaRRK0o/s1600-h/ERDiagram.bmp"&gt;&lt;img style="cursor: pointer; width: 517px; height: 206px;" src="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SmID3lQ1EYI/AAAAAAAAAFc/bGITYaRRK0o/s320/ERDiagram.bmp" alt="" id="BLOGGER_PHOTO_ID_5359850759954698626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;       &lt;span class="Apple-style-span"   style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:'Times New Roman';font-size:16px;"&gt;&lt;span class="Apple-style-span"   style=";font-family:'Trebuchet MS';font-size:13px;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-2760495928404098696?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/2760495928404098696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=2760495928404098696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2760495928404098696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2760495928404098696'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/er-diagram-in-sql-server-2005.html' title='ER Diagram in Sql server 2005'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SmID3lQ1EYI/AAAAAAAAAFc/bGITYaRRK0o/s72-c/ERDiagram.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-2473947112425314327</id><published>2009-07-18T12:51:00.004+05:30</published><updated>2009-07-18T22:32:56.383+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Joining two tables Using UNION</title><content type='html'>&lt;div&gt;two tables&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;//No Error&lt;/span&gt;&lt;/div&gt;&lt;div&gt;select Fname,Lname from tbl_Master&lt;/div&gt;&lt;div&gt;union&lt;/div&gt;&lt;div&gt;select Fname,Lname from tbl_Master&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Two proc&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;//Error&lt;/span&gt;&lt;/div&gt;&lt;div&gt;exec SPtbl_Master1&lt;/div&gt;&lt;div&gt;union &lt;/div&gt;&lt;div&gt;exec SPtbl_Master2&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Two Table-valued Functions&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;//No Error&lt;/span&gt;&lt;/div&gt;&lt;div&gt;select * from Fntbl_Master1('p')&lt;/div&gt;&lt;div&gt;union&lt;/div&gt;&lt;div&gt;select * from Fntbl_Master2('p')&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-2473947112425314327?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/2473947112425314327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=2473947112425314327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2473947112425314327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2473947112425314327'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/joining-two-tables.html' title='Joining two tables Using UNION'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1854111473233603423</id><published>2009-07-18T11:45:00.002+05:30</published><updated>2009-07-18T12:34:15.803+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>charindex Vs patindex</title><content type='html'>&lt;b&gt;charindex&lt;/b&gt; : Returns the starting position of the first occurrence of a pattern in a specified expression ,or zero if the pattern is not matched&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g: select charindex('+','anish+varghese')&lt;/div&gt;&lt;div&gt;Result : 6&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;patindex&lt;/b&gt;:Returns the starting position if found.And it can use wildcard characters&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;E.g: select patindex('%+%','anish+varghese')&lt;/div&gt;&lt;div&gt;Result : 6&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Where is the difference  ?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Actually patindex act as a like operator .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;b&gt;%&lt;/b&gt;  :  any string of zero or more characters&lt;br /&gt;&lt;/div&gt;&lt;div&gt; E.g : select charindex('%+%','anish+varghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result : 0&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g: select patindex('%+%','anish+varghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result : 6&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g :select patindex('%+','anishvarghese+')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result :14&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g:select patindex('+%','+anishvarghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result :1&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;_&lt;/b&gt;(underScore) :any single character&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g:select patindex('%_r%','anishvarghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result :7&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;[ ]&lt;/b&gt; : Any single character with in the specified range [a-z]  or ser [abcd]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g:select patindex('%[0-9]%','anish4varghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result:6&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;[^]&lt;/b&gt; :Any sigle character not with in the specified range [^a-z] or set [^abcd]&lt;/div&gt;&lt;div&gt;E.g:select patindex('%h%','anish4varghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result :5&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g:select patindex('%h[^4]%','anish4varghese')&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Result :11&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1854111473233603423?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1854111473233603423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1854111473233603423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1854111473233603423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1854111473233603423'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/charindex-vs-patindex.html' title='charindex Vs patindex'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7494676641987148405</id><published>2009-07-13T23:52:00.002+05:30</published><updated>2009-07-14T00:03:44.594+05:30</updated><title type='text'>Implicitly Type local variable</title><content type='html'>The Implicitly Type local variable being declared is inferred from  the expression used to initialize variable.&lt;br /&gt;&lt;br /&gt;E.g : var i =10;&lt;br /&gt;        var s="anish";&lt;br /&gt;&lt;br /&gt;Note : it can be a  anonymous type ,user defined type or FCL(frame work class library) type etc.But the compiler determines the type.&lt;br /&gt;&lt;br /&gt;E.g: var i =10//implicitly typed&lt;br /&gt;        int i=10//Explicitly typed  &lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7494676641987148405?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7494676641987148405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7494676641987148405' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7494676641987148405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7494676641987148405'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/implicitly-type-local-variable.html' title='Implicitly Type local variable'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-944078915866171189</id><published>2009-07-13T23:00:00.004+05:30</published><updated>2009-08-19T00:40:29.229+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><title type='text'>collection Initializers in .Net 3.0</title><content type='html'>.Net offers a new features of initializing objects.&lt;br /&gt;&lt;br /&gt;class people&lt;br /&gt;{&lt;br /&gt;   public string FirstName { get; set; }&lt;br /&gt;   public string LastName { get; set; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;class main&lt;br /&gt;{&lt;br /&gt;   static void Main()&lt;br /&gt;   {&lt;br /&gt;       //Method 1:Adding people to List&lt;br /&gt;       people People = new people();&lt;br /&gt;       List&lt;people&gt; Names = new List&lt;people&gt;();&lt;br /&gt;       People.FirstName = "Anish";&lt;br /&gt;       People.LastName = "Varghese";&lt;br /&gt;       Names.Add(People);&lt;br /&gt;       People.FirstName = "ani";&lt;br /&gt;       People.LastName = "marokey";&lt;br /&gt;       Names.Add(People);&lt;br /&gt;&lt;br /&gt;       //Method 2:Adding people to List&lt;br /&gt;       List&lt;people&gt; Names1 = new List&lt;people&gt;();&lt;br /&gt;       Names1.Add(new people { FirstName = "Anish", LastName = "Varghese" });&lt;br /&gt;       Names1.Add(new people { FirstName = "ani", LastName = "marokey" });&lt;br /&gt;&lt;br /&gt;       //Method 3:Adding people to List&lt;br /&gt;       List&lt;people&gt; Names2 = new List&lt;people&gt;()&lt;br /&gt;       {&lt;br /&gt;           new people{FirstName="Anish",LastName="Varghese"},&lt;br /&gt;           new people{FirstName="ani",LastName="marokey"}&lt;br /&gt;       };&lt;br /&gt;//Method 4 :Adding people to List&lt;br /&gt;&lt;br /&gt;       List&lt;people&gt; Names3 = new List&lt;people&gt; { new people { FirstName = "Anish", LastName = "Varghese" }, new people { FirstName = "ani", LastName = "marokey" } };&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;Note :where we can use is a class has no default constructor and initialization is required.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;/people&gt;&lt;/people&gt;&lt;/people&gt;&lt;/people&gt;&lt;/people&gt;&lt;/people&gt;&lt;/people&gt;&lt;/people&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-944078915866171189?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/944078915866171189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=944078915866171189' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/944078915866171189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/944078915866171189'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/collection-initializers-in-net-30.html' title='collection Initializers in .Net 3.0'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4818165013032571638</id><published>2009-07-13T10:00:00.003+05:30</published><updated>2009-07-13T12:25:35.402+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Type Safe in C#</title><content type='html'>When casting from one type to another.C# compiler will check whether the casting wont cause any problem .Then only the casting will happen other wise it throw error "InvalidCastExpression" . This is why .Net is type safe.&lt;br /&gt;      &lt;br /&gt;          We can freely cast form a derived class to a base class .But we cannot blindly convert a base class to a derived class.&lt;br /&gt;&lt;br /&gt;E.g1 :&lt;br /&gt;              object obj = new object();&lt;br /&gt;              string s = (string)obj;&lt;br /&gt;             //Error "&lt;span style="font-weight: bold;"&gt;Unable to cast object of type 'System.Object' to type 'System.String'&lt;/span&gt; "&lt;br /&gt;             &lt;br /&gt;              Note : Because system.String is derived from system.Object(base class of .NET ).i.e we are converting from a base class to derived class.&lt;br /&gt;&lt;br /&gt;           Object obj = "foo";&lt;br /&gt;           string str = (string)obj;&lt;br /&gt;          //No error&lt;br /&gt;&lt;br /&gt;           Note :  we are converting derived class to a base class.&lt;br /&gt;&lt;br /&gt;E.g2:&lt;br /&gt;   class classA&lt;br /&gt;    {&lt;br /&gt;        &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    class classB:classA&lt;br /&gt;    {&lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;    class  main&lt;br /&gt;    {&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;               classA a = new classA();&lt;br /&gt;               classB b = (classB)a;&lt;br /&gt;               //Error " &lt;span style="font-weight: bold;"&gt;Unable to cast object of type 'Console_Anisj.classA' to type 'Console_Anisj.classB' &lt;/span&gt;"&lt;br /&gt;            &lt;br /&gt;         }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;        Note : Because classB is derived from ClassA.i.e we are converting from a base class to derived class.&lt;br /&gt;&lt;br /&gt;    class classA&lt;br /&gt;    {&lt;br /&gt;        &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    class classB:classA&lt;br /&gt;    {&lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;    class  main&lt;br /&gt;    {&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;               classB b = new classB();&lt;br /&gt;              classA a = (classA)b;             &lt;br /&gt;         }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;Note :  we are converting derived class to a base class.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Why this is compailing ?&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;        During compile time compiler checks whether the classA and classB is derived from System.Object class.So it wont throw any error.During run time it will check the base class and derived class.This is the reason the error is throwing in the runtime.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Best way to check the casting by using&lt;span style="font-weight: bold;"&gt; is &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;as &lt;/span&gt;operator in C#&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;object obj = new object();&lt;br /&gt;System.Boolean b1 = (obj is System.Object);&lt;br /&gt;System.Boolean b2 = (obj is System.String);&lt;br /&gt;&lt;br /&gt;Note : here b1 is true and b2 is false.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;classA a = new classA();&lt;br /&gt;classB b = new classB();&lt;br /&gt;System.Boolean b1 = (a is classB);&lt;br /&gt;System.Boolean b2 = (b is classA);&lt;br /&gt;&lt;br /&gt;if(b2)&lt;br /&gt;{&lt;br /&gt;              classB b = new classB();&lt;br /&gt;              classA a = (classA)b;   &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Note : here the b1 is false and b2 is true .CLR wants to check the type twice one out side the&lt;br /&gt;if loop and one inside the if loop. so introduced the new concept as "&lt;span style="font-weight: bold;"&gt;as&lt;/span&gt;"operator.&lt;br /&gt;&lt;br /&gt;            classA a = new classA();&lt;br /&gt;            classB b = new classB();&lt;br /&gt;            classA a1 = b as classA;&lt;br /&gt;            classB b1 = a as classB;&lt;br /&gt;           if (a1 != null)&lt;br /&gt;            {&lt;br /&gt;                classA a2 = (classA)b;&lt;br /&gt;            }&lt;br /&gt;            if (b1 != null)&lt;br /&gt;            {&lt;br /&gt;                classB b2 = (classB)a;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;             Note :if the type can be casting then it returns not null pointer and if it returns null it cannot be cast.CLR wants to check the type only once.so it improve the performance.&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4818165013032571638?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4818165013032571638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4818165013032571638' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4818165013032571638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4818165013032571638'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/type-safe-in-c.html' title='Type Safe in C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1097703616110518872</id><published>2009-07-10T16:14:00.005+05:30</published><updated>2009-11-16T23:42:17.754+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Deploy Asp.Net application using   "compilation debug="false"</title><content type='html'>&lt;div style="text-align: center; font-weight: bold;"&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;If you are deploying using&lt;/span&gt; &lt;span class="Apple-style-span"   style=" font-weight: normal;  white-space: pre; font-family:Arial;font-size:13px;"&gt;compilation debug="true".The following will happen.&lt;/span&gt;&lt;/div&gt;&lt;compilation debug="false"&gt;&lt;div style="text-align: left;"&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: normal;"&gt;The compilation of ASP.NET pages takes longer&lt;/span&gt;&lt;/li&gt;&lt;li style="font-weight: normal;"&gt;Code executes slower&lt;/li&gt;&lt;li style="font-weight: normal;"&gt;Memory useage will be high .during run time&lt;br /&gt;&lt;/li&gt;&lt;li style="font-weight: normal;"&gt;Scripts and images download from the &lt;a href="http://support.microsoft.com/kb/910442"&gt;webresourcre.axd&lt;/a&gt; handler are not catched&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: normal;"&gt;   Note:the last point is important.If you are using external scripts(javascript ,css etc  ). "&lt;compilation debug="false"&gt;" webresourcre.axd handler automatically set long cache for on the resources retrieved via it.So that the resource is only downloaded once to the client and catched there forever.&lt;/compilation&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="font-weight: normal;"&gt; For more details&lt;/span&gt; &lt;a style="font-weight: normal;" href="http://support.microsoft.com/kb/815157"&gt;click Here &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/compilation&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1097703616110518872?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1097703616110518872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1097703616110518872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1097703616110518872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1097703616110518872'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/deploy-aspnet-application-using.html' title='Deploy Asp.Net application using   &quot;compilation debug=&quot;false&quot;'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6449016666185360099</id><published>2009-07-10T12:18:00.003+05:30</published><updated>2009-09-05T00:03:22.928+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>CLR  Profiler</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CLR Profiler:  &lt;/span&gt;this allows developers to see the allocation profile of their managed code&lt;br /&gt;&lt;br /&gt;        Note :if you love your memory space of your server try this .For more details &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=A362781C-3870-43BE-8926-862B40AA0CD0&amp;amp;displaylang=en"&gt;click here &lt;/a&gt;.This link is for .NET Framework 2.0. How to use CLR Profile .See the read me file that is included in the Zip.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6449016666185360099?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6449016666185360099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6449016666185360099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6449016666185360099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6449016666185360099'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/clr-profiler.html' title='CLR  Profiler'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5225621689095897273</id><published>2009-07-09T21:09:00.002+05:30</published><updated>2009-07-09T21:17:04.890+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Content delivery Network</title><content type='html'>&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Content Delivery Network(CDN) is a collection of web server distributed across multiple location to deliver content more efficiently to users.The server is selected for delivering content to a specific user is typically based on the measure of network work proximity.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g:the server with fastest network hops or the server with the quickest response time is chosen.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;CDN service provide companies : Akamai Technologies,Mirror Image Internet or limelight networks.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5225621689095897273?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5225621689095897273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5225621689095897273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5225621689095897273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5225621689095897273'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/content-delivery-network.html' title='Content delivery Network'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8114216826235418765</id><published>2009-07-09T12:04:00.003+05:30</published><updated>2009-07-13T17:45:10.017+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Google Chrome OS is comming</title><content type='html'>Google is also comming with there latest OS (open source) into the market.&lt;div&gt;&lt;ul&gt;&lt;li&gt;It will run with a Linux kernel as its base&lt;/li&gt;&lt;li&gt;It will boot directly into the Chrome Web browser&lt;/li&gt;&lt;li&gt;It will be aimed primarily at netbooks&lt;/li&gt;&lt;li&gt;It will run on both x86 and ARM processors&lt;/li&gt;&lt;li&gt;It will not be designed to have local storage; all data will be stored in the cloud&lt;/li&gt;&lt;li&gt;Google will not entice developers to build software to run on the Chrome OS; instead, they want them to build Web apps that will run on any standards-based browser&lt;/li&gt;&lt;li&gt;The three most important features will be “speed, simplicity and security,” according to Google&lt;/li&gt;&lt;li&gt;Google will release the software to the open source community before the end of 2009&lt;/li&gt;&lt;li&gt;Announced Chrome OS hardware partners: Acer, Adobe, ASUS, Freescale, Hewlett-Packard, Lenovo, Qualcomm, Texas Instruments, and Toshiba.&lt;/li&gt;&lt;li&gt;Netbooks running Chrome OS will be available in the second half of 2010&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;For more details &lt;a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html"&gt;Read&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8114216826235418765?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8114216826235418765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8114216826235418765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8114216826235418765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8114216826235418765'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/google-chrome-os-is-comming.html' title='Google Chrome OS is comming'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8104288647632297153</id><published>2009-07-08T21:28:00.002+05:30</published><updated>2009-07-08T21:47:05.504+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>sp_spaceused system procedure</title><content type='html'>This will tells whatt is the physical space used by the system and the objects&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;exec sp_spaceused 'databasename'&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;for more details &lt;a href="http://www.sqlservercentral.com/articles/Administration/2771/"&gt;Click Here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8104288647632297153?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8104288647632297153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8104288647632297153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8104288647632297153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8104288647632297153'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/spspaceused-system-procedure.html' title='sp_spaceused system procedure'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8891104178148956453</id><published>2009-07-08T16:50:00.002+05:30</published><updated>2009-09-05T00:03:45.177+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Cryptographic Serivce Providers</title><content type='html'>&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;It is a software library that implements the cryptographic serverce Programming interface .CSPs are responsible for encryption and decryption .&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;CSP : Are independent modules that can be used by different algorithms .A user wants to call the CSP .CSP are responsible for implementing cryptographic alrorithms.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note:some of the special types of DLL are implemented by CSP.In delay sigining Microsoft uses CSP ,siginal varifies when windows load the CSP.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;: CSP are the "containers" that abstract the location of these keys.When it loads the key grabed from the CSP container.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;:If private/Public key pairs in a CSP container donot use the AssemblyKeyFileAttribute or AL.EXEs /Keyf[ile].Insted it uses the system.Reflection.AssemblyKeyNameAttribute or  AL.EXEs /keyn[ame](takes the name of the key container in CSP)&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8891104178148956453?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8891104178148956453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8891104178148956453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8891104178148956453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8891104178148956453'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/cryptographic-serivce-providers.html' title='Cryptographic Serivce Providers'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1690533998369686670</id><published>2009-07-08T10:30:00.003+05:30</published><updated>2009-07-08T14:34:49.473+05:30</updated><title type='text'>C# allows Passing Parameters by reference</title><content type='html'>By default CLR assumes that all the parameters to a method are value type.&lt;div&gt;C# allows pass parameter by reference type in two ways&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Ref :The caller must initialized the parameter's value to the method&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;E.g: Public static void RefAni(ref int iVal)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;iVal+=2;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;public static void Main()&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;int i=3; //&lt;b&gt;i must be intialized&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;RefAni(ref i);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;Console.Writeline(i);&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : The i value is declared on the thread stack and initialized to 3.Address location of i is passed  to RefAni method. RefAni iVal takes the value and new value is returned to the caller.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;2.Out:  The caller must not have to be initalized the parameter's value to the method&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;E.g:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;Public static void OutAni(out int iVal)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;   &lt;/span&gt;iVal+=2;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;public static void Main()&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;   &lt;/span&gt;int i; //&lt;b&gt;doesnot have to  be intialized&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;   &lt;/span&gt;OutAni(out i);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;   &lt;/span&gt;Console.Writeline(i);&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : the i is declared on the thread stack .The address is then passed to the OutAni(here  no values are comming).Inside the OutAni iVal is initailized to 2 and new value is returned to the caller.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Why ref and out is required ?&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;This is that the compailer want to do the right thing automatically.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : overloading is possiblie in this&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;E.g : Public static void OutAni(out int iVal)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;Public static void OutAni(int iVal)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;This will compile properly.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1690533998369686670?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1690533998369686670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1690533998369686670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1690533998369686670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1690533998369686670'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/c-allows-passing-parameters-by.html' title='C# allows Passing Parameters by reference'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-5853488990727906978</id><published>2009-07-07T21:16:00.004+05:30</published><updated>2009-07-19T13:38:15.417+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ShortCut Keys'/><title type='text'>Command Line Tips</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;b&gt;open command prompt and type the following ,Makes your work easy&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;enable firewall: &lt;b&gt;netsh firewall set opmode mode = enable &lt;/b&gt;&lt;/div&gt;&lt;div&gt;disable firewall : &lt;b&gt;netsh firewall set opmode mode =disable&lt;/b&gt;&lt;/div&gt;&lt;div&gt;change command line title :&lt;b&gt;title new_window&lt;/b&gt;&lt;/div&gt;&lt;div&gt;computer name    :&lt;b&gt;hostname&lt;/b&gt;&lt;/div&gt;&lt;div&gt;os version      :&lt;b&gt;ver&lt;/b&gt;&lt;/div&gt;&lt;div&gt;logoff system&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;:&lt;b&gt;logoff&lt;/b&gt;&lt;/div&gt;&lt;div&gt;to see date   :&lt;b&gt;date&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-5853488990727906978?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/5853488990727906978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=5853488990727906978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5853488990727906978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/5853488990727906978'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/command-line-tips.html' title='Command Line Tips'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3456592559535523013</id><published>2009-07-07T20:52:00.007+05:30</published><updated>2009-07-19T13:38:15.417+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ShortCut Keys'/><title type='text'>Windows XP Shortcut Keys</title><content type='html'>In Run &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Devenv&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;        Open visual studio&lt;/div&gt;&lt;div&gt;&lt;b&gt;ssmsee&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Open sql server management studio expression edition&lt;/div&gt;&lt;div&gt;&lt;b&gt;Control&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Open control panel&lt;/div&gt;&lt;div&gt;&lt;b&gt;services.msc&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;:&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;open windows services&lt;/div&gt;&lt;div&gt;&lt;b&gt;appwiz.cpl&lt;/b&gt; &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;:      add/Remove programs&lt;/div&gt;&lt;div&gt;&lt;b&gt;mspaint&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;    &lt;/span&gt;:      Open paint&lt;/div&gt;&lt;div&gt;&lt;b&gt;iexplore.exe&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;                :      open internet explore&lt;/div&gt;&lt;div&gt;&lt;b&gt;safari&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt; &lt;/b&gt;   &lt;/span&gt;:      open safari browser&lt;/div&gt;&lt;div&gt;&lt;b&gt;firefox    &lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:     open mizilla browser&lt;/div&gt;&lt;div&gt;&lt;b&gt;chrome&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:     open chrome browser&lt;/div&gt;&lt;div&gt;&lt;b&gt;perfmon.exe&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;:    Open performance moniter&lt;/div&gt;&lt;div&gt;&lt;b&gt;shutdown  -s -t 01&lt;/b&gt;       :     Shutdown xp in 01 second&lt;/div&gt;&lt;div&gt;&lt;b&gt;shutdown -s&lt;/b&gt;   :shutdown &lt;/div&gt;&lt;div&gt;&lt;b&gt;shutdown -r&lt;/b&gt;   :restart&lt;/div&gt;&lt;div&gt;&lt;b&gt;shutdown -a&lt;/b&gt;   :abort shutdown&lt;/div&gt;&lt;div&gt;&lt;b&gt;nero&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;   &lt;/b&gt; &lt;/span&gt;:    open nero &lt;/div&gt;&lt;div&gt;&lt;b&gt;outlook&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;    &lt;/span&gt;:    open outlook express&lt;/div&gt;&lt;div&gt;&lt;b&gt;winword&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:    open word&lt;/div&gt;&lt;div&gt;&lt;b&gt;assembly&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;   &lt;/b&gt;&lt;/span&gt;:    Open GAC&lt;/div&gt;&lt;div&gt;&lt;b&gt;cliconfg&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;b&gt;    &lt;/b&gt;&lt;/span&gt;:   open SQL Server Client Network&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;cleanmgr:&lt;/b&gt;open Cleanup Tool&lt;/div&gt;&lt;div&gt;&lt;b&gt;userinit:&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;open documents &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3456592559535523013?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3456592559535523013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3456592559535523013' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3456592559535523013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3456592559535523013'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/windows-xp-shortcut-keys.html' title='Windows XP Shortcut Keys'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-8118204767922699199</id><published>2009-07-06T17:53:00.004+05:30</published><updated>2009-07-09T20:11:43.692+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Difference between Primary key and unique key?</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Primary Key&lt;/span&gt; : Creates uniqueness for the column.And also creates clustered  index on the column,by default&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Unique Key &lt;/span&gt; :Creates uniqueness for the column.By default it creates a Non clustered index&lt;br /&gt;&lt;br /&gt;To know more about &lt;a href="http://msdn.microsoft.com/en-us/library/ms177443.aspx"&gt;Clustered index&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/en-us/library/ms177484.aspx"&gt;non Clustered index&lt;/a&gt;.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Note : try to avoid using GUID as primaryKey (it will waste of your space (16 bytes)).If the database volume is high it will affect performance.if use int it will take less space(4 bytes).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-8118204767922699199?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/8118204767922699199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=8118204767922699199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8118204767922699199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/8118204767922699199'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/difference-between-primary-key-and.html' title='Difference between Primary key and unique key?'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-373018619774889438</id><published>2009-07-06T12:26:00.002+05:30</published><updated>2009-07-06T12:35:45.349+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Union and UnionAll</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Union&lt;/span&gt;:its Like a join Command.When using the union all the selected columns need to be of the same datatype.Only distinct values are selected.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Union All&lt;/span&gt; :it almost like union.There is no distinct operation so it will take all the values.&lt;br /&gt;&lt;br /&gt;Rules for Union &lt;br /&gt;         a union must be composed of two or more select statement and each is separated  by a keyword &lt;span style="font-style:italic;"&gt;union&lt;/span&gt;&lt;br /&gt;        Each union must contain  same column,expression or aggregate function.&lt;br /&gt;        Column name need not be same ,but they must be the type that the sql can implicitly convert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-373018619774889438?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/373018619774889438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=373018619774889438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/373018619774889438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/373018619774889438'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/union-and-unionall.html' title='Union and UnionAll'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-7411689976388905379</id><published>2009-07-03T16:59:00.000+05:30</published><updated>2009-07-03T19:50:08.720+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Value type can have an implict Constructor?</title><content type='html'>&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;All the value type is initialized to zero or null.This is because it dont have a implict constructor.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; ways you can define a variable&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;1) variable inside a Reference Type&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;ie&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;E.g:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;Class c&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;int i;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;};&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;test()&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;c C = new c(); //At this point GC will take care of it&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : GC checks the variable is zero or NULL before releasing the variable from heap.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;2) Inside Value type&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;struct structDemo&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;int i;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;};&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;test()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;c C = new c(); //At this point JIT will take care of it&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : JIT checks inside the stack.if nothing is defined stack place occupied with zero labeled.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;3)If value type has a value ,stack occupied with the that value as labled&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-7411689976388905379?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/7411689976388905379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=7411689976388905379' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7411689976388905379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/7411689976388905379'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/value-type-can-have-implict-constructor.html' title='Value type can have an implict Constructor?'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3276910445560287404</id><published>2009-07-02T20:49:00.005+05:30</published><updated>2009-07-07T22:24:04.900+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='LinQ'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Linq(Language integrated Query) Part 1</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;LinQ&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;LinQ is tightly coupled to C# and VB&lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Imperative Programming language&lt;/b&gt;: Programmers want to describe the statement(C# and VB)&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Declartive Programming language&lt;/b&gt; : In the case of SQL,the engine determines the physical strategy to retrive the logical request made in the form of a query.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Most mordern language supports RDBMS  in their code,like Xml .But nothing was type safe.Microsoft solution is LinQ ,a type safe query.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : LinQ can be coded in Lambda syntax(Anonymous code blocks from functional programming Community )&lt;span class="Apple-style-span"  style=" color: rgb(51, 51, 51); line-height: 19px; font-family:Verdana;"&gt; &lt;span class="Apple-style-span"  style="color: rgb(0, 0, 0);  line-height: normal; font-family:Georgia;"&gt; and comprehension syntax.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Lambda Syntax : Normally takes =&gt; as expression.&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;How linq makes development Easy&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Example 1 : without using LinQ&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;void NameContainsA()&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;List&lt;string&gt; cell = new List&lt;string&gt; ();&lt;/string&gt;&lt;/string&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;string[] Names = new string[]{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;"Anish"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;,"Varghese"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;,"Linq"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;,"Anish Varghese"};&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; for(int iCount=0; iCount&lt;&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;if(Names [iCount].StartsWith("A"))&lt;/div&gt;&lt;div&gt;        &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;       cell.Add(Names[i]);&lt;/div&gt;&lt;div&gt;        &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;   }&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Example 2 : With LinQ&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;void NameContainsA()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;List&lt;string&gt; cell = new List&lt;string&gt; ();&lt;/string&gt;&lt;/string&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;string[] Names = new string[]{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;"Anish"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;,"Varghese"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;,"Linq"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;,"Anish Varghese"};&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;cell = (from n in Names where n.StartsWith("A") select n).ToList();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Note : this makes the development very easy.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Example 3 : With Linq (above same example with less number of codes)&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;void NameContainsA()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;List&lt;string&gt; cell = new List&lt;string&gt; ();&lt;/string&gt;&lt;/string&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;string[] Names = new string[]{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;"Anish"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;,"Varghese"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;,"Linq"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;,"Anish Varghese"};&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;cell = Names.Where(x =&gt; x.StartsWith("A")).ToList();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3276910445560287404?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3276910445560287404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3276910445560287404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3276910445560287404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3276910445560287404'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/linqlanguage-integrated-query.html' title='Linq(Language integrated Query) Part 1'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-2839577209218020466</id><published>2009-07-02T16:39:00.000+05:30</published><updated>2009-07-03T19:51:05.359+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>NEWSEQUENTIALID()</title><content type='html'>&lt;span class="Apple-style-span"  style="  line-height: 15px; font-family:Verdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Creates a GUID that is greater than any GUID previously generated by this function on a specified computer.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Verdana;"&gt;&lt;span class="Apple-style-span" style=" line-height: 15px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Verdana;"&gt;&lt;span class="Apple-style-span" style=" line-height: 15px;"&gt;&lt;span class="Apple-style-span"  style="  line-height: normal; font-family:Tahoma;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;CREATE TABLE myGUIDTable (myCol uniqueidentifier DEFAULT NEWSEQUENTIALID())&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;this is grate to see the id is created based on the machine id .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;E.g: id created for me &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;B0DD13B4-FB66-DE11-A148-001CC031A29A&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;my Physical address of my machine is &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;00-1C-C0-31-A2-9A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Tahoma;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;To know you ip address this will help you&lt;a href="http://library.cpmc.columbia.edu/ip/ipmac.html"&gt; click here&lt;/a&gt;&lt;b&gt;&lt;a href="http://library.cpmc.columbia.edu/ip/ipmac.html"&gt; &lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Tahoma;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;to see your machine address type &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ipconfig/all &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; you can see physical address : that is same as the last 12 digits of your id&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;They introduced this to improve the performance of uniqueidentifiers when inserting&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;to get more information &lt;/span&gt;&lt;a href="http://www.codeproject.com/KB/database/AgileWareNewGuid.aspx"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Tahoma;font-size:7;"&gt;&lt;span class="Apple-style-span"  style="font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-2839577209218020466?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/2839577209218020466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=2839577209218020466' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2839577209218020466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/2839577209218020466'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/newsequentialid.html' title='NEWSEQUENTIALID()'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4930503428552188763</id><published>2009-07-02T07:37:00.000+05:30</published><updated>2009-08-19T00:40:29.229+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>.Net 3.0</title><content type='html'>New features in  .net Framework 3.o?&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The .Net framework 3.0 contains the same CLR 2.0 and base class libraries.The three new things in .Net 3.0 are windows persentation fountation(WPF),Windows Communication Fountation(WCF) and Windows work Flow foundation(WWF).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Windows Presentation Foundation&lt;/b&gt; : Helps advanced 3D animaitons and graphics.it uses Extesibile Application Mark up language.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Windows Communication Foundation :&lt;/b&gt;offers Service oriented message trasaction.It uses soap(Simple object access protocol) ,so it is reliable and secure.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Windows Work Flow Foundation : &lt;/b&gt;Offers automated business process.helps to tranfer whole or a part ,during which documentation information or task from one participient to another for action.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4930503428552188763?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4930503428552188763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4930503428552188763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4930503428552188763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4930503428552188763'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/net-30.html' title='.Net 3.0'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3706820346201488037</id><published>2009-07-01T22:57:00.000+05:30</published><updated>2009-07-03T19:48:58.499+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Properties in C#</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; border-collapse: collapse; font-size: 13px; "&gt;&lt;b&gt;Properties in C#&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: arial; border-collapse: collapse; font-size: 13px; "&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Why property are required?&lt;/b&gt;&lt;br /&gt;If you are simply delcaring a variable and you want to do some operation on a variable .&lt;br /&gt;E.g: Class demo1&lt;br /&gt;{&lt;br /&gt;Public string Age;&lt;br /&gt;}&lt;br /&gt;Class Maindemo1&lt;br /&gt;{&lt;br /&gt;demo1 Demo = new demo1();&lt;br /&gt;Demo.Age= -35;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This we want to check manually whether the logic is correct or not.Like the below way&lt;br /&gt;&lt;br /&gt;class Employee&lt;br /&gt;{&lt;br /&gt;public int Age;&lt;br /&gt;&lt;br /&gt;public int GetAge()&lt;br /&gt;{&lt;br /&gt;return (Age);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void SetAge(int value)&lt;br /&gt;{&lt;br /&gt;if(value&lt;0)&lt;br /&gt;throw new ArgumentOutOfRangeException ("Age Must be greater than zero");&lt;br /&gt;Age = value;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class MainEmployee&lt;br /&gt;{&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;Employee e = new Employee();&lt;br /&gt;e.SetAge(35);&lt;br /&gt;int i = e.GetAge();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This will solve the above problem.If Age is less than zero it will throw an error.&lt;br /&gt;Disadvantage : want to write long number of codes.and user must call a method rather than a variable.&lt;br /&gt;&lt;br /&gt;CLR offers a mechanism to overcome the above disadvantage,ie by using properties.&lt;br /&gt;class Employee&lt;br /&gt;{&lt;br /&gt;private int _Age1;&lt;br /&gt;public int Age1&lt;br /&gt;{&lt;br /&gt;get&lt;br /&gt;{&lt;br /&gt;return _Age1;&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;if (value &lt; 0)&lt;br /&gt;throw new ArgumentOutOfRangeException("&lt;wbr&gt;Age Must be greater than zero");&lt;br /&gt;_Age1 = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class MainEmployee&lt;br /&gt;{&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;Employee e = new Employee();&lt;br /&gt;e.Age1 = 35;&lt;br /&gt;int j = e.Age1;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The CLR offers get accessor and set accessor.During compile time it will automatically added GetAge() and SetAge(int value).And makes the code easy&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Types of Properties&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;1) Parameterless Property&lt;br /&gt;2) Parameterful property&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parameterless Property &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This doesn’t have a parameter&lt;br /&gt;E.g :&lt;br /&gt;public int Age1&lt;br /&gt;{&lt;br /&gt;get&lt;br /&gt;{&lt;br /&gt;return _Age1;&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;if (value &lt; 0)&lt;br /&gt;throw new ArgumentOutOfRangeException("&lt;wbr&gt;Age Must be greater than zero");&lt;br /&gt;_Age1 = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;b&gt;Parameterful property&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;C# developer to overload [] operator &lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;private int[] arr=new int[10]&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;public int this[int i]&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;{&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;get&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;return arr[i];&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;set&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;arr[i]=value;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;}&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;CLR doesnot differentiate parameterless properties and parameterful proprty.C# team set &lt;b&gt;this[] &lt;/b&gt;as syntax for indexer.which this choice means is that C# allows indexer to be defined only instace of the objects.so C# doesnot allow developer to define a static parameterful property.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3706820346201488037?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3706820346201488037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3706820346201488037' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3706820346201488037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3706820346201488037'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/07/properties-in-c.html' title='Properties in C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3545536381068027342</id><published>2009-06-30T23:40:00.000+05:30</published><updated>2009-07-03T19:48:58.499+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Strong Assembly and Weak Assembly</title><content type='html'>Both compailer are created by Compailer and AL.exe(Assembly linker,which helps to create the assembly in your project also helps to add new modules.).But the difference is only the Private and public keys.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Weak Assembly&lt;/b&gt; : can deploy in your application directory.Not globally(ie in GAC)&lt;/div&gt;&lt;div&gt;&lt;b&gt;Strong Assembly&lt;/b&gt;: Can deploy both in application directory and globally.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;if you want to create your application as strong ,you should give &lt;b&gt;sigining &lt;/b&gt;from your project properties.it will create a public key after that only you can deploy in GAC.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;sigining :&lt;/span&gt;sn.exe(Strong name tool) is responsible for creating the public key ,which is a part of .Net SDK(.NET Software Development Kit) .&lt;a href="http://msdn.microsoft.com/en-us/library/k5b5tt23(VS.80).aspx"&gt;More Details&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Note : the combination of file name,assembly version ,culture and the public key gives the&lt;b&gt; strong name&lt;/b&gt;,which is guaranteed to be unique.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;you can check the public key value by take command prompt of visual studio &lt;/div&gt;&lt;div&gt;and map your dll path(C:\Documents and Settings\anish\My Documents\Visual Studio 2008\Projects\AnishClassDll\AnishClassDll\bin\Debug) then type sn -T demo.dll.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;this public key is you are given in the web config file to map this to the particular location.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Note :when you create a strong name it create a unique key like this &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;070200000024000052534132000400000100010031f38d3b2e55454ed52c5d2469 11011be59543&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;it is difficult to read the developer so modified to a human readable form like&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;3e95326fea73ef1783b777&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Why the strong name is needed ?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;This is the way that the compailer finds which assembly it wants to load.only one public key with same name is accepted in GAC.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3545536381068027342?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3545536381068027342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3545536381068027342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3545536381068027342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3545536381068027342'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/strong-assembly-and-weak-assembly.html' title='Strong Assembly and Weak Assembly'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3771073216662524186</id><published>2009-06-30T22:04:00.000+05:30</published><updated>2009-08-19T00:40:29.229+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net(3.5)'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Extension Method</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;This is the new feature of C# 3.0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;Static method  can invoke using instance method syntax.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;static class contain a parameter with this&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;key&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/b&gt;word.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;E.g: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;public static class NewFeature&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    public static int TointNewFeature(this int i,int j)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;        return i+j;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    public static int TointOldFeature(int i, int j)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;        return i+j;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;   &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;class App&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;   &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    static void &lt;st1:place st="on"&gt;Main&lt;/st1:place&gt;() &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;        int iDemo = 2.TointNewFeature(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;        Console.WriteLine(iDemo);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;        iDemo = NewFeature.TointOldFeature(2,3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;        Console.WriteLine(iDemo);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;    }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;Features of Extension Method&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;  &lt;li class="MsoNormal"  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l0 level1 lfo1;tab-stops:list .5incolor:black;"&gt;&lt;span class="apple-tab-span"&gt;&lt;span style="font-family:Georgia;font-size:11.0pt;"&gt;&lt;span style="mso-tab-count:1"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Georgia;font-size:11.0pt;"&gt;Contains the keyword this&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class="MsoNormal"  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l0 level1 lfo1;tab-stops:list .5incolor:black;"&gt;&lt;span class="apple-tab-span"&gt;&lt;span style="font-family:Georgia;font-size:11.0pt;"&gt;&lt;span style="mso-tab-count:1"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Georgia;font-size:11.0pt;"&gt;here the parameter can be      leave.ie parameter should not be provided&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class="MsoNormal"  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l0 level1 lfo1;tab-stops:list .5incolor:black;"&gt;&lt;span style="font-family:Georgia;font-size:11.0pt;"&gt;       can be called only      by an instant variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;In ILDASM you can see system.runtime.compilerservices .extensionAttribute for the &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=" ;font-family:Georgia;font-size:11.0pt;color:black;"&gt;TointNewFeature method.ie during runtime the extension is flagged and do the rest of operation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3771073216662524186?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3771073216662524186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3771073216662524186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3771073216662524186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3771073216662524186'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/extended-method.html' title='Extension Method'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-4925584099834789635</id><published>2009-06-30T22:02:00.000+05:30</published><updated>2009-07-03T19:48:58.499+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Using Keyword in C#</title><content type='html'>&lt;p class="MsoNormal"&gt;When you use the using statement the Compiler automatically throws try and finally block.inside the Finally block compiler automatically cast to IDisposable inrerface and automatically calls dispose method.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Note : using can be used only which it supports IDisposable interface.So it reduce the syntax and help to dispose method automatically.reduce the number of errors.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;E,g&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Using(SqlConnection con = new SqlConnection())&lt;/p&gt;  &lt;p class="MsoNormal"&gt;{&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;…………….&lt;/p&gt;  &lt;p class="MsoNormal"&gt;}&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The compailer automatically added try - finally to ‘con’ . and do the previous operation by using IDisposable.&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-4925584099834789635?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/4925584099834789635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=4925584099834789635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4925584099834789635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/4925584099834789635'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/what-is-role-of-using-keyword-in-c.html' title='Using Keyword in C#'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6910939396756934439</id><published>2009-06-30T08:10:00.000+05:30</published><updated>2009-07-03T19:50:08.723+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Common Type System(CTS)</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span style="font-size:9.0pt;font-family:Arial; color:black"&gt;Common Type System(CTS)&lt;span class="Apple-style-span" style="font-family: Georgia; font-size: 15px; font-weight: normal; "&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;Types are mechanism by which code one programming language and can be talk to different programming language.&lt;span class="Apple-style-span" style="font-size: 16px; "&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:11.0pt;font-family:Georgia; color:black"&gt;CTS contains contains one or more member.They are fields,method,property and events &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:11.0pt;font-family:Georgia; color:black"&gt;CTS also maintains access modifiers like Private,Family,Family and Assembly,Assembly,Family or assembly and public.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11.0pt;font-family:Georgia; color:black"&gt;&lt;span style="mso-tab-count:1"&gt;            &lt;/span&gt;&lt;b&gt;Note 1)&lt;/b&gt; CTS rules inheritance ,vrtual functions ,object life time etc.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-tab-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;&lt;span style="mso-tab-count:2"&gt;                      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt;font-family:Georgia; color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;b&gt;2)&lt;/b&gt; CTS rules all the type must inherit from system.object. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;Conclusion : Manages the type&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11.0pt;font-family:Georgia;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span style="font-size:11.0pt;font-family:Georgia; color:black"&gt;Common Language Specification(CLS)&lt;span class="Apple-style-span" style="font-weight: normal; "&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;CLR integrates all the language and consider as&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;same type. i.e CLR produce&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11.0pt;font-family:Georgia;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;self-describing type information(metadata) and a common executable environment. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-tab-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;&lt;span style="mso-tab-count:1"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt;font-family:Georgia; color:black"&gt;Note: Some of the things we can easily write in one language not in others .CLS makes the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:11.0pt; font-family:Georgia;color:black"&gt;development easy ,i.e metada can read all other language that uses the CLR as&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;compailer.&lt;span class="Apple-style-span" style="font-size: 16px; "&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia"&gt;Conclution : Manages different languages to support.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SkzLFS_I_AI/AAAAAAAAAE8/es1lm6bC-kI/s1600-h/CLS.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SkzLFS_I_AI/AAAAAAAAAE8/es1lm6bC-kI/s320/CLS.bmp" border="0" alt="" id="BLOGGER_PHOTO_ID_5353877348893129730" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"   style="font-family:Arial;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6910939396756934439?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6910939396756934439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6910939396756934439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6910939396756934439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6910939396756934439'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/common-type-systemcts.html' title='Common Type System(CTS)'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SkzLFS_I_AI/AAAAAAAAAE8/es1lm6bC-kI/s72-c/CLS.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6260237442002718389</id><published>2009-06-30T07:28:00.000+05:30</published><updated>2009-07-03T19:51:05.359+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Temporary table in SQL</title><content type='html'>There are two types of temporary tables are available in sql server&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Local Temporary table &lt;/div&gt;&lt;div&gt;2) Global Temporary table&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Local Temporary table: They are visible to only the current connection of the user.For each user it will create a temporary table along with a session value and delete from the system temp table once the inistance of the user to the particular table has gone.To add this table add a sign(#) before the table.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g:CREATE TABLE #tblTemp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;(&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;col1 int,etc&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2) Global Temporary table:They are visible to any user after they are created and delete when the user references the table disconnect from the sql server.To add this table add a sign(##) before the table.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;E.g:CREATE TABLE ##tblTemp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;(&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;  &lt;/span&gt;col1 int,etc&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Advantages :by using this we can avoid cursors and can do  as a prameterized views.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Limitations :dont use properly it will reduce the overall perfromance.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; color: rgb(42, 42, 42); font-size: 13px; "&gt;&lt;h3 style="color: rgb(0, 51, 102); font-weight: bold; font-size: 15px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;b&gt;Using Temporary Tables Effectively&lt;/b&gt;&lt;/h3&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 0.6em; margin-left: 0px; "&gt;If you do not have any option other than to use temporary tables, use them affectively. There are few steps to be taken.&lt;/p&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-left: 1.3em; list-style-position: outside; "&gt;&lt;li&gt;Only include the necessary columns and rows rather than using all the columns and all the data which will not make sense of using temporary tables. Always filter your data into the temporary tables.&lt;/li&gt;&lt;li&gt;When creating temporary tables, do not use SELECT INTO statements, Instead of SELECT INTO statements, create the table using DDL statement and use INSERT INTO to populate the temporary table.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;e.g :select a into #tblani from dbo.table_execplan --Dont use this one&lt;/div&gt;&lt;div&gt;e.g: &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;CREATE TABLE #tbl_ani1 (col1 nchar) INSERT #tbl_ani1 (col1) (select a from dbo.table_execplan)--try to use this one&lt;/div&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; color: rgb(42, 42, 42); font-size: 13px; "&gt;&lt;br /&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-left: 1.3em; list-style-position: outside; "&gt;&lt;li&gt;After you finish the using your temporary table, delete them. This will free the tempdb resources. Temporary tables are deleted when connection is ended. but do not wait until such time.&lt;/li&gt;&lt;li&gt;When creating a temporary table do not create them with a transaction. If you create it with a transaction, it will lock some system tables (syscolumns, sysindexes, syscomments). This will prevent others from executing the same query.&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-6260237442002718389?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/6260237442002718389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=6260237442002718389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6260237442002718389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/6260237442002718389'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/temporary-table-in-sql.html' title='Temporary table in SQL'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3802476612516406012</id><published>2009-06-29T20:43:00.000+05:30</published><updated>2009-07-03T19:51:05.359+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>linked server</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; border-collapse: collapse; font-size: 13px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-indent: 0.5in; "&gt;Linked&lt;span&gt;  &lt;/span&gt;server is used &lt;span&gt; &lt;/span&gt;to execute command against&lt;span&gt;  &lt;/span&gt;OLEDB datasource on different server.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt;Advantages :&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 1in; text-indent: -0.25in; "&gt;&lt;span style="font-family: Symbol; "&gt;&lt;span&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman'; "&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Remote server access&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 1in; text-indent: -0.25in; "&gt;&lt;span style="font-family: Symbol; "&gt;&lt;span&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman'; "&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Distibuted query ,update,command and transaction on heterogeneous datasource across the enterprice.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 1in; text-indent: -0.25in; "&gt;&lt;span style="font-family: Symbol; "&gt;&lt;span&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman'; "&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Ability to address diverse datasource similarity&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Linked Server components :&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt;Oledb provider and oledb datasource&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span&gt;                &lt;/span&gt;&lt;b&gt;Oledb provider&lt;/b&gt;-is a dll that manages and interact with specific&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Linked server details&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/SkkCKAse5iI/AAAAAAAAAEw/7ICiXT4-sXs/s1600-h/LinkedServer.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 304px; height: 320px;" src="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/SkkCKAse5iI/AAAAAAAAAEw/7ICiXT4-sXs/s320/LinkedServer.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5352812003115066914" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; border-collapse: collapse; font-size: 13px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;When&lt;span&gt;  &lt;/span&gt;a client appln execute a distributed query through a linked server ,sql server break down into command and send it to rowset and req to oledb. The row set exec and open the table from the provider.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt; &lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt; &lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt;Managing linked server Definition&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt;&lt;span&gt; &lt;/span&gt;&lt;/b&gt;To work in linked server ,register the connection formula and datasource information&lt;span&gt;  &lt;/span&gt;to sql server .After registration datasource ll always reffer to the logical name provided.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt; &lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;e.g&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="line-height: 14px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in;margin-bottom:.0001pt"&gt;&lt;span style="font-size:9.0pt; font-family:Arial;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Arial;color:black"&gt;EXEC&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Arial;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-top:0in;margin-right:0in;margin-bottom:12.0pt;margin-left: 0in"&gt;&lt;span style="font-size:10.0pt;font-family:Arial;color:black"&gt;sp_addlinkedserver @server='&lt;wbr&gt;74.55.278.251',&lt;br /&gt;@srvproduct='',&lt;br /&gt;@provider='SQLNCLI',&lt;br /&gt;@provstr = 'DRIVER={SQL server&lt;span class="apple-converted-space"&gt; &lt;span style="background-image:initial;background-repeat:initial;background-attachment: initial;-webkit-background-clip: initial;-webkit-background-origin: initial; background-position:initial initial"&gt;&lt;/span&gt;};&lt;span style="background-image: initial;background-repeat:initial;background-attachment:initial;-webkit-background-clip: initial; -webkit-background-origin: initial;background-position:initial initial"&gt; server=databasename;UID=&lt;wbr&gt;username;PWD=password;'&lt;br /&gt;@datasrc='74.55.278.251'&lt;/span&gt;&lt;span style="font-size:9.0pt;font-family:Arial; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt; &lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt;by using proc we can add and delete the linked server&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;sp_addlinkedserver – to add the linked server.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Sp_linkedservers –to see the information in the linked serer.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Sp_addlinkedserver and sp_linkedservers to see more information&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt; &lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;The tables affected are&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;For server details:&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; line-height: normal; "&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: blue; "&gt;select&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; "&gt; &lt;span style="color: gray; "&gt;*&lt;/span&gt; &lt;span style="color: blue; "&gt;from&lt;/span&gt; &lt;span style="color: green; "&gt;sys.servers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; line-height: normal; "&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: green; "&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; line-height: normal; "&gt;For linked server&lt;span&gt;  &lt;/span&gt;Login Details :&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; line-height: normal; "&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: green; "&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span style="font-size: 10pt; line-height: 14px; font-family: 'Courier New'; color: blue; "&gt;select&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 14px; font-family: 'Courier New'; "&gt; &lt;span style="color: gray; "&gt;*&lt;/span&gt; &lt;span style="color: blue; "&gt;from&lt;/span&gt; &lt;span style="color: green; "&gt;sys.linked_logins&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span style="font-size: 10pt; line-height: 14px; font-family: 'Courier New'; color: green; "&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;sp_dropserver – used to delete the added server and also we can remove the remote server.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;By using sql server enterprise Manager&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;b&gt; &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;I am not explaining this.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: 21px; font-weight: bold; line-height: 24px; "&gt;Identifying a Data Source Using a Linked Server Name&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:6;"&gt;&lt;span class="Apple-style-span" style="font-size: 21px; line-height: 24px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:6;"&gt;&lt;span class="Apple-style-span" style="font-size: 21px; line-height: 24px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: normal; "&gt;After registered a linked server four part name that help for the transaction.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Part Name &lt;span class="Apple-tab-span" style="white-space:pre"&gt;     &lt;/span&gt;Desc&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Linked_server_name&lt;span class="Apple-tab-span" style="white-space:pre"&gt;     &lt;/span&gt;Linked server referencing the the oleDB data source&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Catalog&lt;span class="Apple-tab-span" style="white-space:pre"&gt;       &lt;/span&gt;Catalog in oledb datasource Containing object&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Schema&lt;span class="Apple-tab-span" style="white-space:pre"&gt;       &lt;/span&gt;Schema in the catalog contain the object&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Object_name&lt;span class="Apple-tab-span" style="white-space:pre"&gt;      &lt;/span&gt;Data object in the schema&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SkkCEHVlTuI/AAAAAAAAAEo/eOKG93hca9M/s1600-h/identifying.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 144px;" src="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SkkCEHVlTuI/AAAAAAAAAEo/eOKG93hca9M/s320/identifying.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5352811901818851042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3802476612516406012?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3802476612516406012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3802476612516406012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3802476612516406012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3802476612516406012'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/linked-server_29.html' title='linked server'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_dV6Dkc4-Wo8/SkkCKAse5iI/AAAAAAAAAEw/7ICiXT4-sXs/s72-c/LinkedServer.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-3857907049723937765</id><published>2009-06-29T08:33:00.001+05:30</published><updated>2009-07-03T19:50:08.723+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>How CLR Locates and binds assemblies</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; "&gt;.NET loads the assemblies in a structured manner.CLR is responsible to locating and binding assemblies. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 1: Check for the referred assembly upon the name and version.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 2: Check in previous referred assembly &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 3: check in GAC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 4: Code base or probing &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Here the information can over ride the pervious version. Here I am explaining what is happening in each step.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 1: Check referred assembly name and version. &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/Skgwdo851yI/AAAAAAAAAEQ/dxH3IwbUdpM/s1600-h/Find+assemblies.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_dV6Dkc4-Wo8/Skgwdo851yI/AAAAAAAAAEQ/dxH3IwbUdpM/s320/Find+assemblies.bmp" border="0" alt="" id="BLOGGER_PHOTO_ID_5352581442897041186" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list 1.0in"&gt;&lt;span style="font-family:Symbol; mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial"&gt;Check in the application config after the manifest check.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list 1.0in"&gt;&lt;span style="font-family:Symbol; mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial"&gt;Check for publishers policy (when the&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;shared/public assembly has new version).this can be managed&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;by &lt;publisherpolicy=”no”&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list 1.0in"&gt;&lt;span style="font-family:Symbol; mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial"&gt;Check in machine config(manages all .NET files in the machine)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 2:check in previous referred assembly           &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;If CLR uses the same assembly it will take this only. why it is not first step means ,to examine the which version is required. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 3: Check in GAC (global assembly cache) &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;If the assembly is not found in the first two steps it should be a strong name, so it goes to GAC. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;Step 4: code base or probing           &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;This inform to CLR which version is required. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;Code base: codebase is the tag in the application config .CLR checks the defined location only. if the assembly is not there probing has terminated. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;Probing : if the no codebase tag is config.CLR starts probing &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;Subdirectories: search the application sub directories.CLR terminates probing as soon as the assembly is found.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV6Dkc4-Wo8/SkgwTOccVPI/AAAAAAAAAEI/lFjROM6Dc5c/s1600-h/Probing.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_dV6Dkc4-Wo8/SkgwTOccVPI/AAAAAAAAAEI/lFjROM6Dc5c/s320/Probing.bmp" border="0" alt="" id="BLOGGER_PHOTO_ID_5352581263982875890" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;if u have dought mail me anishmarokey@gmail.com&lt;/div&gt;&lt;div&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-3857907049723937765?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/3857907049723937765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=3857907049723937765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3857907049723937765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/3857907049723937765'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/how-clr-locates-and-binds-assemblies.html' title='How CLR Locates and binds assemblies'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_dV6Dkc4-Wo8/Skgwdo851yI/AAAAAAAAAEQ/dxH3IwbUdpM/s72-c/Find+assemblies.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-1045554088881156977</id><published>2009-06-28T20:29:00.000+05:30</published><updated>2009-07-03T19:50:08.723+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Portable executable(PE)</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Portable executable(PE) is a dll or exe file created after the compilation.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Compiling source code architecture for C# is as Shown in figure&lt;/div&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SkeRyqcc12I/AAAAAAAAADg/wRkKefvKZKE/s1600-h/CLR+Architecture.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SkeRyqcc12I/AAAAAAAAADg/wRkKefvKZKE/s320/CLR+Architecture.bmp" border="0" alt="" id="BLOGGER_PHOTO_ID_5352406981726230370" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When you write the code and compiles the code the compiler(in the second block) check the syntax and produce a managed module(PE)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Parts Of PE&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;PE&lt;/span&gt; &lt;span class="Apple-style-span" style="font-weight: normal; "&gt;has mainly four parts&lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;PE Header : indicates the type of file (GUI or .dll) and it also contains time of the file created.Also contains the information of the native CPU code.&lt;/li&gt;&lt;li&gt;CLR Header: Contains the information of version of managed module(PE),some flags,metadata ,the size of the metadata,strong name etc.&lt;/li&gt;&lt;li&gt;Metadata: contains two tables,one contains types(eg:class used) and members defined in the source code and the second table contains members and types reffered by the source code)&lt;/li&gt;&lt;li&gt;Intermediate Source Code(IL) : Compiler produce the compiled source code.the CLR then compiles the IL to native CPU instructions.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;If you want to see the PE data.intermediate language deassembler(ILDASM) helps you to open the PE.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;Open the visual studio command prompt and type ildasm and the PE(.dll or exe)will open the IL DASM from the open you can locate the PE and see how your PE is.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SkeRIv15I_I/AAAAAAAAADY/axBm_b9TUYU/s1600-h/ILDASM.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 274px; height: 320px;" src="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SkeRIv15I_I/AAAAAAAAADY/axBm_b9TUYU/s320/ILDASM.bmp" border="0" alt="" id="BLOGGER_PHOTO_ID_5352406261620614130" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV6Dkc4-Wo8/SkeRIv15I_I/AAAAAAAAADY/axBm_b9TUYU/s1600-h/ILDASM.bmp"&gt;&lt;/a&gt;But you cant able to open the win32 dlls because it doesnot contain the CLR header and it is not created in this manner.so you cannot able to open it&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any dought in this mail me :anishmarokey@gmail.com&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8944354869362723243-1045554088881156977?l=anishmarokey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anishmarokey.blogspot.com/feeds/1045554088881156977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8944354869362723243&amp;postID=1045554088881156977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1045554088881156977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8944354869362723243/posts/default/1045554088881156977'/><link rel='alternate' type='text/html' href='http://anishmarokey.blogspot.com/2009/06/portable-executablepe.html' title='Portable executable(PE)'/><author><name>Anish</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dV6Dkc4-Wo8/SkeRyqcc12I/AAAAAAAAADg/wRkKefvKZKE/s72-c/CLR+Architecture.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8944354869362723243.post-6592228612440720824</id><published>2009-06-27T12:56:00.001+05:30</published><updated>2009-09-08T16:39:14.833+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>What is Execution plan? in sql server 2005</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Some of the times your proc is running slow. Because you are not looked into the execution plan.Here i explain how the execution plan is created. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Execution plan: Result of an query optimizer(that calculate the most efficient way to implement the T-sql query you submitted).By looking into this u can find out what is the problem in your query, if there is any problem. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;What happens when a query is submitted? &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;The Query split into two stages &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:57.75pt;text-indent:-21.75pt;mso-list: l1 level1 lfo1;tab-stops:list 57.75pt"&gt;&lt;span class="apple-style-span"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;1)&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Processes that occur in relational engine.&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:57.75pt;text-indent:-21.75pt;mso-list: l1 level1 lfo1;tab-stops:list 57.75pt"&gt;&lt;span class="apple-style-span"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;2)&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Process that occur in Storage Engine. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Relational Engine &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Relational engine parse the query and processed by query optimizer and produce an Execution plan. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Storage Engine&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;The result produce from the execution plan is sent(is a binary data) to storage engine, where data are stored and do operations like (locking, indexing transactions etc occur). &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Execution plan&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Execution plan is happens in relational Engine. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;The following steps are happened in relational engine to produce the Execution plan. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;a) &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Query parsing&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Process: Checks the syntax&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Output: Parse tree or query tree or process tree &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Note: the parse tree contain the logical steps to the necessary operations for query. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;If T-Sql is not a DML. So there are no opportunities to improve the performance. if T-sql is a DML So the parse tree is passing through the algebrizer.&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;DML: which helps developers to retrieve, insert, delete and update data in database. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Algebrizer&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;: (process in query parsing) &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Process: Resolves various name object, tables and columns. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Note: identify the each column fields (e.g.: varchar (200), int etc).It also determines the location of aggregate (group by and max etc) in the query and the process is called aggregate binding. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Algebrizer output: binary tree called query processor tree, which passed on to query optimizer. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;b) &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Query optimizer&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Which is an essential process model and says which relational engine works. Based on query processor tree and relational engine it produces the execution plan. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Cost based plan&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;This steps analyze which joins are used. Which calculate the cost of the execution plan, in terms of CPU.&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;In this step the optimizer plans which is the best plan to reduce the execution time.based on the cpu and i/o it produces the new query. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Trivial plan&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:9pt;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;If you submit a very simple query – for example, a single table with no indexes and with no aggregates or calculations within the query – then rather than spend time trying to calculate the absolute optimal plan, the optimizer will simply apply a single,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-size:9pt;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;b&gt;&lt;span style="font-size:9pt;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;trivial plan&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;b&gt;&lt;span style="font-size:9pt;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size:9pt;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;to these types of queries&lt;/span&gt;&lt;span class="Apple-style-span"  style=" font-weight: bold; font-size:16px;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Non Trivial plan &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;If it is a non trivial plan it performs cost ba
