<?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-536905717044708235</id><updated>2012-01-24T06:20:00.080-08:00</updated><title type='text'>sundar</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-7726309237354410678</id><published>2010-05-06T00:12:00.000-07:00</published><updated>2010-05-06T00:16:29.580-07:00</updated><title type='text'>call javascript Function in Page load event in ASP.Net</title><content type='html'>&lt;p&gt;Try adding this to your HTML after the controls are declared.&lt;/p&gt; &lt;p&gt;&lt;script type="text/JavaScript"&gt;&lt;br /&gt;&lt;!-- window.onload =  function () {  // Your code goes here... }; // --&gt;&lt;br /&gt;&lt;/script&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-7726309237354410678?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/7726309237354410678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=7726309237354410678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7726309237354410678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7726309237354410678'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/05/call-javascript-function-in-page-load.html' title='call javascript Function in Page load event in ASP.Net'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-3726399939440347130</id><published>2010-03-11T11:08:00.000-08:00</published><updated>2010-03-11T11:09:06.690-08:00</updated><title type='text'>struct and a class</title><content type='html'>Here are just some of the differences between a struct and a class:&lt;br /&gt;&lt;br /&gt;    * Classes are reference types and structs are value types. Since classes are reference type, a class variable can be assigned null, but we cannot assign null to a struct variable, since structs are value type.&lt;br /&gt;    * You will always be dealing with reference to an object ( instance ) of a class. But you will not be dealing with references to an instance of a struct, you will be dealing directly with struct&lt;br /&gt;    * Classes must be instantiated using the new operator, but structs can be instantiated without using the new operator.&lt;br /&gt;    * Classes support inheritance.But there is no inheritance for structs, (structs don't support inheritance polymorphism )&lt;br /&gt;    * It is not mandatory to initialize all Fields inside the constructor of a class. But all the Fields of a struct must be fully initialized inside the constructor.&lt;br /&gt;    * structs object is allocated in the stack, and the class object is allocated in the heap.&lt;br /&gt;&lt;br /&gt;Class are usually for large amounts of data, whereas structs are smaller, and often used when you want to group similar data together. Use a class when object identity is more important than value. Use a struct when the value contained by an instance is more important than instance identity.&lt;br /&gt;&lt;br /&gt;Struct variables directly contain their values, so when you pass a struct instance as a parameter, it can be more expensive than passing an instance of a reference type, due to&lt;br /&gt;the copying costs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-3726399939440347130?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/3726399939440347130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=3726399939440347130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3726399939440347130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3726399939440347130'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/03/struct-and-class.html' title='struct and a class'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-1353133075043616562</id><published>2010-03-05T05:15:00.000-08:00</published><updated>2010-03-05T05:28:31.595-08:00</updated><title type='text'>Char Vs Varchar</title><content type='html'>The char is a fixed-length[&lt;span style="font-weight:bold;"&gt;Storage Size&lt;/span&gt;] character data type, the varchar is a variable-length character data type.&lt;br /&gt;&lt;br /&gt;Because char is a fixed-length data type, the storage size of the char value is equal to the maximum size for this column. Because varchar is a variable-length data type, the storage size of the varchar value is the actual length of the data entered, not the maximum size for this column.&lt;br /&gt;&lt;br /&gt;You can use char when the data entries in a column are expected to be the same size.&lt;br /&gt;You can use varchar when the data entries in a column are expected to vary considerably in size.&lt;br /&gt;&lt;br /&gt;1. &lt;span style="font-weight:bold;"&gt;Storage wise&lt;/span&gt;: char columns have fixed length. If the user supplied value for the column is less than the fixed length defined in the schema, the column is padded with 0 at end to make the total length fixed. varchar doesn't have a fixed length thus no padding is needed. But as the result varchar columns have to store the size of the data together with the column&lt;br /&gt;data, which takes an extra 2 bytes per varchar column.&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight:bold;"&gt;Performance wise&lt;/span&gt; locating char is a little faster than varchar. Since char columns have fixed length, they are stored in fixed location in a row. This means locating a char column can directly jump to the fixed location in a row to read. For varchar column since the size of the data is variable, they can't be stored in fixed location in a row and rather there is some kind of lookup table in the row format to store the location of each varchar column. This means locating a varchar column has to lookup the location of the column in the lookup table stored in the row first before jumping to the location to read. Referencing the lokup table introduces some perofrmance overhead, especially ifthe lookup table reference causes cache line miss.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-1353133075043616562?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/1353133075043616562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=1353133075043616562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1353133075043616562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1353133075043616562'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/03/char-vs-varchar.html' title='Char Vs Varchar'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-1221042273836007536</id><published>2010-02-26T09:57:00.000-08:00</published><updated>2010-02-26T10:03:39.632-08:00</updated><title type='text'>Caching in ASP.NET</title><content type='html'>&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:Verdana; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:536871559 0 0 0 415 0;}  /* 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";} h2 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:2; 	font-size:18.0pt; 	font-family:"Times New Roman"; 	font-weight:bold;} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline; 	text-underline:single;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} code 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} pre 	{margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; 	font-size:10.0pt; 	font-family:"Courier New"; 	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;}  /* List Definitions */  @list l0 	{mso-list-id:2124297710; 	mso-list-template-ids:1671225748;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&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;h2&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;I have no clue who first thought of it, but caching is a great idea. You just use a small amount of something fast to make something slow seem much faster then it really is! It's done by motherboards, hard drives, operating systems, and in some form or another by almost everything where speed is important. That's why it was so upsetting that classic ASP had so little support for caching. The web server would do some caching of scripts on it's own, but it was pretty rudimentary and you had very little say in it what got cached and for how long. There are some third party alternatives and some scripts to enable caching in ASP (see the related links below), but they all have their problems. ASP.NET fixes this by including some first-rate caching support built right into the platform. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;The Types of Caching in ASP.NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;ASP.NET supports three types of caching: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Output      Caching:&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt; Caches the output from an entire page      and returns it for future requests instead of re-executing the requested      page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Fragment      Caching:&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt; Caches just a part of a page which      can then be reused even while other parts of the page are being      dynamically generated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Data      Caching:&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt; Programmatically caches arbitrary      objects for later reuse without re-incurring the overhead of creating      them.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Which type of caching you decide to use obviously depends on your situation, but I'll briefly cover them all so you can make an informed decision. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Output Caching&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Output caching is the simplest of the caching options offered by ASP.NET. It is useful when an entire page can be cached as a whole and is analogous to most of the caching solutions that were available under classic ASP. It takes a dynamically generated page and stores the HTML result right before it is sent to the client. Then it reuses this HTML for future requests bypassing the execution of the original code. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Telling ASP.NET to cache a page is extremely simple. You simply add the &lt;code&gt;&lt;span style="font-family: Verdana;"&gt;OutputCache&lt;/span&gt;&lt;/code&gt; directive to the page you wish to cache. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;%@ OutputCache Duration="30" VaryByParam="none" %&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;The resulting caching is similar to the caching done by browsers and proxy servers, but does have one extremely important difference... you can tell a page which parameters to the page will have an effect on the output and the caching engine will cache separate versions based on the parameters you specify. This is done using the &lt;code&gt;&lt;span style="font-family: Verdana;"&gt;VaryByParam&lt;/span&gt;&lt;/code&gt; attribute of the &lt;code&gt;&lt;span style="font-family: Verdana;"&gt;OutputCache&lt;/span&gt;&lt;/code&gt; directive. The code listing below&lt;span style=""&gt;  &lt;/span&gt;illustrates a very simple example of output caching. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="background: white none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" border="1" cellpadding="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0.75pt;"&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;%@ Page Language="VB" %&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;%@ OutputCache Duration="30" VaryByParam="test" %&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;html&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;body bgcolor="#FFFFFF"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;This page was generated at: &lt;strong&gt;&lt;%= Now() %&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/body&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/html&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;This piece of code will cache the result for 30 seconds. During that time, responses for all requests for the page will be served from the cache. It also specifies that the caching should vary by the parameter "test". As such, the page will cache a different version for each value of "test" that it is passed and will return the appropriate version based on the value of "test" in the incoming requests. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Fragment Caching&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Sometimes it's not possible to cache an entire page. For example, many shopping sites like to greet their users by name. It wouldn't look very good if you went to a site and instead of using your name to greet you it used mine! In the past this often meant that caching wasn't a viable option for these pages. ASP.NET handles this by what they call fragment caching. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Honestly, I find this a little misleading... while you can technically cache part of a page, in order to do so you need to make the section to be cached into a user control and set the &lt;code&gt;&lt;span style="font-family: Verdana;"&gt;OutputCache&lt;/span&gt;&lt;/code&gt; directive in the new user control. Then you use this control from your dynamic page. The solution works well, but in my mind I think of it as caching a separate mini-page and not really a fragment of a page. I guess it's just semantics, but it is a separate file so it can be a little bit of work to implement. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;The caching part is very similar to the code above. Aside from making the section a user control and then using the user control (which we covered in our &lt;a href="http://www.asp101.com/lessons/usercontrols.asp"&gt;User Controls&lt;/a&gt; lesson) it's pretty boring. There's a sample in the zip file, but I'm not including the code here. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Data Caching&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;This is the most powerful of the caching options available in ASP.NET. Using data caching you can programmatically cache anything you want for as long as you want. The caching system exposes itself in a dictionary type format meaning items are stored in name/value pairs. You cache an item under a certain name and then when you request that name you get the item back. It's similar to an array or even a simple variable. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;In addition to just placing an object into the cache you can set all sorts of properties. The object can be set to expire at a fixed time and date, after a period of inactivity, or when a file or other object in the cache is changed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;The main thing to watch out for with data caching is that items you place in the cache are &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;not&lt;/span&gt;&lt;/strong&gt; guaranteed to be there when you want them back. While it does add some work (you always have to check your object exists after you retrieve it), this scavenging really is a good thing. It gives the caching engine the flexibility to dispose of things that aren't being used or dump parts of the cache if the system starts running out of memory. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="background: white none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" border="1" cellpadding="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0.75pt;"&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;%@ Page Language="VB" %&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;script runat="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;    &lt;/span&gt;Sub Page_Load(Sender As Object, E As EventArgs)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;Dim strTimestamp As String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;' Retrieve our object&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;strTimestamp = Cache.Get("SomeData")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;' Check to see if we got our object back or not.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;' If not, deal with it:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;If strTimestamp Is Nothing Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;          &lt;/span&gt;' Assign a value to our object&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;            &lt;/span&gt;strTimestamp = Now()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;            &lt;/span&gt;' Insert into cache:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;            &lt;/span&gt;Cache.Insert("SomeData", strTimestamp, Nothing, _&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;                &lt;/span&gt;DateTime.Now.AddMinutes(.5), TimeSpan.Zero)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;End If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;        &lt;/span&gt;lblTimestamp.Text = strTimestamp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style=""&gt;    &lt;/span&gt;End Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/script&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;html&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;body bgcolor="#FFFFFF"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;This page was generated at: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;strong&gt;&lt;asp:label id="lblTimestamp" runat="server"&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/body&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;/html&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-1221042273836007536?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/1221042273836007536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=1221042273836007536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1221042273836007536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1221042273836007536'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/02/caching-in-aspnet.html' title='Caching in ASP.NET'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-377243502558121429</id><published>2010-02-19T01:53:00.000-08:00</published><updated>2010-02-19T01:57:10.446-08:00</updated><title type='text'>SQL injection</title><content type='html'>&lt;span style="font-family: verdana;font-size:85%;" &gt;&lt;span style="font-weight: bold;"&gt;Constrain input. &lt;/span&gt;&lt;br /&gt;We should validate all input to your ASP.NET applications for type, length, format, and range. By constraining the input used in your data access queries; you can protect your application from SQL injection.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-weight: bold;"&gt;Constrain Input in ASP.NET Web Pages&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-weight: bold;"&gt;Constrain Input in Data Access Code&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Use parameters with stored procedures.&lt;/span&gt;&lt;br /&gt;Using stored procedures does not necessarily prevent SQL injection. The important thing to do is use parameters with stored procedures. If you do not use parameters.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Use parameters with dynamic SQL. &lt;/span&gt;&lt;br /&gt;If you cannot use stored procedures, you should still use parameters when constructing dynamic SQL statements. The following code shows how to use SqlParametersCollection with dynamic SQL..&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/536905717044708235-377243502558121429?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/377243502558121429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=377243502558121429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/377243502558121429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/377243502558121429'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/02/sql-injection.html' title='SQL injection'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-2846215465096561041</id><published>2010-02-04T22:00:00.000-08:00</published><updated>2010-02-04T22:02:24.757-08:00</updated><title type='text'>AutoEventWireup attribute in ASP.NET</title><content type='html'>&lt;p  align="left" style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;AutoEventWireup attribute in ASP.NET&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;%&lt;span style="color:blue;"&gt;@&lt;/span&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;Page&lt;/span&gt; &lt;span style="color:red;"&gt;Language&lt;/span&gt;&lt;span style="color:blue;"&gt;="C#"&lt;/span&gt; &lt;span style="color:red;"&gt;AutoEventWireup&lt;/span&gt;&lt;span style="color:blue;"&gt;="true"&lt;/span&gt; &lt;span style="color:red;"&gt;CodeFile&lt;/span&gt;&lt;span style="color:blue;"&gt;="Default.aspx.cs"&lt;/span&gt; &lt;span style="color:red;"&gt;Inherits&lt;/span&gt;&lt;span style="color:blue;"&gt;="_Default"&lt;/span&gt; %&gt;&lt;br /&gt;&lt;br /&gt;The ASP.NET page framework supports an automatic way to associate page events and methods. If the AutoEventWireup attribute of the Page directive is set to true, the page framework calls page events automatically, specifically the Page_Init and Page_Load methods. In that case, no explicit Handles clause or delegate is needed.&lt;/span&gt;  &lt;/span&gt;&lt;/p&gt;&lt;ul  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;li&gt; &lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;AutoEventWireup is an attribute in Page directive. &lt;/span&gt; &lt;/div&gt; &lt;/li&gt;&lt;li&gt; &lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;AutoEventWireup is a Boolean attribute that indicates whether the ASP.NET pages events are auto-wired.&lt;/span&gt; &lt;/div&gt; &lt;/li&gt;&lt;li&gt; &lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;AutoEventWireup will have a value true or false. By default it is true.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;p  align="left" style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;There is no event or method associated with Page_Load. Those events whose inline event is not there but that should be executed, for that purposed AutoEventWireup="true".&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Disadvantages of AutoEventWireup attribute&lt;/b&gt;&lt;/span&gt;  &lt;/span&gt;&lt;/p&gt;&lt;ul  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;li&gt; &lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;AutoEventWireup uses fixed naming convention for the events. Page events handlers have specific predictable names. This limits your flexibility in how you name event handlers.&lt;/span&gt; &lt;/div&gt; &lt;/li&gt;&lt;li&gt; &lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;If you do set AutoEventWireup to true, Visual Studio will generate code to bind the events and the page framework will automatically call events based on their names. This can result in the same event code being called twice when the page runs. As a consequence, you should always leave AutoEventWireup set to false when working in Visual Studio.&lt;/span&gt; &lt;/div&gt; &lt;/li&gt;&lt;li&gt; &lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;Another disadvantage is that performance is adversely affected, because ASP.NET searches for methods at run-time. For a Web site with high traffic volumes, the impact on performance could be significant.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;p  align="left" style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;AutoEventWireup="true" target is for page events only. In case of AutoEventWireup method are not case sensitive. (Page_Load or page_load both will work).&lt;br /&gt;&lt;br /&gt;If AutoEventWireup="false" but still you want to executed Page event (Page_Load). In this you have to explicitly code for it.&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-size:10;color:blue;"  &gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);font-size:10;" &gt;form&lt;/span&gt;&lt;span style="font-size:10;"&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="form1"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&lt;/span&gt; &lt;span style="color:red;"&gt;onload&lt;/span&gt;&lt;span style="color:blue;"&gt;="Page_Load"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I hope that this article would have helped you in understanding AutoEventWireup attribute in ASP.NET. Please share it if you know more about this attribute. Your feedback and constructive contributions are welcome.&lt;/span&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/536905717044708235-2846215465096561041?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/2846215465096561041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=2846215465096561041' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/2846215465096561041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/2846215465096561041'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/02/autoeventwireup-attribute-in-aspnet.html' title='AutoEventWireup attribute in ASP.NET'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-4712604069515782105</id><published>2010-02-02T22:53:00.000-08:00</published><updated>2010-02-02T22:55:27.127-08:00</updated><title type='text'>Difference between user defined function and stored procedure</title><content type='html'>&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:%5CDOCUME%7E1%5Csundaram%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"&gt;&lt;/o:smarttagtype&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;!--[if !mso]&gt;&lt;object classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id="ieooui"&gt;&lt;/object&gt; &lt;style&gt; st1\:*{behavior:url(#ieooui) } &lt;/style&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";} h5 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:5; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} code 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} pre 	{margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; 	font-size:10.0pt; 	font-family:"Courier New"; 	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;h5&gt;Advantages of User Defined Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;Before SQL 2000, User Defined Functions (UDFs), were not available. Stored Procedures were often used in their place. When advantages or disadvantages of User Defined Functions are discussed, the comparison is usually to Stored Procedures. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;One of the advantages of User Defined Functions over Stored Procedures, is the fact that a UDF can be used in a Select, Where, or Case statement. They also can be used to create joins. In addition, User Defined Functions are simpler to invoke than Stored Procedures from inside another SQL statement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;h5&gt;Disadvantages of User Defined Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;User Defined Functions cannot be used to modify base table information. The DML statements INSERT, UPDATE, and DELETE cannot be used on base tables. Another disadvantage is that SQL functions that return non-deterministic values are not allowed to be called from inside User Defined Functions. GETDATE is an example of a non-deterministic function. Every time the function is called, a different value is returned. Therefore, GETDATE cannot be called from inside a UDF you create.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;h5&gt;Types of User Defined Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;There are three different types of User Defined Functions. Each type refers to the data being returned by the function. Scalar functions return a single value. In Line Table functions return a single table variable that was created by a select statement. The final UDF is a Multi-statement Table Function. This function returns a table variable whose structure was created by hand, similar to a Create Table statement. It is useful when complex data manipulation inside the function is required.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;h5&gt;Scalar UDFs&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;Our first User Defined Function will accept a date time, and return only the date portion. Scalar functions return a value. From inside Query Analyzer, enter: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;CREATE FUNCTION&lt;/span&gt; dbo.DateOnly(@InDateTime datetime)&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;RETURNS&lt;/span&gt; &lt;span style="color:blue;"&gt;varchar(10)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;AS&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;DECLARE&lt;/span&gt; @MyOutput &lt;span style="color:blue;"&gt;varchar(10)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;SET&lt;/span&gt; @MyOutput = &lt;span style="color:blue;"&gt;CONVERT&lt;/span&gt;(&lt;span style="color:blue;"&gt;varchar(10)&lt;/span&gt;,@InDateTime,101)&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;RETURN&lt;/span&gt; @MyOutput&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;END&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p&gt;To call our function, execute: &lt;code&gt;&lt;span style=";font-size:10;color:blue;"  &gt;SELECT&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span style="font-size:10;"&gt; dbo.DateOnly(&lt;span style="color:blue;"&gt;GETDATE()&lt;/span&gt;)&lt;/span&gt;&lt;/code&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Notice the User Defined Function must be prefaced with the owner name, DBO in this case. In addition, GETDATE can be used as the input parameter, but could not be used inside the function itself. Other built in SQL functions that cannot be used inside a User Defined Function include: &lt;st1:place st="on"&gt;RAND&lt;/st1:place&gt;, NEWID, @@CONNCECTIONS, @@TIMETICKS, and @@PACK_SENT. Any built in function that is non-deterministic. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;The statement begins by supplying a function name and input parameter list. In this case, a date time value will be passed in. The next line defines the type of data the UDF will return. Between the BEGIN and END block is the statement code. Declaring the output variable was for clarity only. This function should be shortened to: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;CREATE FUNCTION&lt;/span&gt; testDateOnly(@InDateTime datetime)&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;RETURNS&lt;/span&gt; &lt;span style="color:blue;"&gt;varchar(10)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;AS&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;RETURN CONVERT(varchar(10)&lt;/span&gt;,@InDateTime,101)   &lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;END&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;h5&gt;Inline Table UDFs&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;These User Defined Functions return a table variable that was created by a single select statement. Almost like a simply constructed non-updatable view, but having the benefit of accepting input parameters. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;This next function looks all the employees in the pubs database that start with a letter that is passed in as a parameter. In Query Analyzer, enter and run: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;USE&lt;/span&gt; pubs&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;GO&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;CREATE&lt;/span&gt; &lt;span style="color:blue;"&gt;FUNCTION&lt;/span&gt; dbo.LookByFName(@FirstLetter char(1))&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;RETURNS&lt;/span&gt; &lt;span style="color:blue;"&gt;TABLE&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;AS&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;RETURN&lt;/span&gt; &lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; *&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;FROM&lt;/span&gt; employee&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;WHERE LEFT&lt;/span&gt;(fname, 1) =  @FirstLetter&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p&gt;To use the new function, enter: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; * &lt;span style="color:blue;"&gt;FROM&lt;/span&gt; dbo.LookByFName('A')&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p&gt;All the rows having a first name starting with A were returned. The return is a Table Variable, not to be confused with a temporary table. Table variables are new in SQL 2000. They are a special data type whose scope is limited to the process that declared it. Table variables are stated to have performance benefits over temporary tables. None of my personal testing has found this result though. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;h5&gt;Multi Statement UDFs&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;Multi Statement User Defined Functions are very similar to Stored Procedures. They both allow complex logic to take place inside the function. There are a number of restrictions unique to functions though. The Multi Statement UDF will always return a table variable–and only one table variable. There is no way to return multiple result sets. In addition, a User Defined Function cannot call a Stored Procedure from inside itself. They also cannot execute dynamic SQL. Remember also, that UDFs cannot use non-deterministic built in functions. So GETDATE and RAND cannot be used. Error handling is restricted. RAISERROR and @@ERROR are invalid from inside User Defined Functions. Like other programming languages, the purpose of a User Defined Function is to create a stand-alone code module to be reused over and over by the global application. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;For a Multi Statement test, we will create a modified version of the LookByFName function. This new function will accept the same input parameter. But rather than return a table from a simple select, a specific table will be created, and data in it will be manipulated prior to the return: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;CREATE FUNCTION&lt;/span&gt; dbo.multi_test(@FirstLetter char(1))&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;RETURNS&lt;/span&gt; @Result &lt;span style="color:blue;"&gt;TABLE&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        (&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        fname &lt;span style="color:blue;"&gt;varchar(20)&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        hire_date &lt;span style="color:blue;"&gt;datetime&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        on_probation &lt;span style="color:blue;"&gt;char(1)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        )&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;AS&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;INSERT INTO&lt;/span&gt; @Result&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;               (fname, hire_date)&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;               &lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; fname, hire_date&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;               &lt;span style="color:blue;"&gt;FROM&lt;/span&gt; employee&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;               &lt;span style="color:blue;"&gt;WHERE LEFT&lt;/span&gt;(fname, 1) =  @FirstLetter&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;UPDATE&lt;/span&gt; @Result&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;SET&lt;/span&gt; on_probation = 'N'&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;UPDATE&lt;/span&gt; @Result&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;SET&lt;/span&gt; on_probation = 'Y'&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;WHERE&lt;/span&gt; hire_date &lt; '01/01/1991'&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span style="color:blue;"&gt;RETURN&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;END&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p&gt;To use the new function, execute: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; * &lt;span style="color:blue;"&gt;FROM&lt;/span&gt; dbo.multi_test('A')&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p&gt;With the new Multi Statement Function, we can manipulate data like a Stored Procedure, but use it in statement areas like a View. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;For example, only specific columns can be returned. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; fname &lt;span style="color:blue;"&gt;FROM&lt;/span&gt; dbo.multi_test('A')&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p&gt;The function can also be joined like a view: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; e.lname, f.fname&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;FROM&lt;/span&gt; employee e &lt;span style="color:blue;"&gt;INNER JOIN&lt;/span&gt; dbo.multi_test('A') f &lt;span style="color:blue;"&gt;ON &lt;/span&gt;e.fname = f.fname&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;h5&gt;Conclusion&lt;o:p&gt;&lt;/o:p&gt;&lt;/h5&gt;  &lt;p&gt;User Defined Functions offer an excellent way to work with code snippets. The main requirement is that the function be self-contained. Not being able to use non-deterministic built in functions is a problem, but if it can be worked around, UDFs will provide you with a programming plus. &lt;o:p&gt;&lt;/o:p&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/536905717044708235-4712604069515782105?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/4712604069515782105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=4712604069515782105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/4712604069515782105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/4712604069515782105'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2010/02/difference-between-user-defined.html' title='Difference between user defined function and stored procedure'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-4255094073801545012</id><published>2009-12-18T12:06:00.000-08:00</published><updated>2009-12-18T12:13:42.863-08:00</updated><title type='text'>Example for Interface and Abstract class</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Example for Interface : &lt;/span&gt;&lt;br /&gt;Code:&lt;br /&gt;public interface IVehicle&lt;br /&gt;{&lt;br /&gt; void Start();&lt;br /&gt; void Drive();&lt;br /&gt; void Park();&lt;br /&gt; void ChangeGear(int gear);&lt;br /&gt; void SwitchOff();&lt;br /&gt;}&lt;br /&gt;public class Vehicle : IVehicle&lt;br /&gt;{&lt;br /&gt; public void Start()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The vehicle has been started");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void Drive()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The vehicle is being driven");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void Park()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The vehicle is being parked");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void ChangeGear(int gear)&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("Gear changed to " + gear.ToString());&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void SwitchOff()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The vehicle has been switched off");&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Example for Abstract class :&lt;br /&gt;Code:&lt;br /&gt;public abstract class Vehicle&lt;br /&gt;{&lt;br /&gt; public void Start()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The vehicle has been started");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public abstract void Drive();&lt;br /&gt; public abstract void Park();&lt;br /&gt; public abstract void ChangeGear(int gear);&lt;br /&gt;&lt;br /&gt; public void SwitchOff()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The vehicle has been switched off");&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class Car : Vehicle&lt;br /&gt;{&lt;br /&gt; public Car()&lt;br /&gt; {&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public override void Drive()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The car is being driven");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public override void Park()&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The car is being parked");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public override void ChangeGear(int gear)&lt;br /&gt; {&lt;br /&gt;   Console.WriteLine("The car changed gear changed to " + gear.ToString());&lt;br /&gt; }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-4255094073801545012?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/4255094073801545012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=4255094073801545012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/4255094073801545012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/4255094073801545012'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/12/example-for-interface-and-abstract.html' title='Example for Interface and Abstract class'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-3088903823134858351</id><published>2009-12-13T22:53:00.000-08:00</published><updated>2009-12-13T23:02:17.124-08:00</updated><title type='text'>Left Outer join with Having in SQL Server</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_sOmQMw9w1OY/SyXi3H9vwSI/AAAAAAAAAKY/LKO-XP1k_GU/s1600-h/2.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 267px; height: 320px;" src="http://3.bp.blogspot.com/_sOmQMw9w1OY/SyXi3H9vwSI/AAAAAAAAAKY/LKO-XP1k_GU/s320/2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5414983563641602338" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select p.[ProductName],count(po.ProductID)&lt;br /&gt;from Products as p Left Outer join &lt;br /&gt; Productorder po  on p.ProductID=po.productID &lt;br /&gt;GROUP By p.[ProductName],po.ProductID &lt;br /&gt;HAVING (count(po.ProductID) &gt; 0)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-3088903823134858351?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/3088903823134858351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=3088903823134858351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3088903823134858351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3088903823134858351'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/12/left-outer-join-with-having-in-sql.html' title='Left Outer join with Having in SQL Server'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_sOmQMw9w1OY/SyXi3H9vwSI/AAAAAAAAAKY/LKO-XP1k_GU/s72-c/2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-1205642547219939244</id><published>2009-12-08T09:27:00.000-08:00</published><updated>2009-12-08T09:48:02.887-08:00</updated><title type='text'>Personal Interview Questions</title><content type='html'>&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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;b&gt;"Tell me a little about yourself."&lt;/b&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;When responding to this request, you should focus on both your personal and professional values. Always be honest, but talk about your best traits only, especially those that relate to the position for which you are applying. Highlight experiences and accomplishments you are most proud of. Here's an example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;"I'm an experienced communications specialist with extensive knowledge of public information tools and techniques. I've developed comprehensive communication plans for major public events, written dozens of articles accepted by worldwide publications, and created specialized educational programs for adults and students. I am always eager to learn new methods and procedures, and have implemented continuous improvement techniques in my past positions that saved money and increased productivity. I like working with people and enjoy group projects, but am also a self-starter who doesn't mind working on my own. I'm a volunteer with the local chapter of Special Olympics and enjoy participating in community events. My goals are to complete my Master's Degree and broaden my experiences with community relations." &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Remember to tailor your response to the specific job. By studying the job announcement, you'll get a good idea of the skills and experience being sought. Work those into your response. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Consider this your own personal commercial. If the interview consisted of only this ONE chance to sell yourself, what would you say?&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"What do you feel has been your greatest work-related accomplishment?"&lt;/b&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Choose one example from your past that was important to you and helped the company you worked for. Give specific details about what you did, how you did it, and what the results were. Try to pick an accomplishment that relates to the position for which you are applying. Employers like to hear about accomplishments that reduced expenses, raised revenues, solved problems or enhanced a company's reputation&lt;/span&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"What is your greatest strength?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;This is a great chance to highlight your best skills. Don't pick just one, focus on your top three or four. Some examples are: leadership skills, team-building skills, and organizational skills. Determine which strengths would fit best with the position for which you are applying. For example, if the job announcement stresses the ability to handle multiple tasks, you could say: "I'm good at organizational skills, prioritization and time management. But my greatest strength is my ability to effectively handle multiple projects and deadlines.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"What is your greatest weakness?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Be careful with this one. Most interview guides will tell you to answer it with a positive trait disguised as a weakness. For example, "I tend to expect others to work as hard as I do," or "I'm a bit of a perfectionist." Interviewers have heard these "canned" answers over and over again. To stand out, be more original and state a true weakness, but then emphasize what you've done to overcome it. For example: "I've had trouble delegating duties to others because I felt I could do things better myself. This has sometimes backfired because I'd end up with more than I could handle and the quality of my work would suffer. But I've taken courses in time management and learned effective delegation techniques, and I feel I've overcome this weakness."&lt;br /&gt;&lt;br /&gt;&lt;b&gt;IMPORTANT:&lt;/b&gt; Be sure the weakness you talk about is NOT a key element of the position!&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"How do you handle stressful situations?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Give some examples of stressful situations you've dealt with in the past. Tell how you use time management, problem-solving or decision-making skills to reduce stress. For example, tell them that making a "to-do" list helps. Site stress-reducing techniques such as stretching and taking a break. Don't be afaid to admit that you will ask for assistance if you are feeling overwhelmed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;If it's true, say you actually work better under pressure. &lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"What is the toughest problem you've had to face, and how did you overcome it?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Try to make this about a problem that faced your company and not just you or your particular work group. The bigger the problem, the better. Give specific examples of the skills and techniques you used to resolve this problem. Emphasize the successful results. Be generous in sharing credit if it was a team effort, but be sure to highlight your specific role.&lt;br /&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"Have you ever had to discipline a problem employee? If so, how did you handle it?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;This is a likely question if the position for which you are applying requires supervisory duties. Explain how you used problem-solving skills, listening skills, and coaching skills to help the employee. If those techniques turned the employee around, be sure to say so. If those techniques failed, tell how you &lt;b&gt;followed the company's policies&lt;/b&gt; and what the end result was.&lt;br /&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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&gt;&lt;b&gt;"Why do you want this position?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Here's where your research about the company will help you stand out among the other candidates. Explain how you've always wanted the opportunity to work with a company that... provides a vital public service, leads the industry in innovative products, whatever... find &lt;u&gt;something specific about that company&lt;/u&gt; that you can tie in with your answer. Explain how your qualifications and goals complement the company's mission, vision and values (use specific examples). If you are applying for a position in a company for which you already work, explain how you'll be able to apply and expand on the knowledge and experience you've gained from your current position, and will be able to increase your contributions and value to the company through your new responsibilities. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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;b&gt;"Why are you the best person for this job?"&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;As with all other questions, be confident and enthusiastic when you answer this. Don't try to say you are the best qualified person, because you don't know the qualifications of the other applicants. Instead, emphasize several reasons why you should be hired. For example: "I've got extensive experience in [name the appropriate field] and have the specific skills you are looking for. I'm a fast learner who adapts quickly to change and will hit the ground running. I'm dedicated and enthusiastic about helping your company meet its goals, and will provide top-quality results with minimal oversite. I'm an outstanding performer who takes pride in my work. You won't have any regrets when you hire me."&lt;br /&gt;&lt;/p&gt;&lt;p&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:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	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;b&gt;QUESTIONS YOU SHOULD ASK&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;  &lt;/p&gt;&lt;p&gt;Often the interviewer's last question is, "Do you have any questions for me?" Candidates who do not have questions show a lack of initiative and give the impression that they have minimal interest in the position. Stand out from those lazy job seekers by asking questions! &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Have your questions ready in advance. Relate them to the company or its accomplishments/challenges (your research of the company will show and further impress the interviewer). Don't ask any question that shows that you have &lt;b&gt;not&lt;/b&gt; done your research about the company. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Do &lt;b&gt;not&lt;/b&gt; ask questions related to &lt;b&gt;you&lt;/b&gt;, such as "When will I be eligible for my first raise?" or "How often will I be subjected to a performance review?" Don't bring up money. (You can do that after you are offered the job.) &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;In addition to specific questions you develop based on what the company does, here are some sample generic questions: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;What do you enjoy most about working here?&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Be sure the person you ask actually works for the company. Some organizations, especially public agencies, have interview panels in which employees from other agencies participate. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Is there anything I've mentioned that makes you think I'm not the best candidate for this job?&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;If they do mention something that's bothering them about you, such as lack of specific experience, this gives you a last-ditch effort to change their opinion about you. If you've thought about your possible weaknesses in advance, you should have a prepared answer to those weaknesses. For example, "I know I have limited experience in this field, but what I lack in specific experience I make up for in enthusiasm and desire to excel. I'm a fast learner and I'll work harder than anyone else to be a top producer on your team." &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;When do you expect to make your final decision?&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Be sure to ask that!&lt;/span&gt;&lt;/u&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; Failure to do so may give the impression that you're not that interested, and you need to know when to follow up. &lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;  ALL THE BEST dONT Worry Be-HaPPY&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt; &lt;br /&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&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/536905717044708235-1205642547219939244?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/1205642547219939244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=1205642547219939244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1205642547219939244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1205642547219939244'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/12/personal-interview-questions.html' title='Personal Interview Questions'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-1554286640358916936</id><published>2009-12-07T12:27:00.000-08:00</published><updated>2009-12-07T12:29:30.416-08:00</updated><title type='text'>Readonly  vs const</title><content type='html'>&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 style="font-family: verdana; color: rgb(102, 0, 204);" rel="File-List" href="file:///C:%5CDOCUME%7E1%5Csundar%5CLOCALS%7E1%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;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:Verdana; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:536871559 0 0 0 415 0;}  /* 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";} h2 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:2; 	font-size:18.0pt; 	font-family:"Times New Roman"; 	font-weight:bold;} h3 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:3; 	font-size:13.5pt; 	font-family:"Times New Roman"; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} code 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} pre 	{margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; 	font-size:10.0pt; 	font-family:"Courier New"; 	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;}  /* List Definitions */  @list l0 	{mso-list-id:1066957557; 	mso-list-template-ids:-1151577230;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} @list l1 	{mso-list-id:2068718199; 	mso-list-template-ids:1540022306;} @list l1:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} @list l2 	{mso-list-id:2115324641; 	mso-list-template-ids:-1629611208;} @list l2:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&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="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Within a class, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;const&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; and &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; members are special in comparison to the other modifiers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2 style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="const_vs._readonly"&gt;&lt;/a&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;const&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; vs. &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;const&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; and &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; perform a similar function on data members, but they have a few important differences. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="const"&gt;&lt;/a&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;const&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;A constant member is defined at compile time and cannot be changed at &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;runtime&lt;/span&gt;. Constants are declared as a field, using the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;const&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; keyword and must be initialized as they are declared. For example; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;public class &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;MyClass&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;public &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;const&lt;/span&gt; double PI = 3.14159;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;PI&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; cannot be changed in the application anywhere else in the code as this will cause a compiler error. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Constants must be of an integral type (&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;sbyte&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;byte&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;short&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;ushort&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;int&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;uint&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;long&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;ulong&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;char&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;float&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;double&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;decimal&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, or &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;string&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;), an enumeration, or a reference to &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;null&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Since classes or structures are initialized at run time with the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;new&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; keyword, and not at compile time, you can't set a constant to a class or structure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Constants can be marked as &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;public&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;private&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;internal&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, or &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;protected internal&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Constants are accessed as if they were static fields, although they cannot use the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; keyword. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;To use a constant outside of the class that it is declared in, you must fully qualify it using the class name. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="readonly"&gt;&lt;/a&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;A read only member is like a constant in that it represents an unchanging value. The difference is that a &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; member can be initialized at &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;runtime&lt;/span&gt;, in a constructor as well being able to be initialized as they are declared. For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;public class &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;MyClass&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;public &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;readonly&lt;/span&gt; double PI = 3.14159;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;or &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;public class &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;MyClass&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;public &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;readonly&lt;/span&gt; double PI;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;public &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;MyClass&lt;/span&gt;()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;    &lt;/span&gt;PI = 3.14159;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Because a &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; field can be initialized either at the declaration or in a constructor, &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; fields can have different values depending on the constructor used. A &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; field can also be used for &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;runtime&lt;/span&gt; constants as in the following example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;public static &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;readonly&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;uint&lt;/span&gt; l1 = (uint)DateTime.Now.Ticks;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;Notes&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 10pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul style="font-family: verdana; color: rgb(102, 0, 204);" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; members are not implicitly &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;, and therefore the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; keyword can be applied to a &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; field explicitly if      required. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul style="font-family: verdana; color: rgb(102, 0, 204);" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;A &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; member can hold a complex object by using the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;new&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; keyword at initialization. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul style="font-family: verdana; color: rgb(102, 0, 204);" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;readonly&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; members cannot hold enumerations. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2 style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="static"&gt;&lt;/a&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;Use of the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; modifier to declare a &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; member, means that the member is no longer tied to a specific object. This means that the member can be accessed without creating an instance of the class. Only one copy of &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; fields and events exists, and &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; methods and properties can only access &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; fields and &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; events. For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;public class Car&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;public static int &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;NumberOfWheels&lt;/span&gt; = 4;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; modifier can be used with classes, fields, methods, properties, operators, events and constructors, but cannot be used with indexers, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;destructors&lt;/span&gt;, or types other than classes. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; members are initialized before the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; member is accessed for the first time, and before the &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; constructor, if any is called. To access a &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt; class member, use the name of the class instead of a variable name to specify the location of the member. For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana; color: rgb(102, 0, 204);"&gt;&lt;span style="font-size:85%;"&gt;int i = Car.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;NumberOfWheels&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p style="font-family: verdana; color: rgb(102, 0, 204);" class="MsoNormal"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&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/536905717044708235-1554286640358916936?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/1554286640358916936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=1554286640358916936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1554286640358916936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/1554286640358916936'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/12/readonly-vs-const.html' title='Readonly  vs const'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-6556177252344168397</id><published>2009-12-03T09:56:00.000-08:00</published><updated>2009-12-03T09:59:36.526-08:00</updated><title type='text'>General Interview Question</title><content type='html'>&lt;p&gt;Project interview questions&lt;/p&gt; &lt;h4&gt;1. Project skills interview questions&lt;/h4&gt; &lt;p&gt;&lt;span id="more-2295"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;• Tell us about a successful project in which you participated and how you contributed to the success of that project.&lt;/p&gt; &lt;p&gt;• You are given the assignment of project manager and the team members have already been identified. To increase the effectiveness of your project team, what steps will you take?&lt;/p&gt; &lt;p&gt;• Do you understand milestones, interdependencies? Resource allocation?&lt;/p&gt; &lt;p&gt;• Do you know what Project Software the new company uses and is there training for it?&lt;/p&gt; &lt;p&gt;• What is EVM? how will you use it in managing projects?&lt;/p&gt; &lt;p&gt;• What is a project? and what is program?&lt;/p&gt; &lt;p&gt;• What are project selection methods?&lt;/p&gt; &lt;p&gt;• When you are assigned a project, what steps do you take to complete the project?&lt;/p&gt; &lt;p&gt;• As you begin your assignment as a project manager, you quickly realize that the corporate sponsor for the project no longer supports the project. What will you do?&lt;/p&gt; &lt;p&gt;• Your three month project is about to exceed the projected budget after the first month. What steps will you take to address the potential cost overrun?&lt;/p&gt; &lt;p&gt;• Companies have historically looked at technical skills, but more and more business managers are realizing that not have “people” skills tend to cripple projects.&lt;/p&gt; &lt;p&gt;• How many projects you handled in the past? Deadlines met? On time/ within budget? Obstacles you had to overcome?&lt;/p&gt; &lt;p&gt;• Which document will you refer for future decisions?&lt;/p&gt; &lt;p&gt;• How will you define scope?&lt;/p&gt; &lt;p&gt;• Do you inspect or plan for quality ?&lt;/p&gt; &lt;p&gt;• What is the output of scope definition process?&lt;/p&gt; &lt;p&gt;• What is quality management?&lt;/p&gt; &lt;p&gt;• What did you like about the project and dislike about the project?&lt;/p&gt; &lt;p&gt;• What did you learn from the project?&lt;/p&gt; &lt;p&gt;• What are two common but major obstacles for a project like this? What would you do in the face of these obstacles to keep your team on schedule?&lt;/p&gt; &lt;p&gt;• What is project charter? What are the elements in a project charter?&lt;/p&gt; &lt;p&gt;• What experience have you had in project management?&lt;/p&gt; &lt;p&gt;• Name five signs that indicate your project may fail.&lt;/p&gt; &lt;p&gt;• Tell us about a project in which you participated and your role in that project.&lt;/p&gt; &lt;p&gt;• Describe what you did in a difficult project environment to get the job done on time and on budget.&lt;/p&gt; &lt;p&gt;• What actions are required for successful executive sponsorship of a project?&lt;/p&gt; &lt;p&gt;• How did you get your last project?&lt;/p&gt; &lt;p&gt;• What were your specific responsibilities?&lt;/p&gt; &lt;p&gt;• In this field (the field you are interviewing for), what are three critically important things you must do well as a project manager in order for the project to succeed?&lt;/p&gt; &lt;p&gt;• What metrics would you expect to use to determine the on-going success of your project?&lt;/p&gt; &lt;p&gt;• What distinguishes a project from routine operations?&lt;/p&gt; &lt;p&gt;• What are the three constraints on a project?&lt;/p&gt; &lt;p&gt;• What are the five control components of a project?&lt;/p&gt; &lt;p&gt;• What qualifications are required to be an effective project manager?&lt;/p&gt; &lt;p&gt;• Your project is beginning to exceed budget and to fall behind schedule due to almost daily user change orders and increasing conflicts in user requirements. How will you address the user issues?&lt;/p&gt; &lt;p&gt;• You’ve encountered a delay on an early phase of your project. What actions can you take to counter the delay? Which actions will have the most effect on the result?&lt;/p&gt; &lt;p&gt;• What are the necessary steps to successful project management?&lt;/p&gt; &lt;p&gt;• How do you plan for a project?&lt;/p&gt; &lt;p&gt;• What is important to consider when planning a (your type of project)?&lt;/p&gt; &lt;p&gt;• What are things that you have found to be low priority when planning for (your type of project)?&lt;br /&gt;• You have been assigned as the project manager for a team comprised of new employees just out of college and “entry-level” consulting staff. What steps can you take to insure that the project is completed against a very tight time deadline?&lt;/p&gt; &lt;p&gt;• What is a “project milestone”?&lt;/p&gt; &lt;p&gt;• What is “project float”?&lt;/p&gt; &lt;p&gt;• What methods have you used for estimation?&lt;/p&gt; &lt;p&gt;• How would you start a project?&lt;/p&gt; &lt;p&gt;• If you were to deliver a project to a customer, and timely delivery depended upon a sub-supplier, how would you manage the supplier? What contractual agreements would you put in place?&lt;/p&gt; &lt;p&gt;• Which tool would you use to define, manage and control projects?&lt;/p&gt; &lt;p&gt;• What is risk management and how will you plan risk response?&lt;/p&gt; &lt;p&gt;• What are outputs of project closure?&lt;/p&gt; &lt;p&gt;• What are the methods used for project estimation?&lt;/p&gt; &lt;h4&gt;2. Leadership interview questions&lt;/h4&gt; &lt;p&gt;• Tell me how you would react to a situation where there was more than one way to accomplish the same task, and there were very strong feelings by others on each position.&lt;/p&gt; &lt;p&gt;• Consider that you are in a diverse environment, out of your comfort zone. How would you rate your situational leadership style?&lt;/p&gt; &lt;p&gt;• Give me an example of your leadership involvement where teamwork played an important role.&lt;/p&gt; &lt;p&gt;• How do you handle non-productive team members?&lt;/p&gt; &lt;p&gt;• How do you motivate team members who are burned out, or bored?&lt;/p&gt; &lt;p&gt;• How do you handle team members who come to you with their personal problems?&lt;/p&gt; &lt;p&gt;• What are your career goals? How do you see this job affecting your goals?&lt;/p&gt; &lt;p&gt;• Explain how you operate interdepartmentally.&lt;/p&gt; &lt;h4&gt;3. Judgment interview questions&lt;/h4&gt; &lt;p&gt;• What would you do if you found out that a contractor was in a conflict of interest situation?&lt;/p&gt; &lt;p&gt;• If I were to contact your former employee, what would he say about your decision-making abilities?&lt;/p&gt; &lt;p&gt;• Give me an example of a win-win situation you have negotiated.&lt;br /&gt;• Tell me about your verbal and written communication ability. How well do you represent yourself to others? What makes you think so?&lt;/p&gt; &lt;p&gt;• Give me an example of a stressful situation you have been in. How well did you handle it? If you had to do it over again, would you do it differently? How do you deal with stress, pressure, and unreasonable demands?&lt;/p&gt; &lt;p&gt;• Tell me about a tough decision you had to make?&lt;/p&gt; &lt;h4&gt;4. Experience interview questions&lt;/h4&gt; &lt;p&gt;• Describe what you did at your work place yesterday.&lt;/p&gt; &lt;p&gt;• How would you solve the following technical problem? (Describe a typical scenario that could occur in the new position.)&lt;/p&gt; &lt;p&gt;• What strengths did you bring to your last position?&lt;/p&gt; &lt;p&gt;• Describe how those contributions impacted results?&lt;/p&gt; &lt;h4&gt;5. Competency interview questions&lt;/h4&gt; &lt;p&gt;• Tell me about special projects or training you have had that would be relevant to this job.&lt;/p&gt; &lt;p&gt;• What are some things that you would not like your job to include?&lt;/p&gt; &lt;p&gt;• What are your current work plans? Why are you thinking about leaving your present job?&lt;/p&gt; &lt;p&gt;• Describe an ideal job for you.&lt;/p&gt; &lt;p&gt;• Why are you interested in this position?&lt;/p&gt; &lt;p&gt;• Describe what you think it would be like to do this job every day.&lt;/p&gt; &lt;p&gt;• What do you believe qualifies you for this position?&lt;/p&gt; &lt;p&gt;Project interview questions can be used for project management interview questions, project manager interview questions&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-6556177252344168397?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/6556177252344168397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=6556177252344168397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/6556177252344168397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/6556177252344168397'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/12/general-interview-question.html' title='General Interview Question'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-7738507749954821361</id><published>2009-12-01T10:07:00.000-08:00</published><updated>2009-12-01T10:08:29.624-08:00</updated><title type='text'>Five Tips To Remove Stomach Fat You Can Use Today</title><content type='html'>&lt;h1&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-size: 10pt;"&gt;5 Tips To Remove Stomach Fat You Can Use Today&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt; &lt;p&gt;Getting rid of belly fat isn't something that you can do overnight, but there are methods that you can put in place today that will greatly reduce the appearance of your stomach fat and get you started on the road to a healthy body. The trick is patience. Getting in shape takes time and it is important to tone your whole body. If you just focus on your stomach, your stomach fat will simply reappear somewhere else on your body. That said, here are 5 tips to remove stomach fat you can use today:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Start an abdominal workout routine immediately. It is important to exercise your whole body but there is no rule that says you can't focus on one part of your body more than others. Instead of simply lounging in the evening, do crunches or squats while you watch television or listen to music. You don't have to do hundreds of them either to see results.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Talk with your doctor about drastically cutting your calorie intake for a few days. By cutting your calorie intake your body will start to burn its fat stores in an attempt to keep your body functioning at its usual energy level. It is imperative, however, that you start to increase your calorie intake over time. Remember, the goal is to be healthy!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt; Cut all of the processed foods out of your diet. Instead of choosing snacks from the snack aisle, stock up on fresh fruits and vegetables to snack on when you are between meals. At mealtimes opt for as many raw foods as you can as raw foods are far healthier than cooked foods.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;4.&lt;/strong&gt; Start sitting up straight. Proper posture, especially when you aren't used to it, can reduce the appearance of stomach fat (slouching can double the amount of flab that falls over your waistline). What's more, it takes energy to hold yourself upright all day long--energy that burns calories! It's a low burning energy, but it burns calories nonetheless!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;5.&lt;/strong&gt; Drink enough water! Instead of quenching your thirst with juice, soda, coffee or teas--opt for water. Water is essential to keeping your body healthy and your organs functioning properly. Water will help you sweat out your toxins instead of storing them as fat. What's more, water has zero calories so by cutting out the other beverages and replacing them with water, you'll be cutting your calorie intake by hundreds of calories a day!&lt;/p&gt;  &lt;p&gt;These are just five tips that you can use to remove stomach fat today. By doing some research and talking to your doctor you will easily be able to come up with even more ways to get your body in shape, be healthy and reduce your "flab." Make sure you run any decisions about your body by your primary care physician. Together the two of you can put together a complete plan to keep the body fat at bay.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-7738507749954821361?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/7738507749954821361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=7738507749954821361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7738507749954821361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7738507749954821361'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/12/five-tips-to-remove-stomach-fat-you-can.html' title='Five Tips To Remove Stomach Fat You Can Use Today'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-2232307276689128278</id><published>2009-10-29T13:34:00.000-07:00</published><updated>2009-10-29T13:36:13.237-07:00</updated><title type='text'>SQL Server, Drop All Tables in Database Quickly</title><content type='html'>SELECT name INTO #tables from sys.objects where type = 'U'&lt;br /&gt;&lt;br /&gt;      while (SELECT count(1) FROM #tables)&gt; 0&lt;br /&gt;&lt;br /&gt;      begin&lt;br /&gt;&lt;br /&gt;      declare @sql varchar(max)&lt;br /&gt;&lt;br /&gt;      declare @tbl varchar(255)&lt;br /&gt;&lt;br /&gt;      SELECT top 1 @tbl = name FROM #tables&lt;br /&gt;&lt;br /&gt;     SET @sql = ‘drop table [' + @tbl + ']‘&lt;br /&gt;&lt;br /&gt;      exec(@sql)&lt;br /&gt;&lt;br /&gt;      DELETE FROM #tables where name = @tbl&lt;br /&gt;&lt;br /&gt;      end&lt;br /&gt; &lt;br /&gt;      DROP TABLE #tables;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-2232307276689128278?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/2232307276689128278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=2232307276689128278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/2232307276689128278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/2232307276689128278'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/10/sql-server-drop-all-tables-in-database.html' title='SQL Server, Drop All Tables in Database Quickly'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-6627448521196963284</id><published>2009-09-30T10:53:00.000-07:00</published><updated>2009-09-30T10:56:41.298-07:00</updated><title type='text'>Page Life Cycle Events</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Mainly &lt;/span&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;&lt;/span&gt;&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;&lt;span style="font-weight: bold;"&gt;four type of &lt;span class="IL_SPAN"&gt;&lt;input name="IL_MARKER" type="hidden"&gt;life cycle&lt;/span&gt; in c#&lt;/span&gt;&lt;br /&gt;1)page load&lt;br /&gt;2)page init&lt;br /&gt;3)page pre render&lt;br /&gt;4)page unload&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;font-size:100%;" &gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Page_Init&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      The server controls are loaded and initialized from the Web form's view state. This is the first step in a Web form's life cycle.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;&lt;span style="font-weight: bold;"&gt;Page_Load&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      The server controls are loaded in the page object. View state information is available at this point, so this is where you put code to change control settings or display text on the page.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;&lt;span style="font-weight: bold;"&gt;Page_PreRender&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      The application is about to render the page object.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;    &lt;span style="font-weight: bold;"&gt;Page_Unload&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      The page is unloaded from memory.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;Page_Disposed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      The page object is released from memory. This is the last event in the life of a page object.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;Page_Error&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      An unhandled exception occurs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;Page_AbortTransaction&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      A transaction is aborted.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;Page_CommitTransaction&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      A transaction is accepted.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;Page_DataBinding&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;      A server control on the page binds to a data source. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana; font-weight: bold;"&gt;Process Request Method finally renders HTML Page &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-6627448521196963284?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/6627448521196963284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=6627448521196963284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/6627448521196963284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/6627448521196963284'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/09/page-life-cycle-events.html' title='Page Life Cycle Events'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-3270923387906108339</id><published>2009-09-30T10:13:00.000-07:00</published><updated>2009-09-30T10:46:30.807-07:00</updated><title type='text'>LINQ</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Disadvantages of LINQ over Stored Procedures&lt;br /&gt;      &lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Network traffic&lt;/strong&gt;:  SP's need only serialize SP-name and argument data over the wire while LINQ sends the entire query. This can get really bad if the queries are very complex. However, LINQ's abstraction allows Microsoft to improve this over time.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Less flexible&lt;/strong&gt;: SP's can take full advantage of a database's featureset. LINQ tends to be more generic in it's support. This is common in any kind of language abstraction (e.g. C# vs assembler).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Recompiling&lt;/strong&gt;:If you need to make changes to the way you do data access, you need to recompile, version, and redeploy your assembly. SP's can &lt;em&gt;sometimes&lt;/em&gt; allow a DBA to tune the data access routine without a need to redeploy anything.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;" id="ctl00_SubHeading_lblSubheading"&gt;Advantages of LINQ over Stored Procedures&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Type safety&lt;/strong&gt;:&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Abstraction&lt;/strong&gt;: This is especially true with &lt;a style="color: rgb(255, 204, 204);" href="http://msdn.microsoft.com/en-us/library/bb386964.aspx" rel="nofollow"&gt;LINQ-to-Entities&lt;/a&gt;&lt;span style="color: rgb(255, 204, 204);"&gt;.&lt;/span&gt;  This abstraction also allows the framework to add additional improvements that you can easily take advantage of.  &lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163329.aspx" rel="nofollow"&gt;PLINQ&lt;/a&gt; is an example of adding multi-threading support to LINQ. Code changes are minimal to add this support. It would be MUCH harder to do this data access code that simply calls sprocs.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Debugging support&lt;/strong&gt;: I can use any .NET debugger to debug the queries. With SP's, you cannot easily debug the SQL and that experience is largely tied to your database vendor (MS SQL Server provides a query analyzer, but often that isn't enough).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Vendor agnostic&lt;/strong&gt;: LINQ works with lots of databases and the number of supported databases will only increase. SP's are not always portable between databases, either because of varying syntax or feature support (if the database supports SP's at all).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Deployment&lt;/strong&gt;: Others have mentioned this already, but it's easier to deploy a single assembly than to deploy a set of SP's. This also ties in with #4.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Easier&lt;/strong&gt;: You don't have to learn T-SQL to do data access, nor do you have to learn the data access API (e.g. ADO.NET) necessary for calling the SP's. This is related to #3 and #4.&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/536905717044708235-3270923387906108339?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/3270923387906108339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=3270923387906108339' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3270923387906108339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3270923387906108339'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/09/linq.html' title='LINQ'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-5115203903758189526</id><published>2009-09-29T06:08:00.000-07:00</published><updated>2009-09-29T06:09:52.211-07:00</updated><title type='text'>Difference between ADO.net Dataset and ADO Recordset</title><content type='html'>&lt;span id="ctl00_ContentPlaceHolder1_lblDescription" style="color: DarkBlue;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dataset:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.With dataset you can retreive data from two different databases and merge them into one dataset.&lt;br /&gt;&lt;br /&gt;2.All representations is done in xml.&lt;br /&gt;&lt;br /&gt;3.Dataset can be transmitted on HTTP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Recordset:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.With recordset you cannot retreive data from two different databases and merge them into one recordset.&lt;br /&gt;&lt;br /&gt;2.All representations is done using COM.&lt;br /&gt;&lt;br /&gt;3.Recordset cannot be transmitted on HTTP&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-5115203903758189526?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/5115203903758189526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=5115203903758189526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/5115203903758189526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/5115203903758189526'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/09/difference-between-adonet-dataset-and.html' title='Difference between ADO.net Dataset and ADO Recordset'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-3431388290357938146</id><published>2009-09-21T03:28:00.000-07:00</published><updated>2009-09-21T03:29:23.334-07:00</updated><title type='text'>The out and ref Paramerter in C#</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;out&lt;/strong&gt; and the &lt;strong&gt;ref&lt;/strong&gt; parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;In this article, I will explain how do you use these parameters in your C# applications.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;The out Parameter&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;out&lt;/strong&gt; parameter can be used to return the values in the same variable passed as a parameter of the method. Any changes made to the parameter will be reflected in the variable. &lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;public&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;class&lt;/span&gt;&lt;span style="font-size:85%;"&gt; mathClass&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;public&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;static&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;int&lt;/span&gt;&lt;span style="font-size:85%;"&gt; TestOut(&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;out&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;int&lt;/span&gt;&lt;span style="font-size:85%;"&gt; iVal1, &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;out&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;int&lt;/span&gt;&lt;span style="font-size:85%;"&gt; iVal2)&lt;br /&gt;{&lt;br /&gt;iVal1 = 10;&lt;br /&gt;iVal2 = 20;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;return&lt;/span&gt;&lt;span style="font-size:85%;"&gt; 0;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;public&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;static&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;void&lt;/span&gt;&lt;span style="font-size:85%;"&gt; Main()&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;int&lt;/span&gt;&lt;span style="font-size:85%;"&gt; i, j; &lt;/span&gt;&lt;span style="font-size:85%;color:#008000;"&gt;// variable need not be initialized&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;Console.WriteLine(TestOut(&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;out&lt;/span&gt;&lt;span style="font-size:85%;"&gt; i, &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;out&lt;/span&gt;&lt;span style="font-size:85%;"&gt; j));&lt;br /&gt;Console.WriteLine(i);&lt;br /&gt;Console.WriteLine(j);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;strong&gt;The ref parameter&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;The &lt;strong&gt;ref&lt;/strong&gt; keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;You can even use ref for more than one method parameters. &lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:85%;"&gt; TestRefP&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;using&lt;/span&gt;&lt;span style="font-size:85%;"&gt; System;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;public&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;class&lt;/span&gt;&lt;span style="font-size:85%;"&gt; myClass&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;public&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;static&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;void&lt;/span&gt;&lt;span style="font-size:85%;"&gt; RefTest(&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;ref&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;int&lt;/span&gt;&lt;span style="font-size:85%;"&gt; iVal1 )&lt;br /&gt;{&lt;br /&gt;iVal1 += 2;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;public&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;static&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;void&lt;/span&gt;&lt;span style="font-size:85%;"&gt; Main()&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;int&lt;/span&gt;&lt;span style="font-size:85%;"&gt; i; &lt;/span&gt;&lt;span style="font-size:85%;color:#008000;"&gt;// variable need to be initialized&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;i = 3;&lt;br /&gt;RefTest(&lt;/span&gt;&lt;span style="font-size:85%;color:#0000ff;"&gt;ref&lt;/span&gt;&lt;span style="font-size:85%;"&gt; i );&lt;br /&gt;Console.WriteLine(i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;} &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-3431388290357938146?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/3431388290357938146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=3431388290357938146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3431388290357938146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/3431388290357938146'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/09/out-and-ref-paramerter-in-c.html' title='The out and ref Paramerter in C#'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-8223391776022703035</id><published>2009-09-20T23:56:00.000-07:00</published><updated>2009-09-21T00:32:40.979-07:00</updated><title type='text'>Joins In Sql Server</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Table&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_sOmQMw9w1OY/Srcp946mclI/AAAAAAAAAJI/etS5oWrToLc/s1600-h/Table.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 141px;" src="http://3.bp.blogspot.com/_sOmQMw9w1OY/Srcp946mclI/AAAAAAAAAJI/etS5oWrToLc/s320/Table.JPG" alt="" id="BLOGGER_PHOTO_ID_5383818022771651154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Query &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Inner Join&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;select * from car as a  inner join&lt;br /&gt;Dept as b On a.CarId=b.id&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Outer Join&lt;/span&gt; -Full&lt;br /&gt;&lt;br /&gt;select * from Emp as a full outer join&lt;br /&gt;Dept as b On a.Id=b.id&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Left&lt;/span&gt;&lt;br /&gt;select * from Emp as a left outer join&lt;br /&gt;Dept as b On a.Id=b.id&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Right&lt;/span&gt;&lt;br /&gt;select * from Emp as a right outer join&lt;br /&gt;Dept as b On a.Id=b.id&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Result&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_sOmQMw9w1OY/SrcqHg01iMI/AAAAAAAAAJQ/56MwA26ew9I/s1600-h/Query.JPG"&gt;&lt;img style="cursor: pointer; width: 214px; height: 320px;" src="http://1.bp.blogspot.com/_sOmQMw9w1OY/SrcqHg01iMI/AAAAAAAAAJQ/56MwA26ew9I/s320/Query.JPG" alt="" id="BLOGGER_PHOTO_ID_5383818188103715010" 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/536905717044708235-8223391776022703035?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/8223391776022703035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=8223391776022703035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8223391776022703035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8223391776022703035'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/09/table-query-inner-join-select-from-car.html' title='Joins In Sql Server'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_sOmQMw9w1OY/Srcp946mclI/AAAAAAAAAJI/etS5oWrToLc/s72-c/Table.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-4474291730792325033</id><published>2009-09-09T23:22:00.000-07:00</published><updated>2009-09-29T06:35:45.481-07:00</updated><title type='text'>Interview question</title><content type='html'>&lt;span style="font-weight: bold;"&gt;How to Insert Values into an Identity Column in SQL Server?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;SET IDENTITY_INSERT IdentityTable ON&lt;br /&gt;&lt;br /&gt;INSERT IdentityTable(TheIdentity, TheValue)&lt;br /&gt;VALUES (3, 'First Row')&lt;br /&gt;&lt;br /&gt;SET IDENTITY_INSERT IdentityTable OFF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to clone table structure to another table?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1. select top 1 into [NewTable] from [ExistingTable] where ....&lt;br /&gt;or&lt;br /&gt;2. select top 0 into [NewTable] from [ExistingTable]&lt;br /&gt;insert [NewTable] select * from [ExistingTable] where ...&lt;br /&gt;&lt;br /&gt;What is Webparts?&lt;br /&gt;&lt;br /&gt;Write a syntax for the Uesr Defined  Function And Stored Procedure[Delete the data from some Table.]?&lt;br /&gt;&lt;br /&gt;What is WebGarden &amp;amp; WebForm?&lt;br /&gt;&lt;br /&gt;How to  Maintain the CheckBox State in the GridView Paging?&lt;br /&gt;&lt;br /&gt;What is Static Constructor?&lt;br /&gt;&lt;br /&gt;Interface  Vs Abstract ?&lt;br /&gt;&lt;br /&gt;Sealed Class?&lt;br /&gt;&lt;br /&gt;Serialized Class?&lt;br /&gt;&lt;br /&gt;State Management?&lt;br /&gt;&lt;br /&gt;Syntax for RAISERROR in Sql Server.?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&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/536905717044708235-4474291730792325033?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/4474291730792325033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=4474291730792325033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/4474291730792325033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/4474291730792325033'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/09/interview-question.html' title='Interview question'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-7334238419295497442</id><published>2009-07-09T06:02:00.000-07:00</published><updated>2009-07-09T06:29:53.093-07:00</updated><title type='text'>how to Debug Client (java) Script in visual studio 2005?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_sOmQMw9w1OY/SlXrNN_4Q8I/AAAAAAAAAJA/1aQRrTtM6yw/s1600-h/1.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="http://4.bp.blogspot.com/_sOmQMw9w1OY/SlXrNN_4Q8I/AAAAAAAAAJA/1aQRrTtM6yw/s320/1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5356445944155489218" /&gt;&lt;/a&gt;&lt;br /&gt;Go to IE Internet option and select the Advance Tab option and uncheck the Disable script Debugging(Internet Explore) (REF above image).&lt;br /&gt;and Run your Application, then click the ALT+CTRL+N u got the New Window that name is called Script Explore you will get the file , you click the file it will open, u can use click the f9 function Key.then run your application .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-7334238419295497442?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/7334238419295497442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=7334238419295497442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7334238419295497442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7334238419295497442'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/07/how-to-debug-client-java-script-in.html' title='how to Debug Client (java) Script in visual studio 2005?'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_sOmQMw9w1OY/SlXrNN_4Q8I/AAAAAAAAAJA/1aQRrTtM6yw/s72-c/1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-8241883775191444069</id><published>2009-04-09T03:46:00.000-07:00</published><updated>2009-09-09T23:51:36.144-07:00</updated><title type='text'>caling javascript from codebehind file while using Ajax .</title><content type='html'>CloseWindow = "alert('sundar')";//we have to call javascript function also.&lt;br /&gt;ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "CloseWindow", CloseWindow,true);&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;following code should be work in the page load time only&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Page.RegisterClientScriptBlock("sundar", "&lt;script language=javascript&gt;"alert('sundar')";&lt;/script&gt;")&lt;br /&gt;Page.RegisterStartupScript("sundar", "&lt;script&gt;"alert('sundar')";&lt;/script&gt;");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-8241883775191444069?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/8241883775191444069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=8241883775191444069' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8241883775191444069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8241883775191444069'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/04/closewindow-alertsundarwe-have-to-call.html' title='caling javascript from codebehind file while using Ajax .'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-8970673779870501030</id><published>2009-04-03T06:30:00.000-07:00</published><updated>2009-09-10T00:04:53.228-07:00</updated><title type='text'>Javascript Char Codes (Key Codes)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;h3&gt;&lt;a href="http://sundarsri.blogspot.com/2009/04/javascript-char-codes-key-codes.html"&gt;Javascript Char Codes (Key Codes)&lt;/a&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class="post-body entry-content"&gt;&lt;span style="font-weight: bold;"&gt; Summary&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt; Javascript is often used on the browser client side to perform simple tasks that would otherwise require a full postback to the server. Many of those simple tasks involve processing text or characters entered into a form element on a web page, and it is often necessary to know the javascript keycode associated with a character. Here is a reference.&lt;/span&gt;&lt;br /&gt;&lt;table style="color: white; background-color: AntiqueWhite; width: 678px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;table style="color: white; background-color: DarkSlateBlue; width: 678px;" border="2"&gt;&lt;tbody&gt;&lt;tr style="font-weight: bold; background-color: Honeydew; color: rgb(0, 0, 153);"&gt;&lt;td&gt;Key Pressed&lt;/td&gt;&lt;td style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Javascript Key Code&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;backspace&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;tab&lt;/td&gt;&lt;td&gt;9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;enter&lt;/td&gt;&lt;td&gt;13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;shift&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ctrl&lt;/td&gt;&lt;td&gt;17&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;alt&lt;/td&gt;&lt;td&gt;18&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;pause/break&lt;/td&gt;&lt;td&gt;19&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;caps lock&lt;/td&gt;&lt;td&gt;20&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;escape&lt;/td&gt;&lt;td&gt;27&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;page up&lt;/td&gt;&lt;td&gt;33&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;page down&lt;/td&gt;&lt;td&gt;34&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;end&lt;/td&gt;&lt;td&gt;35&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;home&lt;/td&gt;&lt;td&gt;36&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;left arrow&lt;/td&gt;&lt;td&gt;37&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;up arrow&lt;/td&gt;&lt;td&gt;38&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;right arrow&lt;/td&gt;&lt;td&gt;39&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;down arrow&lt;/td&gt;&lt;td&gt;40&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;insert&lt;/td&gt;&lt;td&gt;45&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;delete&lt;/td&gt;&lt;td&gt;46&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;48&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;49&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;51&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;52&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;53&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;54&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;55&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;56&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;57&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;a&lt;/td&gt;&lt;td&gt;65&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;b&lt;/td&gt;&lt;td&gt;66&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;c&lt;/td&gt;&lt;td&gt;67&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;d&lt;/td&gt;&lt;td&gt;68&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;e&lt;/td&gt;&lt;td&gt;69&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f&lt;/td&gt;&lt;td&gt;70&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;g&lt;/td&gt;&lt;td&gt;71&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;h&lt;/td&gt;&lt;td&gt;72&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;i&lt;/td&gt;&lt;td&gt;73&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;j&lt;/td&gt;&lt;td&gt;74&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;k&lt;/td&gt;&lt;td&gt;75&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;l&lt;/td&gt;&lt;td&gt;76&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;m&lt;/td&gt;&lt;td&gt;77&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;n&lt;/td&gt;&lt;td&gt;78&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;o&lt;/td&gt;&lt;td&gt;79&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;p&lt;/td&gt;&lt;td&gt;80&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;q&lt;/td&gt;&lt;td&gt;81&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;r&lt;/td&gt;&lt;td&gt;82&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;s&lt;/td&gt;&lt;td&gt;83&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;t&lt;/td&gt;&lt;td&gt;84&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;u&lt;/td&gt;&lt;td&gt;85&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;v&lt;/td&gt;&lt;td&gt;86&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;w&lt;/td&gt;&lt;td&gt;87&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;x&lt;/td&gt;&lt;td&gt;88&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;y&lt;/td&gt;&lt;td&gt;89&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;z&lt;/td&gt;&lt;td&gt;90&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;left window key&lt;/td&gt;&lt;td&gt;91&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;right window key&lt;/td&gt;&lt;td&gt;92&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;select key&lt;/td&gt;&lt;td&gt;93&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 0&lt;/td&gt;&lt;td&gt;96&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 1&lt;/td&gt;&lt;td&gt;97&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 2&lt;/td&gt;&lt;td&gt;98&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 3&lt;/td&gt;&lt;td&gt;99&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 4&lt;/td&gt;&lt;td&gt;100&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 5&lt;/td&gt;&lt;td&gt;101&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 6&lt;/td&gt;&lt;td&gt;102&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 7&lt;/td&gt;&lt;td&gt;103&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 8&lt;/td&gt;&lt;td&gt;104&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;numpad 9&lt;/td&gt;&lt;td&gt;105&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;multiply&lt;/td&gt;&lt;td&gt;106&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;add&lt;/td&gt;&lt;td&gt;107&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;subtract&lt;/td&gt;&lt;td&gt;109&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;decimal point&lt;/td&gt;&lt;td&gt;110&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;divide&lt;/td&gt;&lt;td&gt;111&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f1&lt;/td&gt;&lt;td&gt;112&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f2&lt;/td&gt;&lt;td&gt;113&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f3&lt;/td&gt;&lt;td&gt;114&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f4&lt;/td&gt;&lt;td&gt;115&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f5&lt;/td&gt;&lt;td&gt;116&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f6&lt;/td&gt;&lt;td&gt;117&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f7&lt;/td&gt;&lt;td&gt;118&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f8&lt;/td&gt;&lt;td&gt;119&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f9&lt;/td&gt;&lt;td&gt;120&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f10&lt;/td&gt;&lt;td&gt;121&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f11&lt;/td&gt;&lt;td&gt;122&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;f12&lt;/td&gt;&lt;td&gt;123&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;num lock&lt;/td&gt;&lt;td&gt;144&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;scroll lock&lt;/td&gt;&lt;td&gt;145&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;semi-colon&lt;/td&gt;&lt;td&gt;186&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;equal sign&lt;/td&gt;&lt;td&gt;187&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;comma&lt;/td&gt;&lt;td&gt;188&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;dash&lt;/td&gt;&lt;td&gt;189&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;period&lt;/td&gt;&lt;td&gt;190&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;forward slash&lt;/td&gt;&lt;td&gt;191&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;grave accent&lt;/td&gt;&lt;td&gt;192&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;open bracket&lt;/td&gt;&lt;td&gt;219&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;back slash&lt;/td&gt;&lt;td&gt;220&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;close braket&lt;/td&gt;&lt;td&gt;221&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;single quote&lt;/td&gt;&lt;td&gt;222&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&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/536905717044708235-8970673779870501030?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/8970673779870501030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=8970673779870501030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8970673779870501030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8970673779870501030'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2009/04/javascript-char-codes-key-codes.html' title='Javascript Char Codes (Key Codes)'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-8523975625792080905</id><published>2008-07-07T02:23:00.000-07:00</published><updated>2008-11-18T04:23:49.072-08:00</updated><title type='text'>Standard Javascript Validation Coding</title><content type='html'>Dear All ,&lt;br /&gt;&lt;br /&gt;i have list out the Standard Javascript Validation Coding ,I hope  it  may be usefully for all Web developer .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example.js&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;function Validator(frmname)&lt;br /&gt;{&lt;br /&gt;this.formobj=document.forms[frmname];&lt;br /&gt;	if(!this.formobj)&lt;br /&gt;	{&lt;br /&gt;	  alert("BUG: couldnot get Form object "+frmname);&lt;br /&gt;		return;&lt;br /&gt;	}&lt;br /&gt;	if(this.formobj.onsubmit)&lt;br /&gt;	{&lt;br /&gt;	 this.formobj.old_onsubmit = this.formobj.onsubmit;&lt;br /&gt;	 this.formobj.onsubmit=null;&lt;br /&gt;	}&lt;br /&gt;	else&lt;br /&gt;	{&lt;br /&gt;	 this.formobj.old_onsubmit = null;&lt;br /&gt;	}&lt;br /&gt;	this.formobj.onsubmit=form_submit_handler;&lt;br /&gt;	this.addValidation = add_validation;&lt;br /&gt;	this.setAddnlValidationFunction=set_addnl_vfunction;&lt;br /&gt;	this.clearAllValidations = clear_all_validations;&lt;br /&gt;}&lt;br /&gt;function set_addnl_vfunction(functionname)&lt;br /&gt;{&lt;br /&gt;this.formobj.addnlvalidation = functionname;&lt;br /&gt;}&lt;br /&gt;function clear_all_validations()&lt;br /&gt;{&lt;br /&gt;	for(var itr=0;itr &lt; validationset =" null;" itr="0;itr" str =" var ret = " itemobj =" this.formobj[itemname];" validationset =" new" desc="desc;" error="error;" itemobj =" inputitem;" validate="vdesc_validate;" vset="new" add=" add_validationdesc;" validate=" vset_validate;" itemobj =" inputitem;" itr="0;itr&lt;this.vset.length;itr++)" a="" very="" simple="" validation="" you="" can="" add="" more="" complex="" email="" checking="" it="" helps="" splitted="email.match(&amp;quot;^(.+)@(.+)$&amp;quot;);" regexp_user="/^\&amp;quot;?[\w-_\.]*\&amp;quot;?$/;" regexp_domain="/^[\w-\.]*\.[A-Za-z]{2,4}$/;" regexp_ip="/^\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\]$/;" if="" return="" function="" command="" var="" cmdvalue="" epos="strValidateStr.search(&amp;quot;=&amp;quot;);"&gt;= 0)&lt;br /&gt;  {&lt;br /&gt;   command  = strValidateStr.substring(0,epos);&lt;br /&gt;   cmdvalue = strValidateStr.substr(epos+1);&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;   command = strValidateStr;&lt;br /&gt;  }&lt;br /&gt;  switch(command)&lt;br /&gt;  {&lt;br /&gt;      case "req":&lt;br /&gt;      case "required":&lt;br /&gt;       {&lt;br /&gt;         if(eval(objValue.value.length) == 0)&lt;br /&gt;         {&lt;br /&gt;            if(!strError || strError.length ==0)&lt;br /&gt;            {&lt;br /&gt;              strError = objValue.name + " : Required Field";&lt;br /&gt;            }//if&lt;br /&gt;            alert(strError);&lt;br /&gt;            return false;&lt;br /&gt;         }//if&lt;br /&gt;         break;           &lt;br /&gt;       }//case required&lt;br /&gt;      case "maxlength":&lt;br /&gt;      case "maxlen":&lt;br /&gt;        {&lt;br /&gt;           if(eval(objValue.value.length) &gt;  eval(cmdvalue))&lt;br /&gt;           {&lt;br /&gt;             if(!strError || strError.length ==0)&lt;br /&gt;             {&lt;br /&gt;               strError = objValue.name + " : "+cmdvalue+" characters maximum ";&lt;br /&gt;             }//if&lt;br /&gt;             alert(strError + "\n[Current length = " + objValue.value.length + " ]");&lt;br /&gt;             return false;&lt;br /&gt;           }//if&lt;br /&gt;           break;&lt;br /&gt;        }//case maxlen&lt;br /&gt;      case "minlength":&lt;br /&gt;      case "minlen":&lt;br /&gt;         {&lt;br /&gt;           if(eval(objValue.value.length) &lt; length ="=" strerror =" objValue.name" length = " + objValue.value.length + " charpos =" objValue.value.search("&gt; 0 &amp;amp;&amp;amp;  charpos &gt;= 0)&lt;br /&gt;            {&lt;br /&gt;             if(!strError || strError.length ==0)&lt;br /&gt;              {&lt;br /&gt;                strError = objValue.name+": Only alpha-numeric characters allowed ";&lt;br /&gt;              }//if&lt;br /&gt;              alert(strError + "\n [Error character position " + eval(charpos+1)+"]");&lt;br /&gt;              return false;&lt;br /&gt;            }//if&lt;br /&gt;            break;&lt;br /&gt;         }//case alphanumeric&lt;br /&gt;      case "num":&lt;br /&gt;      case "numeric":&lt;br /&gt;         {&lt;br /&gt;            var charpos = objValue.value.search("[^0-9]");&lt;br /&gt;            if(objValue.value.length &gt; 0 &amp;amp;&amp;amp;  charpos &gt;= 0)&lt;br /&gt;            {&lt;br /&gt;              if(!strError || strError.length ==0)&lt;br /&gt;              {&lt;br /&gt;                strError = objValue.name+": Only digits allowed ";&lt;br /&gt;              }//if             &lt;br /&gt;              alert(strError + "\n [Error character position " + eval(charpos+1)+"]");&lt;br /&gt;              return false;&lt;br /&gt;            }//if&lt;br /&gt;            break;             &lt;br /&gt;         }//numeric&lt;br /&gt;		    case "telephone":&lt;br /&gt;         {&lt;br /&gt;            var charpos = objValue.value.search("[^0-9 - ()]");&lt;br /&gt;            if(objValue.value.length &gt; 0 &amp;amp;&amp;amp;  charpos &gt;= 0)&lt;br /&gt;            {&lt;br /&gt;              if(!strError || strError.length ==0)&lt;br /&gt;              {&lt;br /&gt;                strError = objValue.name+": Only digits allowed ";&lt;br /&gt;              }//if             &lt;br /&gt;              alert(strError + "\n [Error character position " + eval(charpos+1)+"]");&lt;br /&gt;              return false;&lt;br /&gt;            }//if&lt;br /&gt;            break;             &lt;br /&gt;         }&lt;br /&gt;      case "alphabetic":&lt;br /&gt;      case "alpha":&lt;br /&gt;         {&lt;br /&gt;            var charpos = objValue.value.search("[^A-Za-z]");&lt;br /&gt;            if(objValue.value.length &gt; 0 &amp;amp;&amp;amp;  charpos &gt;= 0)&lt;br /&gt;            {&lt;br /&gt;                if(!strError || strError.length ==0)&lt;br /&gt;              {&lt;br /&gt;                strError = objValue.name+": Only alphabetic characters allowed ";&lt;br /&gt;              }//if                           &lt;br /&gt;              alert(strError + "\n [Error character position " + eval(charpos+1)+"]");&lt;br /&gt;              return false;&lt;br /&gt;            }//if&lt;br /&gt;            break;&lt;br /&gt;         }//alpha&lt;br /&gt;		 case "txtlength":&lt;br /&gt;		 {&lt;br /&gt;		&lt;br /&gt;			if(objValue.value.length &gt; 0)&lt;br /&gt;            {&lt;br /&gt;				  var test=objValue.name&lt;br /&gt;				  var test1=objValue.name.replace(/Name/, "Email")&lt;br /&gt;				&lt;br /&gt;				if(document.forms["QubePayPal"][test1].value.length &gt; 0)&lt;br /&gt;				{&lt;br /&gt;				return true;&lt;br /&gt;				}&lt;br /&gt;				else&lt;br /&gt;				{&lt;br /&gt;				alert('Enter the '+test1);&lt;br /&gt;				document.forms["QubePayPal"][test1].focus()&lt;br /&gt;				return false;&lt;br /&gt;&lt;br /&gt;				}&lt;br /&gt;				&lt;br /&gt;				 return false;&lt;br /&gt;			  }&lt;br /&gt;            break;&lt;br /&gt;		 }&lt;br /&gt;		  case "txtlength1":&lt;br /&gt;		 {&lt;br /&gt;		&lt;br /&gt;					if(objValue.value.length &gt; 0)&lt;br /&gt;            {&lt;br /&gt;				  var test=objValue.name&lt;br /&gt;				  var test1=objValue.name.replace(/Email/, "Name")&lt;br /&gt;				&lt;br /&gt;				if(document.forms["QubePayPal"][test1].value.length &gt; 0)&lt;br /&gt;				{&lt;br /&gt;				return true;&lt;br /&gt;				}&lt;br /&gt;				else&lt;br /&gt;				{&lt;br /&gt;				alert('Enter the '+test1);&lt;br /&gt;				document.forms["QubePayPal"][test1].focus()&lt;br /&gt;				return false;&lt;br /&gt;		&lt;br /&gt;				}&lt;br /&gt;				&lt;br /&gt;				 return false;&lt;br /&gt;			  }&lt;br /&gt;            break;&lt;br /&gt;		 }&lt;br /&gt;		case "alnumhyphen":&lt;br /&gt;			{&lt;br /&gt;            var charpos = objValue.value.search("[^A-Za-z0-9\-_]");&lt;br /&gt;            if(objValue.value.length &gt; 0 &amp;amp;&amp;amp;  charpos &gt;= 0)&lt;br /&gt;            {&lt;br /&gt;                if(!strError || strError.length ==0)&lt;br /&gt;              {&lt;br /&gt;                strError = objValue.name+": characters allowed are A-Z,a-z,0-9,- and _";&lt;br /&gt;              }//if                           &lt;br /&gt;              alert(strError + "\n [Error character position " + eval(charpos+1)+"]");&lt;br /&gt;              return false;&lt;br /&gt;            }//if 			&lt;br /&gt;			break;&lt;br /&gt;			}&lt;br /&gt;      case "email":&lt;br /&gt;        {&lt;br /&gt;		  if(objValue.value.length!=0)&lt;br /&gt;		  {&lt;br /&gt;             if(!validateEmailv2(objValue.value))&lt;br /&gt;             {&lt;br /&gt;               if(!strError || strError.length ==0)&lt;br /&gt;               {&lt;br /&gt;                  strError = objValue.name+": Enter a valid Email address ";&lt;br /&gt;               }//if                                             &lt;br /&gt;               alert(strError);&lt;br /&gt;               return false;&lt;br /&gt;             }//if&lt;br /&gt;&lt;br /&gt;		   }&lt;br /&gt;		   else&lt;br /&gt;		   {&lt;br /&gt;		   return true;&lt;br /&gt;		   }&lt;br /&gt;         break;		  &lt;br /&gt;        }//case email&lt;br /&gt;      case "lt":&lt;br /&gt;      case "lessthan":&lt;br /&gt;       {&lt;br /&gt;          if(isNaN(objValue.value))&lt;br /&gt;          {&lt;br /&gt;            alert(objValue.name+": Should be a number ");&lt;br /&gt;            return false;&lt;br /&gt;          }//if&lt;br /&gt;          if(eval(objValue.value) &gt;=  eval(cmdvalue))&lt;br /&gt;          {&lt;br /&gt;            if(!strError || strError.length ==0)&lt;br /&gt;            {&lt;br /&gt;              strError = objValue.name + " : value should be less than "+ cmdvalue;&lt;br /&gt;            }//if             &lt;br /&gt;            alert(strError);&lt;br /&gt;            return false;               &lt;br /&gt;           }//if           &lt;br /&gt;          break;&lt;br /&gt;       }//case lessthan&lt;br /&gt;      case "gt":&lt;br /&gt;      case "greaterthan":&lt;br /&gt;       {&lt;br /&gt;          if(isNaN(objValue.value))&lt;br /&gt;          {&lt;br /&gt;            alert(objValue.name+": Should be a number ");&lt;br /&gt;            return false;&lt;br /&gt;          }//if&lt;br /&gt;           if(eval(objValue.value) &lt;=  eval(cmdvalue))             {               if(!strError || strError.length ==0)               {                 strError = objValue.name + " : value should be greater than "+ cmdvalue;               }//if                             alert(strError);               return false;                             }//if                        break;         }//case greaterthan        case "regexp":         {            if(!objValue.value.match(cmdvalue))            {              if(!strError || strError.length ==0)              {                strError = objValue.name+": Invalid characters found ";              }//if                                                                            alert(strError);              return false;                              }//if           break;         }//case regexp        case "dontselect":         {            if(objValue.selectedIndex == null)            {              alert("BUG: dontselect command for non-select Item");              return false;            }            if(objValue.selectedIndex == eval(cmdvalue))            {             if(!strError || strError.length ==0)              {              strError = objValue.name+": Please Select one option ";              }//if                                                                            alert(strError);              return false;                                               }             break;         }//case dontselect    }//switch    return true; }   Then We have to add following line in yours Validation page and Include the Example.js file also.  var frmvalidator  = new Validator("FORM NAME");  frmvalidator.addValidation("FieldTextBoxName","req","Please enter your FieldTextBoxName");  frmvalidator.addValidation("FieldTextBoxName","maxlen=20","Max length for FieldTextBoxName is 20");  frmvalidator.addValidation("FieldTextBoxName","alpha");  the Above Example validate the Alphabets.&lt;/this.vset.length;itr++)"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-8523975625792080905?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/8523975625792080905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=8523975625792080905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8523975625792080905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/8523975625792080905'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2008/07/standard-java-script-validation-coding.html' title='Standard Javascript Validation Coding'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-7887313019238119814</id><published>2008-07-01T22:56:00.000-07:00</published><updated>2008-11-18T04:24:35.837-08:00</updated><title type='text'>S.Vinothkumar: RoleManagement in Asp.Net</title><content type='html'>&lt;a href="http://vinothnat.blogspot.com/2007/10/rolemanagement-in-aspnet.html#links"&gt;S.Vinothkumar: RoleManagement in Asp.Net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-7887313019238119814?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/7887313019238119814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=7887313019238119814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7887313019238119814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7887313019238119814'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2008/07/svinothkumar-rolemanagement-in-aspnet.html' title='S.Vinothkumar: RoleManagement in Asp.Net'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-7245022136016439788</id><published>2008-07-01T22:44:00.000-07:00</published><updated>2008-07-01T22:48:33.674-07:00</updated><title type='text'>How to Get Client IP using C#..?</title><content type='html'>Following Lines are help us to get Client IP using C#.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;string myHost = System.Net.Dns.GetHostName();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;string myIP = System.Net.Dns.GetHostByName(myHost).AddressList[0].ToString();&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-7245022136016439788?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/7245022136016439788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=7245022136016439788' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7245022136016439788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/7245022136016439788'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2008/07/how-to-get-client-ip-using-c.html' title='How to Get Client IP using C#..?'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-536905717044708235.post-2728075924585745339</id><published>2008-06-30T04:39:00.000-07:00</published><updated>2008-06-30T04:39:25.168-07:00</updated><title type='text'>S.Vinothkumar: Sql Server Function to get number of working days in given days.</title><content type='html'>&lt;a href="http://vinothnat.blogspot.com/2008/06/sql-server-function-to-get-number-of_20.html"&gt;S.Vinothkumar: Sql Server Function to get number of working days in given days.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536905717044708235-2728075924585745339?l=sundarsri.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://vinothnat.blogspot.com/2008/06/sql-server-function-to-get-number-of_20.html' title='S.Vinothkumar: Sql Server Function to get number of working days in given days.'/><link rel='replies' type='application/atom+xml' href='http://sundarsri.blogspot.com/feeds/2728075924585745339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=536905717044708235&amp;postID=2728075924585745339' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/2728075924585745339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536905717044708235/posts/default/2728075924585745339'/><link rel='alternate' type='text/html' href='http://sundarsri.blogspot.com/2008/06/svinothkumar-sql-server-function-to-get.html' title='S.Vinothkumar: Sql Server Function to get number of working days in given days.'/><author><name>sundar</name><uri>http://www.blogger.com/profile/04612264584566843190</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_sOmQMw9w1OY/SyUxjKNOEuI/AAAAAAAAAJ4/bsqTP3gv7_o/S220/DSC00003.JPG'/></author><thr:total>0</thr:total></entry></feed>
