<?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:blogger='http://schemas.google.com/blogger/2008' 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-2714558533306923414</id><updated>2024-11-01T14:59:16.779+05:30</updated><category term="Asp.Net and C#"/><category term="General"/><category term="Sql Server and Oracle"/><category term="JQuery and Javascript"/><title type='text'>Parthasarathy Raja</title><subtitle type='html'>Senior Software Professional</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-2502804500339064224</id><published>2013-09-23T14:58:00.001+05:30</published><updated>2013-09-23T14:58:13.878+05:30</updated><title type='text'>Debugging Windows service while developing in Visual Studio 2010</title><content type='html'>&lt;p&gt;1. Set your windows service project as the start up project.&lt;/p&gt; &lt;p&gt;2. Go to Project --&amp;gt; Properties --&amp;gt; Debug section --&amp;gt; set Configuration as &quot;Debug&quot;&lt;/p&gt; &lt;p&gt;3. Go to Project --&amp;gt; Properties --&amp;gt; Debug section --&amp;gt; Check &quot;Enable unmanaged code debugging&quot; checkbox.&lt;/p&gt; &lt;p&gt;4. Go to Project --&amp;gt; Properties --&amp;gt; Debug section --&amp;gt; set required paramenters (to be used in service OnStart())&lt;/p&gt; &lt;p&gt;5. Go to Project --&amp;gt; Properties --&amp;gt; Build section --&amp;gt; set required platform targets (in case of oracle database (oracle.dataaccess.dll), we need to set the platform target as similar to the oracle client version installed in the machine. You can install 32bit oracle client in 64 machine.)&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/2502804500339064224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/09/debugging-windows-service-while.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2502804500339064224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2502804500339064224'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/09/debugging-windows-service-while.html' title='Debugging Windows service while developing in Visual Studio 2010'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-7363065771892532341</id><published>2013-08-01T21:07:00.001+05:30</published><updated>2013-08-01T21:07:39.816+05:30</updated><title type='text'>Log Parser Lizard</title><content type='html'>&lt;div style=&quot;color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt&quot;&gt;&lt;div style=&quot;font-family: verdana, helvetica, sans-serif; font-size: 10pt;&quot;&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: verdana, helvetica, sans-serif; font-size: 10pt;&quot;&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font size=&quot;2&quot;&gt;Log Parser Lizard&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=&quot;2&quot;&gt;Log Parser is a very powerful and versatile query software tool that provides universal query access to text-based data, such as log files, XML files, and CSV files, as well as key data sources on the Microsoft Windows operating system, such as the event log, IIS log, the registry, the file system, and the Active Directory services. Because the command-line interface is not very intuitive, we have created Log Parser Lizard, a free GUI tool for managing queries and exporting results to Excel and charts.&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font   size=&quot;2&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: verdana, helvetica, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: verdana, helvetica, sans-serif; font-size: 10pt;&quot;&gt;&lt;font color=&quot;#00007f&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.lizard-labs.net/log_parser_lizard.aspx&quot;&gt;http://www.lizard-labs.net/log_parser_lizard.aspx&lt;/a&gt;&lt;br&gt;&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/7363065771892532341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/08/log-parser-lizard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/7363065771892532341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/7363065771892532341'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/08/log-parser-lizard.html' title='Log Parser Lizard'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-4023873961981723352</id><published>2013-07-30T12:54:00.001+05:30</published><updated>2013-07-30T12:54:07.216+05:30</updated><title type='text'>Understanding char, nchar, varchar and nvarchar</title><content type='html'>&lt;p&gt;&lt;strong&gt;What they store?&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;nchar and nvarchar can store Unicode characters.  &lt;li&gt;char and varchar cannot store Unicode characters.  &lt;li&gt;char and nchar are fixed-length which will reserve storage space for number of characters you specify even if you don&#39;t use up all that space.  &lt;li&gt;varchar and nvarchar are variable-length which will only use up spaces for the characters you store. It will not reserve storage like char or nchar.  &lt;li&gt;nchar and nvarchar will take up twice as much storage space, so it may be wise to use them only if you need Unicode support.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Sizes they need&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;char&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; fixed-length character data with a maximum length of 8000 characters.  &lt;li&gt;nchar&amp;nbsp; =&amp;nbsp; fixed-length unicode data with a maximum length of 4000 characters.  &lt;li&gt;Char&amp;nbsp;&amp;nbsp; =&amp;nbsp; 8 bit length  &lt;li&gt;NChar =&amp;nbsp; 16 bit length&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;First, char and nchar will always use a fixed amount of storage space, even when the string to be stored is smaller than the available space, whereas varchar and nvarchar will use only as much storage space as is needed to store that string (plus two bytes of overhead, presumably to store the string length). So remember, &quot;var&quot; means &quot;variable&quot;, as in variable space.&lt;/p&gt; &lt;p&gt;The second major point to understand is that, nchar and nvarchar store strings using exactly two bytes per character, whereas char and varchar use an encoding determined by the collation code page, which will usually be exactly one byte per character (though there are exceptions, see below). By using two bytes per character, a very wide range of characters can be stored, so the basic thing to remember here is that nchar and nvarchar tend to be a much better choice when you want internationalization support, which you probably do.&lt;/p&gt; &lt;p&gt;Now for some some finer points.&lt;/p&gt; &lt;p&gt;First, nchar and nvarchar columns always store data using UCS-2. This means that exactly two bytes per character will be used, and any Unicode character in the Basic Multilingual Plane (BMP) can be stored by an nchar or nvarchar field. However, it is not the case that any Unicode character can be stored. For example, according to Wikipedia, the code points for Egyptian hieroglyphs fall outside of the BMP. There are, therefore, Unicode strings that can be represented in UTF-8 and other true Unicode encodings that cannot be stored in a SQL Server nchar or nvarchar field, and strings written in Egyptian hieroglyphs would be among them. Fortunately your users probably don&#39;t write in that script, but it&#39;s something to keep in mind!&lt;/p&gt; &lt;p&gt;Another confusing but interesting point that other posters have highlighted is that char and varchar fields may use two bytes per character for certain characters if the collation code page requires it. (Martin Smith gives an excellent example in which he shows how Chinese_Traditional_Stroke_Order_100_CS_AS_KS_WS exhibits this behavior. Check it out.)&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; As of SQL Server 2012, there are finally &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms143726.aspx#Supplementary_Characters&quot;&gt;code pages for UTF-16&lt;/a&gt;, for example Latin1_General_100_CI_AS_SC, which can truly cover the entire Unicode range.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/4023873961981723352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/07/understanding-char-nchar-varchar-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4023873961981723352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4023873961981723352'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/07/understanding-char-nchar-varchar-and.html' title='Understanding char, nchar, varchar and nvarchar'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-891056482483366137</id><published>2013-05-30T12:12:00.001+05:30</published><updated>2013-05-30T12:12:46.354+05:30</updated><title type='text'>Dependency Injection</title><content type='html'>&lt;p&gt;Basically, instead of having your objects creating a dependency or asking a factory object to make one for them, you pass the needed dependencies in to the constructor, and you make it somebody else&#39;s problem (an object further up the dependency graph, or a dependency injector that builds the dependency graph). A dependency as I&#39;m using it here is any other object the current object needs to hold a reference to.&lt;/p&gt; &lt;p&gt;One of the major advantages of dependency injection is that it can make testing lots easier. Suppose you have an object which in its constructor does something like:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;public SomeClass() {&lt;br /&gt;    myObject = Factory.getObject();&lt;br /&gt;}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;This can be troublesome when all you want to do is run some unit tests on SomeClass, especially if myObject is something that does complex disk or network access. So now you&#39;re looking at mocking myObject but also somehow intercepting the factory call. Hard. Instead, pass the object in as an argument to the constructor. Now you&#39;ve moved the problem elsewhere, but testing can become lots easier. Just make a dummy myObject and pass that in. The constructor would now look a bit like:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;public SomeClass (MyClass myObject) {&lt;br /&gt;    this.myObject = myObject;&lt;br /&gt;}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Most people can probably work out the other problems that might arise when not using dependency injection while testing (like classes that do too much work in their constructors etc.) Most of this is stuff I picked up on the &lt;a href=&quot;http://googletesting.blogspot.com/&quot;&gt;Google Testing Blog&lt;/a&gt;, to be perfectly honest...&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&quot;http://stackoverflow.com/questions/130794/what-is-dependency-injection&quot;&gt;http://stackoverflow.com/questions/130794/what-is-dependency-injection&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/891056482483366137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/05/dependency-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/891056482483366137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/891056482483366137'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2013/05/dependency-injection.html' title='Dependency Injection'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-2734145316271742388</id><published>2012-04-17T20:34:00.001+05:30</published><updated>2012-04-17T20:34:54.949+05:30</updated><title type='text'>Going to work on Visual Studio 2010, .Net Framework 4.0</title><content type='html'>&lt;p&gt;Are you going to work on Visual Studio 2010, .Net Framework 4.0?  &lt;p&gt;Have a look on these links first.  &lt;p&gt;Breaking changes in .NET 4.0:&amp;nbsp; &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ee855831%28VS.100%29.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ee855831%28VS.100%29.aspx&lt;/a&gt; &lt;p&gt;Breaking changes in ASP.NET 4.0:&amp;nbsp; &lt;a href=&quot;http://www.asp.net/whitepapers/aspnet4/breaking-changes&quot;&gt;http://www.asp.net/whitepapers/aspnet4/breaking-changes&lt;/a&gt; &lt;p&gt;Things we need to be aware of when using named parameters and optional parameters:&amp;nbsp; &lt;a href=&quot;http://msdn.microsoft.com/en-us/vstudio/hh913013.aspx&quot;&gt;http://msdn.microsoft.com/en-us/vstudio/hh913013.aspx&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/2734145316271742388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/04/going-to-work-on-visual-studio-2010-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2734145316271742388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2734145316271742388'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/04/going-to-work-on-visual-studio-2010-net.html' title='Going to work on Visual Studio 2010, .Net Framework 4.0'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-3755527614501429529</id><published>2012-03-07T16:48:00.001+05:30</published><updated>2012-03-26T21:07:18.018+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>Why doesn&amp;#39;t C# support multiple inheritance?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;This answer is from Chris Brumme via the following &lt;/span&gt;&lt;a href=&quot;http://dotnetjunkies.com/WebLog/unknownreference/archive/2003/09/04/1401.aspx&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;post&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;. I&#39;ve copied the text in here in case the post disappears. &lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;There are a number of reasons we don&#39;t implement Multiple Implementation Inheritance directly. (As you know, we support Multiple Interface Inheritance).&lt;/span&gt;  &lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;However, I should point out that it&#39;s possible for compilers to create MI for their types inside the CLR. There are a few rough edges if you go down this path: the result is unverifiable, there is no interop with other languages via the CLS, and in V1 and V1.1 you may run into deadlocks with the OS loader lock. (We&#39;re fixing that last problem, but the first two problems remain). The technique is to generate some VTables in RVA-based static fields. In order to deposit the addresses of managed methods (which probably haven&#39;t been JITted yet), you use the VTFixup construct. This construct is a table of triplets. The triplets consist of a token to a managed method, an address in your image that should be fixed up (in this case, a slot of the VTable you are creating in the RVA-based static), and some flags. The possible flags are described in corhdr.h and they allow you to specify 32- vs. 64-bit pointer sizes, control over virtual behavior, and whether some reverse-PInvoke behavior should be applied in the form of a thunk that eventually dispatches to the managed method. If we are performing an unmanaged-&amp;gt;managed transition, you also have some control over which AppDomain should be selected for us to dispatch the call. However, one of these options (COR_VTABLE_FROM_UNMANAGED_RETAIN_APPDOMAIN) doesn&#39;t exist in V1. We added it in V1.1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;There are several reasons we haven&#39;t provided a baked-in, verifiable, CLS-compliant version of multiple implementation inheritance:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;1. Different languages actually have different expectations for how MI works. For example, how conflicts are resolved and whether duplicate bases are merged or redundant. Before we can implement MI in the CLR, we have to do a survey of all the languages, figure out the common concepts, and decide how to express them in a language-neutral manner. We would also have to decide whether MI belongs in the CLS and what this would mean for languages that don&#39;t want this concept (presumably VB.NET, for example). Of course, that&#39;s the business we are in as a common language runtime, but we haven&#39;t got around to doing it for MI yet.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;2. The number of places where MI is truly appropriate is actually quite small. In many cases, multiple interface inheritance can get the job done instead. In other cases, you may be able to use encapsulation and delegation. If we were to add a slightly different construct, like mixins, would that actually be more powerful?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;3. Multiple implementation inheritance injects a lot of complexity into the implementation. This complexity impacts casting, layout, dispatch, field access, serialization, identity comparisons, verifiability, reflection, generics, and probably lots of other places.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;It&#39;s not at all clear that this feature would pay for itself. It&#39;s something we are often asked about. It&#39;s something we haven&#39;t done due diligence on. But my gut tells me that, after we&#39;ve done a deep examination, we&#39;ll still decide to leave the feature unimplemented.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Now come to the actual implementation part.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;What happens when we implement tow interfaces which are having same signature for a method? Most the developers think this will give compilation error. Some people would say, we should give the interface name as the prefix in the method signature while implementing in the class.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;First of all compiler will not give compilation error. And it is not necessary that you should give the interface name as the prefix. If you just use the same signature, compiler will understand that you are giving the implementation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;But if you give the interface name as the prefix, you cannot access the method directly. You should typecast the object as the interface type to use method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;If you see the following example, you can understand this.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #3d85c6;&quot;&gt;class &lt;/span&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;Emp : IA, IB&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #38761d;&quot;&gt;//1. Either dont mention the interface&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #3d85c6;&quot;&gt;public string &lt;/span&gt;methodA()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &quot;&lt;/span&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Class Emp&#39;s output&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; string &lt;/span&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;IA&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;.&lt;/span&gt;methodA()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &quot;&lt;/span&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Interface IA&#39;s output&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; string &lt;/span&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;IB&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;.&lt;/span&gt;methodA()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &quot;&lt;/span&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Interface IB&#39;s output&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Now invoking code looks like&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;Emp&lt;/span&gt; emp = &lt;span style=&quot;color: #3d85c6;&quot;&gt;new &lt;/span&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;Emp();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;emp.methodA();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;IA&lt;/span&gt; a = (&lt;span style=&quot;color: #76a5af;&quot;&gt;IA&lt;/span&gt;)emp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;a.methodA();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;IB&lt;/span&gt; b = (&lt;span style=&quot;color: #76a5af;&quot;&gt;IB&lt;/span&gt;)emp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;b.methodA();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Now if you print the output of the three method calls you wiil get&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-size: x-small;&quot;&gt;Class Emp&#39;s output&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-size: x-small;&quot;&gt;Interface IA&#39;s output&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-size: x-small;&quot;&gt;Interface IB&#39;s output&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/3755527614501429529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/03/why-doesn-c-support-multiple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/3755527614501429529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/3755527614501429529'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/03/why-doesn-c-support-multiple.html' title='Why doesn&amp;#39;t C# support multiple inheritance?'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-1497831627811144407</id><published>2012-03-06T18:56:00.001+05:30</published><updated>2012-03-06T18:56:42.578+05:30</updated><title type='text'>C# Lessons</title><content type='html'>&lt;p&gt;&lt;a href=&quot;http://www.csharp-station.com/Tutorial/CSharp/Lesson21&quot;&gt;To Study : http://www.csharp-station.com/Tutorial/CSharp/Lesson21&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/1497831627811144407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/03/c-lessons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1497831627811144407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1497831627811144407'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/03/c-lessons.html' title='C# Lessons'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-2359512123242703213</id><published>2012-02-16T21:30:00.001+05:30</published><updated>2012-03-14T13:22:26.716+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>ASP.NET Response.Redirect to new window</title><content type='html'>&lt;p&gt;&lt;font color=&quot;#c0504d&quot;&gt;&lt;strong&gt;&lt;u&gt;Method1&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;You need to add the following to your server side link/button:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;OnClientClick=&quot;aspnetForm.target =&#39;_blank&#39;;&quot;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;My entire button code looks something like:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;asp:LinkButton ID=&quot;myButton&quot; runat=&quot;server&quot; Text=&quot;Click Me!&quot; OnClick=&quot;myButton_Click&quot; OnClientClick=&quot;aspnetForm.target =&#39;_blank&#39;;&quot;/&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&lt;font color=&quot;#c0504d&quot;&gt;&lt;strong&gt;&lt;u&gt;Method 2&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;In the server side OnClick I do a Response.Redirect(&quot;MyPage.aspx&quot;); and the page is opened in a new window. &lt;br /&gt;&lt;p&gt;The other part you need to add is to fix the form&#39;s target otherwise every link will open in a new window. To do so add the following in the header of your POPUP window.&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function fixform() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (opener.document.getElementById(&quot;aspnetForm&quot;).target != &quot;_blank&quot;) return;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; opener.document.getElementById(&quot;aspnetForm&quot;).target = &quot;&quot;;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; opener.document.getElementById(&quot;aspnetForm&quot;).action = opener.location.href;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;and&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;body onload=&quot;fixform()&quot;&amp;gt;&lt;/code&gt;&lt;/pre&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/2359512123242703213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/02/aspnet-responseredirect-to-new-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2359512123242703213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2359512123242703213'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/02/aspnet-responseredirect-to-new-window.html' title='ASP.NET Response.Redirect to new window'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-4161248809489381622</id><published>2012-02-01T15:48:00.000+05:30</published><updated>2012-03-14T13:23:46.938+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery and Javascript"/><title type='text'>Disable-Enable all controls of page using jQuery</title><content type='html'>&lt;a href=&quot;http://jquerybyexample.blogspot.in/2010/10/jquery-code-to-disable-enable-all.html#.TykRdQ_rVTs.blogger&quot;&gt;Disable-Enable all controls of page using jQuery&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/4161248809489381622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/02/disable-enable-all-controls-of-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4161248809489381622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4161248809489381622'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2012/02/disable-enable-all-controls-of-page.html' title='Disable-Enable all controls of page using jQuery'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-3238144764755302571</id><published>2011-11-22T19:16:00.001+05:30</published><updated>2012-03-14T13:18:21.452+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="General"/><title type='text'>Software Clusters</title><content type='html'>&lt;div style=&quot;color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt&quot;&gt;&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://investincanada.gc.ca/eng/industry-sectors/software/software-map.aspx&quot;&gt;http://investincanada.gc.ca/eng/industry-sectors/software/software-map.aspx&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/3238144764755302571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/11/software-clusters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/3238144764755302571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/3238144764755302571'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/11/software-clusters.html' title='Software Clusters'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-1103678746435081765</id><published>2011-11-15T19:13:00.001+05:30</published><updated>2012-03-14T13:22:26.711+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>Test If Date Ranges Overlap</title><content type='html'>&lt;h3&gt;&lt;a href=&quot;http://c2.com/cgi/wiki?TestIfDateRangesOverlap&quot;&gt;Test If Date Ranges Overlap&lt;/a&gt;&lt;/h3&gt; &lt;p&gt;A commonly-used idiom for determining if one range of dates overlaps with another range of dates  &lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Given two date ranges, each with start and end dates (and possibly times), how do you determine if the ranges overlap?  &lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; &lt;p&gt;Testing the range &quot;start1 to end1&quot; against the range &quot;start2 to end2&quot; is done by testing if... &lt;pre&gt;	&lt;strong&gt;( start1 &amp;lt;= end2 and start2 &amp;lt;= end1 )&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;If TRUE, then the ranges overlap. &lt;br /&gt;&lt;p&gt;If the ranges do not include the &quot;end&quot; value itself, then use &quot;&amp;lt;&quot; instead of &quot;&amp;lt;=&quot; in the comparisons. &lt;br /&gt;&lt;p&gt;&lt;strong&gt;Important Assumption:&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;This assumes that start date &amp;lt;= end date in each range. This can also be stated as... &lt;pre&gt;	&lt;strong&gt;( start1 &amp;lt;= end1 and start2 &amp;lt;= end2 )&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;For discussion of what to do if this is not true, see below. &lt;br /&gt;&lt;p&gt;&lt;strong&gt;Applicability:&lt;/strong&gt; Is not limited to date/time comparisons; can also be used for ranges of numbers, names, and any other data type where ranges are meaningful. &lt;br /&gt;&lt;p&gt;&lt;strong&gt;Alternate Expression:&lt;/strong&gt;&lt;pre&gt;	&lt;strong&gt;not (end1 &amp;lt; start2 or end2 &amp;lt; start1)&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;dl&gt;&lt;br /&gt;&lt;dt&gt;&lt;br /&gt;&lt;dd&gt;The expression in brackets is true when one range is entirely to the left or right of the other. This condition is pretty easy to visualize. The ranges overlap if and only if it is false. &lt;/dd&gt;&lt;/dl&gt;&lt;strong&gt;Implementation:&lt;/strong&gt; &lt;em&gt;See &lt;a href=&quot;http://c2.com/cgi/wiki?MartinFowler&quot;&gt;MartinFowler&lt;/a&gt;&#39;s &lt;a href=&quot;http://c2.com/cgi/wiki?RangePattern&quot;&gt;RangePattern&lt;/a&gt; for implementation details.&lt;/em&gt; &lt;a href=&quot;http://www.martinfowler.com/ap2/range.html&quot;&gt;http://www.martinfowler.com/ap2/range.html&lt;/a&gt;&lt;br /&gt;&lt;p&gt;[&lt;a href=&quot;http://c2.com/cgi/wiki?CategoryPattern&quot;&gt;CategoryPattern&lt;/a&gt;] &lt;br /&gt;&lt;p&gt;&amp;nbsp; &lt;p&gt;Check the original post &lt;a title=&quot;http://c2.com/cgi/wiki?TestIfDateRangesOverlap&quot; href=&quot;http://c2.com/cgi/wiki?TestIfDateRangesOverlap&quot;&gt;http://c2.com/cgi/wiki?TestIfDateRangesOverlap&lt;/a&gt; for more information&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/1103678746435081765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/11/test-if-date-ranges-overlap-commonly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1103678746435081765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1103678746435081765'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/11/test-if-date-ranges-overlap-commonly.html' title='Test If Date Ranges Overlap'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-1024380228918446050</id><published>2011-11-11T21:48:00.001+05:30</published><updated>2012-03-14T13:22:26.705+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>SecurityTrimmingEnabled Issue</title><content type='html'>&lt;p&gt;We Faced a weird issue in our application today. We have a horizontal menu in the header portion of our application.&lt;/p&gt; &lt;p&gt;In development environment all menu items are getting rendered. &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9qTShq69A_U6luqFlDx8Kb62LkkE5srW0NzTenGdIaBbu_cQz5O07VtS6MlghNS8pgz6Sjl1MIk7d0_FfI6FD4CTX47uPpOliG_LTOoZ_CLVF3bQhaSB86mnnhCF-3SUQ6RhibKRLWI/s1600-h/WithAllMenu%25255B4%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;WithAllMenu&quot; border=&quot;0&quot; alt=&quot;WithAllMenu&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1Vf-AC4USEGTzitkbEGLI4Tvn8KxH-DPstgmqSWFG0bN25YemhiYay0V1XQZHZvQxOkFCo8QzCEgEjz8b49-Ec3cUSeZoiArlvAq-orpc8KiwBfl91g3fdvG1WijsIJrorf7R1DW6QCQ/?imgmax=800&quot; width=&quot;348&quot; height=&quot;96&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Some of the menu items refered the web links which links are part of another application.&lt;/p&gt; &lt;p&gt;But when we drop the executables to the QA environment, above mentioned menu items are not rendered.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiNs_wIvTKUybgYe9x1btRQZs4mFp_PCpo3Yfz9-dwgoNpHXT0II_Zmn_F4245dxb58tZiHBk5_V-Xvyx7doBim7SAHXXU0XEqiYZAK88u3llAVFDBjT4tBodpbpVExgoXy6OTbnHMt_0/s1600-h/WithoutAllMenu%25255B5%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;WithoutAllMenu&quot; border=&quot;0&quot; alt=&quot;WithoutAllMenu&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWEAxmmgM6VctEAxn7SmL1FRpr7-gs_tLLylT-oym3q0BKBIdMWSOLv7RIzVvdcLUKsEETQipHwOSTQ-4fD8Z7FmvrNznGPZWEMnEXhdTvLRuhXyz4oaFWIJ_4F-ImiZIHkxhc_l7zPOk/?imgmax=800&quot; width=&quot;349&quot; height=&quot;88&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The QA environment is SSL enabled application and the outside application is non-SSL enabled.&lt;/p&gt; &lt;p&gt;So we found that, when the Webmenu.Sitemap constructs the menu, &lt;br&gt;it does not show the non-SSL links when those links are invoked from SSL enabled.&lt;/p&gt; &lt;p&gt;We did not get any warning messages. After analyzed a lot, we understand that, we have to switch off the setting&lt;/p&gt; &lt;p&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;SecurityTrimmingEnabled to false&lt;/font&gt; since we are not using windows accounts for roled based menu.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCnlIx4AL92ob_ZGDH27QcDuwKgVMrk0BOORfxARStvR-gxMf8ysgT4jeAd4Bia-qxdEF9emYR7jkjfDn4ytZUEFdsjF1VMemy_sGZwxGce_YDlutZxUDe7KUXWfPi9yy_3bXzNtwcJFA/s1600-h/code%25255B8%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;code&quot; border=&quot;0&quot; alt=&quot;code&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7iUetk0eBze9ND5C5mDwaFi38g3cYLhjVt9aISpvzt5lbYWvwLpkrjsZhH1UjlatuwMTQ17k0Y5kvde-sqjlqPxy9imVAucEvCjCZf6CwPJ6t6xcBkuE6RAVkJzQQ0ANqT9mqg1IZOBQ/?imgmax=800&quot; width=&quot;748&quot; height=&quot;118&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;To know more about that visit the following links.&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;a title=&quot;http://blogs.msdn.com/b/dannychen/archive/2006/03/16/553005.aspx&quot; href=&quot;http://blogs.msdn.com/b/dannychen/archive/2006/03/16/553005.aspx&quot;&gt;http://blogs.msdn.com/b/dannychen/archive/2006/03/16/553005.aspx&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/1024380228918446050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/11/securitytrimmingenabled-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1024380228918446050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1024380228918446050'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/11/securitytrimmingenabled-issue.html' title='SecurityTrimmingEnabled Issue'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1Vf-AC4USEGTzitkbEGLI4Tvn8KxH-DPstgmqSWFG0bN25YemhiYay0V1XQZHZvQxOkFCo8QzCEgEjz8b49-Ec3cUSeZoiArlvAq-orpc8KiwBfl91g3fdvG1WijsIJrorf7R1DW6QCQ/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-6571144263436051654</id><published>2011-10-21T16:00:00.001+05:30</published><updated>2012-03-14T19:48:16.608+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="General"/><title type='text'>Drupal</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://drupal.org/&quot; target=&quot;_blank&quot;&gt;Drupal&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Drupal is an open source content management platform powering millions of websites and applications. It’s built, used, and supported by an active and diverse community of people around the world.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Why Choose Drupal?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Use Drupal to build everything from personal blogs to enterprise applications. Thousands of add-on modules and designs let you build any site you can imagine.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Drupal&#39;s History&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dries Buytaert began the Drupal software as an message board in 1999. Within a year or so, more people became interested using and contributing to Drupal, so the project was made open source.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Drupal.org came online in 2001, and the Drupal community gained momentum in 2005 with several code sprints and conferences. Read more about the full history of Drupal and Druplicon.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Commercial Services&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As well as the community, there are many dedicated companies in the Marketplace to help with your Drupal project. Providing expertise and a deeper understanding, they can help with design, development, hosting, spam blocking, theming, training, and more.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Who&#39;s Using Drupal&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;From local businesses to global corporations, diverse organizations use Drupal&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/6571144263436051654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/10/drupal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/6571144263436051654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/6571144263436051654'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/10/drupal.html' title='Drupal'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-7367942672406458450</id><published>2011-09-23T22:18:00.001+05:30</published><updated>2012-03-14T13:23:46.956+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery and Javascript"/><title type='text'>Disabling Script Debugging</title><content type='html'>&lt;p&gt;If you are using IE8+, you have to use a command line to disable script debugging.&amp;nbsp; Disabling script debugging can speed up your debugger a lot, so you might want to have it disabled unless you need it. &lt;p&gt;If you’re on a 64-bit Windows, make a batch file disable: &lt;p&gt;&lt;i&gt;c:\windows\syswow64\reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {170EC3FC-4E80-40AB-A85A-55900C7C70DE} /f&lt;/i&gt; &lt;p&gt;enable: &lt;p&gt;&lt;i&gt;c:\windows\syswow64\reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f&lt;/i&gt; &lt;p&gt;For 32-bit windows, just remove the &lt;i&gt;c:\windows\syswow64\&lt;/i&gt; part. &lt;p&gt;I added these two batch files to my External Tools&amp;nbsp; in VS (Tools-&amp;gt;External Tools) for quick access. &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBd_tc07D1WWNEzSzugdHyNp609SZURGsXexNCbLYyObihn8lnZ9bYYxjDGQVwmsybR3dnq7SgIiOD5PF69nFkm379Evh0gfAFFwl99qvrearZNXia1qF_WNbjeCcpYNVzxOFzw43geNM/s1600-h/1%25255B3%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;1&quot; border=&quot;0&quot; alt=&quot;1&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik-hGhqW3ec9XBXil0s25TpFsY-gMARxD5pR_d8jyDBtnNtiwpLGBYU3M-tCeCag6MZ6cGl9jquIKbhXebOpM0s5PWjtDxsWg-3ucKKs_ibMRzgz6_idyZVry2oANe1BADouZQp38H6HY/?imgmax=800&quot; width=&quot;410&quot; height=&quot;400&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDBYsGIKWhpmpJckwWAz8RJw_mCmjIfKR6sFiWdf2CiY68l6ehijbY8dzyTm7N8_0a-Nbjz9tOYycrTrh7hpTGHmhshOGNvHH__CAMAcp2RDg0-xR_Tj9IT28QdGg1ZGxVg1gGHwPDtO8/s1600-h/2%25255B5%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;2&quot; border=&quot;0&quot; alt=&quot;2&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXQUx4lUY2hztJlWDHgQrXkYUJZ_JPLD8hFHGvM0jUrYCMOazzRpMghU7QOla4IiaPRqauxKFJFSXq9_P73aCZZXqKLNZRLZ-qz0LfQ4B0RLRRfvCLegiwceptAtZwhZloPNsi_lsUUI4/?imgmax=800&quot; width=&quot;286&quot; height=&quot;398&quot;&gt;&lt;/a&gt;  &lt;p&gt;&amp;nbsp; &lt;p&gt;Hopefully you find this useful!&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/7367942672406458450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/09/disabling-script-debugging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/7367942672406458450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/7367942672406458450'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/09/disabling-script-debugging.html' title='Disabling Script Debugging'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik-hGhqW3ec9XBXil0s25TpFsY-gMARxD5pR_d8jyDBtnNtiwpLGBYU3M-tCeCag6MZ6cGl9jquIKbhXebOpM0s5PWjtDxsWg-3ucKKs_ibMRzgz6_idyZVry2oANe1BADouZQp38H6HY/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-9148066141300163780</id><published>2011-08-19T15:19:00.001+05:30</published><updated>2012-03-14T13:37:24.239+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="General"/><title type='text'>The 101 Most Useful Websites</title><content type='html'>&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;/font&gt;&amp;nbsp; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;img alt=&quot;most useful websites&quot; align=&quot;right&quot; src=&quot;http://img.labnol.org/di/useful_websites1.png&quot; width=&quot;176&quot; height=&quot;137&quot;&gt;As we quickly approach the dawn of a new year, here are my picks for the 101 most useful websites of the year 2010.&lt;/font&gt; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;The list primarily highlights the lesser-known or undiscovered websites and misses out all-time favorites like Google Docs, Wikipedia or IMDB that most of us are already aware of.&lt;/font&gt; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;/font&gt;&amp;nbsp; &lt;h4&gt;&lt;font size=&quot;3&quot; face=&quot;Verdana&quot;&gt;Useful Websites Worth a Bookmark!&lt;/font&gt;&lt;/h4&gt; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;The sites mentioned below, well most of them, solve at least one problem really well and they all have simple web addresses (URLs) that you can easily learn by heart thus saving you a trip to Google.&lt;/font&gt; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;In a hurry? Download this list as a &lt;/font&gt;&lt;a href=&quot;http://img.labnol.org/files/Most-Useful-Websites.pdf&quot;&gt;&lt;strong&gt;&lt;font face=&quot;Verdana&quot;&gt;PDF eBook&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; and read it anywhere.&lt;/font&gt; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;01. &lt;/font&gt;&lt;a href=&quot;http://www.screenr.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;screenr.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – record movies of your desktop and send them straight to YouTube. &lt;br&gt;02. &lt;/font&gt;&lt;a href=&quot;http://www.bounceapp.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;bounceapp.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – for capturing full length screenshots of web pages. &lt;br&gt;03. &lt;/font&gt;&lt;a href=&quot;http://goo.gl/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;goo.gl&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – shorten long URLs and convert URLs into &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/tools/qr-codes-share-text-inside-images/3867/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;QR codes&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;04. &lt;/font&gt;&lt;a href=&quot;http://untiny.me/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;untiny.me&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find the original URLs that&#39;s hiding behind a short URLs. &lt;br&gt;05. &lt;/font&gt;&lt;a href=&quot;http://localti.me&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;localti.me&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – know more than just the local time of a city &lt;br&gt;06. &lt;/font&gt;&lt;a href=&quot;http://copypastecharacter.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;copypastecharacter.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – copy special characters that aren&#39;t on your keyboard. &lt;br&gt;07. &lt;/font&gt;&lt;a href=&quot;http://topsy.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;topsy.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – a better search engine for twitter. &lt;br&gt;08. &lt;/font&gt;&lt;a href=&quot;http://www.facebook.com/AppStore&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;fb.me/AppStore&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – search iOS app without launching iTunes. &lt;br&gt;09. &lt;/font&gt;&lt;a href=&quot;http://www.iconfinder.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;iconfinder.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – the best place to find icons of all sizes. &lt;br&gt;10. &lt;/font&gt;&lt;a href=&quot;http://www.office.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;office.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – download templates, clipart and images for your Office documents. &lt;br&gt;11. &lt;/font&gt;&lt;a href=&quot;http://www.woorank.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;woorank.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – everything you wanted to know about a website. &lt;br&gt;12. &lt;/font&gt;&lt;a href=&quot;http://www.virustotal.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;virustotal.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – scan any suspicious file or email attachment for viruses. &lt;br&gt;13. &lt;/font&gt;&lt;a href=&quot;http://wolframalpha.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;wolframalpha.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – gets answers directly without searching&amp;nbsp; - see more &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/wolfram-alpha-tricks/17752/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;wolfram tips&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;14. &lt;/font&gt;&lt;a href=&quot;http://www.printwhatyoulike.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;printwhatyoulike.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – print web pages without the clutter. &lt;br&gt;15. &lt;/font&gt;&lt;a href=&quot;http://joliprint.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;joliprint.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – reformats news articles and blog content as a newspaper. &lt;br&gt;16. &lt;/font&gt;&lt;a href=&quot;http://isnsfw.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;isnsfw.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – when you wish to share a &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/safely-open-nsfw-websites/12881/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;NSFW page&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; but with a warning. &lt;br&gt;17. &lt;/font&gt;&lt;a href=&quot;http://e.ggtimer.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;e.ggtimer.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – a simple online timer for your daily needs. &lt;br&gt;18. &lt;/font&gt;&lt;a href=&quot;http://www.coralcdn.org/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;coralcdn.org&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – if a site is down due to heavy traffic, try accessing it through coral CDN. &lt;br&gt;19. &lt;/font&gt;&lt;a href=&quot;http://www.random.org&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;random.org&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – pick random numbers, flip coins, and more. &lt;br&gt;20. &lt;/font&gt;&lt;a href=&quot;http://www.mywot.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;mywot.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – check the trust level of any website - &lt;/font&gt;&lt;a href=&quot;http://www.mywot.com/en/scorecard/labnol.org&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;example&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;21. &lt;/font&gt;&lt;a href=&quot;http://viewer.zoho.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;viewer.zoho.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – Preview PDFs and Presentations directly in the browser. &lt;br&gt;22. &lt;/font&gt;&lt;a href=&quot;http://www.tubemogul.com/about/oneload&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;tubemogul.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – simultaneously upload videos to YouTube and &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/video/easily-upload-video-to-multiple-video-sharing-websites/1946/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;other video sites&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;23. &lt;/font&gt;&lt;a href=&quot;http://www.truveo.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;truveo.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – the best place for searching web videos. &lt;br&gt;24. &lt;/font&gt;&lt;a href=&quot;http://scr.im/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;scr.im&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – share you email address online without worrying about spam. &lt;br&gt;25. &lt;/font&gt;&lt;a href=&quot;http://spypig.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;spypig.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – now get &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/email/check-yahoo-gmail-email-read-receipts/2150/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;read receipts&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; for your email. &lt;br&gt;26. &lt;/font&gt;&lt;a href=&quot;http://www.sizeasy.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;sizeasy.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – visualize and compare the size of any product. &lt;br&gt;27. &lt;/font&gt;&lt;a href=&quot;http://www.whatfontis.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;whatfontis.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – quickly determine the font name from an image. &lt;br&gt;28. &lt;/font&gt;&lt;a href=&quot;http://www.fontsquirrel.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;fontsquirrel.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – a good collection of fonts – free for personal and commercial use. &lt;br&gt;29. &lt;/font&gt;&lt;a href=&quot;http://regex.info/exif.cgi&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;regex.info&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find data hidden in your photographs – see more &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/software/exif-data-editors/14210/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;EXIF tools&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;30. &lt;/font&gt;&lt;a href=&quot;http://www.tineye.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;tineye.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – this is like an online version of Google Googles. &lt;br&gt;31. &lt;/font&gt;&lt;a href=&quot;http://iwantmyname.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;iwantmyname.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – helps you &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/domain-name-research-tools/17881/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;search domains&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; across all TLDs. &lt;br&gt;32. &lt;/font&gt;&lt;a href=&quot;http://www.tabbloid.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;tabbloid.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – your favorite blogs delivered as PDFs. &lt;br&gt;33. &lt;/font&gt;&lt;a href=&quot;https://join.me/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;join.me&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – share you screen with anyone over the web. &lt;br&gt;34. &lt;/font&gt;&lt;a href=&quot;http://www.onlineocr.net/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;onlineocr.net&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – recognize text from scanned PDFs and images – see other &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/software/convert-images-to-text-with-ocr/17418/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;OCR tools&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;35. &lt;/font&gt;&lt;a href=&quot;http://www.flightstats.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;flightstats.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; - Track flight status at airports worldwide. &lt;br&gt;36. &lt;/font&gt;&lt;a href=&quot;https://www.wetransfer.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;wetransfer.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – for sharing really &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/share-large-files-without-email/13937/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;big files&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; online. &lt;br&gt;37. &lt;/font&gt;&lt;a href=&quot;http://pastebin.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;pastebin.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – a temporary online clipboard for your text and code snippets. &lt;br&gt;38. &lt;/font&gt;&lt;a href=&quot;http://www.polishmywriting.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;polishmywriting.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – check your writing for spelling or grammatical errors. &lt;br&gt;39. &lt;/font&gt;&lt;a href=&quot;http://www.awesomehighlighter.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;awesomehighlighter.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – easily highlight the important parts of a web page. &lt;br&gt;40. &lt;/font&gt;&lt;a href=&quot;http://typewith.me/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;typewith.me&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – work on the same document with multiple people. &lt;br&gt;41. &lt;/font&gt;&lt;a href=&quot;http://whichdateworks.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;whichdateworks.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – planning an event? &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/schedule-meetings-online/12172/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;find a date&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; that works for all. &lt;br&gt;42. &lt;/font&gt;&lt;a href=&quot;http://everytimezone.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;everytimezone.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – a less confusing view of the &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/world-time-zones/14346/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;world time zones&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;43. &lt;/font&gt;&lt;a href=&quot;http://warrick.cs.odu.edu/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;warrick.cs.odu.edu&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – you&#39;ll need this when your bookmarked &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/recover-deleted-webpages-from-internet/6529/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;web pages are deleted&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;44. &lt;/font&gt;&lt;a href=&quot;http://gtmetrix.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;gtmetrix.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – the perfect tool for measuring your &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/test-website-performance-online/17736/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;site performance&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; online. &lt;br&gt;45. &lt;/font&gt;&lt;a href=&quot;https://imo.im/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;imo.im&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; - chat with your buddies on Skype, Facebook, Google Talk, etc. from one place. &lt;br&gt;46. &lt;/font&gt;&lt;a href=&quot;http://translate.google.com/#&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;translate.google.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – translate web pages, PDFs and Office documents. &lt;br&gt;47. &lt;/font&gt;&lt;a href=&quot;http://www.youtube.com/leanback&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;youtube.com/leanback&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – enjoy a never ending stream of YouTube videos in full-screen. &lt;br&gt;48. &lt;/font&gt;&lt;a href=&quot;http://www.similarsites.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;similarsites.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – discover new sites that are similar to what you like already. &lt;br&gt;49. &lt;/font&gt;&lt;a href=&quot;http://www.wordle.net/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;wordle.net&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – quick summarize long pieces of text with tag clouds. &lt;br&gt;50. &lt;/font&gt;&lt;a href=&quot;http://www.bubbl.us/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;bubbl.us&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – create mind-maps, brainstorm ideas in the browser. &lt;br&gt;51. &lt;/font&gt;&lt;a href=&quot;http://kuler.adobe.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;kuler.adobe.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – get color ideas, also &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/home/decoration/choose-living-room-color-scheme-popular-paint-combination-ideas/2782/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;extract colors&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; from photographs. &lt;br&gt;52. &lt;/font&gt;&lt;a href=&quot;http://www.followupthen.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;followupthen.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – setup quick &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/setup-email-reminders/17910/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;reminders via email&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; itself. &lt;br&gt;53. &lt;/font&gt;&lt;a href=&quot;http://lmgtfy.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;lmgtfy.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – when your friends are too lazy to use Google on their own. &lt;br&gt;54. &lt;/font&gt;&lt;a href=&quot;http://tempalias.com/#/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;tempalias.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – generate temporary email aliases, better than &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/email-address-safety/12746/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;disposable email&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;55. &lt;/font&gt;&lt;a href=&quot;http://www.pdfescape.com/pdf/open/preload.asp&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;pdfescape.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – lets you can quickly &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/software/edit-pdf-files/10870/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;edit PDFs&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; in the browser itself. &lt;br&gt;56. &lt;/font&gt;&lt;a href=&quot;http://faxzero.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;faxzero.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – send an online fax for free – see more &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/send-fax-from-computer/17676/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;fax services&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;57. &lt;/font&gt;&lt;a href=&quot;http://www.feedmyinbox.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;feedmyinbox.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – get RSS feeds as an email newsletter. &lt;br&gt;58. &lt;/font&gt;&lt;a href=&quot;http://isendr.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;isendr.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – transfer files without uploading to a server. &lt;br&gt;59. &lt;/font&gt;&lt;a href=&quot;http://tinychat.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;tinychat.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – setup a private chat room in micro-seconds. &lt;br&gt;60. &lt;/font&gt;&lt;a href=&quot;http://www.privnote.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;privnote.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – create text notes that will self-destruct after being read. &lt;br&gt;61. &lt;/font&gt;&lt;a href=&quot;http://flightaware.com/live/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;flightaware.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – live flight tracking service for airports worldwide. &lt;br&gt;62. &lt;/font&gt;&lt;a href=&quot;http://boxoh.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;boxoh.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – track the status of any shipment on Google Maps – &lt;/font&gt;&lt;a href=&quot;http://labnol.blogspot.com/2007/03/track-shipments-from-ups-dhl-or-fedex.html&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;alternative&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;63. &lt;/font&gt;&lt;a href=&quot;http://www.chipin.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;chipin.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – when you need to raise funds online for an event or a cause. &lt;br&gt;64. &lt;/font&gt;&lt;a href=&quot;http://downforeveryoneorjustme.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;downforeveryoneorjustme.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find if your favorite website is offline or not? &lt;br&gt;65. &lt;/font&gt;&lt;a href=&quot;http://www.example.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;example.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – this website can be used as an example in documentation. &lt;br&gt;66. &lt;/font&gt;&lt;a href=&quot;http://www.whoishostingthis.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;whoishostingthis.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find the web host of any website. &lt;br&gt;67. &lt;/font&gt;&lt;a href=&quot;https://www.google.com/history/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;google.com/history&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – found something on Google but can&#39;t remember it now? &lt;br&gt;68. &lt;/font&gt;&lt;a href=&quot;http://errorlevelanalysis.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;errorlevelanalysis.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find whether a photo is real or a photoshopped one. &lt;br&gt;69. &lt;/font&gt;&lt;a href=&quot;http://www.google.com/dictionary&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;google.com/dictionary&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – get word meanings, pronunciations and usage examples. &lt;br&gt;70. &lt;/font&gt;&lt;a href=&quot;http://www.urbandictionary.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;urbandictionary.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find definitions of slangs and informal words. &lt;br&gt;71. &lt;/font&gt;&lt;a href=&quot;http://www.seatguru.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;seatguru.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – consult this site before choosing a seat for your next flight. &lt;br&gt;72. &lt;/font&gt;&lt;a href=&quot;http://www.sxc.hu/index.html&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;sxc.hu&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – download stock images absolutely free. &lt;br&gt;73. &lt;/font&gt;&lt;a href=&quot;http://zoom.it/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;zoom.it&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – view very high-resolution images in your browser without scrolling. &lt;br&gt;74. &lt;/font&gt;&lt;a href=&quot;http://wobzip.org/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;wobzip.org&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – unzip your compressed files online. &lt;br&gt;75. &lt;/font&gt;&lt;a href=&quot;http://vocaroo.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;vocaroo.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – record your voice with a click. &lt;br&gt;76. &lt;/font&gt;&lt;a href=&quot;http://scribblemaps.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;scribblemaps.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – create custom Google Maps easily. &lt;br&gt;77. &lt;/font&gt;&lt;a href=&quot;http://www.buzzfeed.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;buzzfeed.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – never miss another Internet meme or viral video. &lt;br&gt;78. &lt;/font&gt;&lt;a href=&quot;http://www.alertful.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;alertful.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – quickly setup email reminders for important events. &lt;br&gt;79. &lt;/font&gt;&lt;a href=&quot;https://encrypted.google.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;encrypted.google.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – prevent your ISP and boss from reading your search queries. &lt;br&gt;80. &lt;/font&gt;&lt;a href=&quot;http://formspring.me/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;formspring.me&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – you can ask or answer personal questions here. &lt;br&gt;81. &lt;/font&gt;&lt;a href=&quot;http://snopes.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;snopes.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – find if that email offer you received is real or just another scam. &lt;br&gt;82. &lt;/font&gt;&lt;a href=&quot;http://www.typingweb.com/tutor/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;typingweb.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – master touch-typing with these practice sessions. &lt;br&gt;83. &lt;/font&gt;&lt;a href=&quot;http://mailvu.com&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;mailvu.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – send video emails to anyone using your web cam. &lt;br&gt;84. &lt;/font&gt;&lt;a href=&quot;http://ge.tt&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;ge.tt&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – quickly send a file to someone, they can even preview it before downloading. &lt;br&gt;85. &lt;/font&gt;&lt;a href=&quot;http://timerime.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;timerime.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – create timelines with audio, video and images. &lt;br&gt;86. &lt;/font&gt;&lt;a href=&quot;http://studio.stupeflix.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;stupeflix.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – make a movie out of your images, audio and video clips. &lt;br&gt;87. &lt;/font&gt;&lt;a href=&quot;http://www.aviary.com/tools/myna&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;aviary.com/myna&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – an online audio editor that lets record, and remix audio clips online. &lt;br&gt;88. &lt;/font&gt;&lt;a href=&quot;http://www.noteflight.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;noteflight.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – print music sheets, write your own music online (&lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/compose-music-notations-online/9457/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;review&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;). &lt;br&gt;89. &lt;/font&gt;&lt;a href=&quot;http://disposablewebpage.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;disposablewebpage.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – create a &lt;/font&gt;&lt;a href=&quot;http://labnol.blogspot.com/2007/10/create-temporary-webpage-that-self.html&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;temporary web page&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; that self-destruct. &lt;br&gt;90. &lt;/font&gt;&lt;a href=&quot;http://www.namemytune.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;namemytune.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – when you need to &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/find-name-of-songs/12316/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;find the name of a song&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;91. &lt;/font&gt;&lt;a href=&quot;http://www.homestyler.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;homestyler.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – design from scratch or re-model your &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/3d-home-design-software/8788/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;home in 3d&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;92. &lt;/font&gt;&lt;a href=&quot;http://snapask.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;snapask.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – use email on your phone to find sports scores, read Wikipedia, etc. &lt;br&gt;93. &lt;/font&gt;&lt;a href=&quot;http://teuxdeux.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;teuxdeux.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – a beautiful to-do app that looks like your &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/organize-todo-lists-online/11619/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;paper dairy&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;94. &lt;/font&gt;&lt;a href=&quot;http://www.livestream.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;livestream.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – broadcast events live over the web, including your desktop screen. &lt;br&gt;95. &lt;/font&gt;&lt;a href=&quot;http://www.bing.com/images&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;bing.com/images&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – automatically find perfectly-sized &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/find-wallpapers-for-mobile-phones/13650/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;wallpapers for mobiles&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt;. &lt;br&gt;96. &lt;/font&gt;&lt;a href=&quot;http://historio.us/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;historio.us&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – preserve complete web pages with all the formatting. &lt;br&gt;97. &lt;/font&gt;&lt;a href=&quot;http://dabbleboard.com/draw&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;dabbleboard.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – your virtual whiteboard. &lt;br&gt;98. &lt;/font&gt;&lt;a href=&quot;https://www.whisperbot.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;whisperbot.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – send an email without using your own account. &lt;br&gt;99. &lt;/font&gt;&lt;a href=&quot;http://sumopaint.com/app/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;sumopaint.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – an excellent layer-based online image editor. &lt;br&gt;100. &lt;/font&gt;&lt;a href=&quot;http://my.lovelycharts.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;lovelycharts.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – create flowcharts, network diagrams, sitemaps, etc. &lt;br&gt;101. &lt;/font&gt;&lt;a href=&quot;http://nutshellmail.com/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;nutshellmail.com&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; – Get your Facebook and &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/internet/nutshellmail-for-twitter/8006/&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;Twitter streams&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana&quot;&gt; in your inbox.&lt;/font&gt; &lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;Also see: &lt;/font&gt;&lt;a href=&quot;http://www.labnol.org/websites/&quot;&gt;&lt;strong&gt;&lt;font face=&quot;Verdana&quot;&gt;Best of the Web&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;p&gt; &lt;p&gt;&lt;small&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;/font&gt;&lt;/small&gt;&lt;/p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;/font&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/9148066141300163780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/08/101-most-useful-websites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/9148066141300163780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/9148066141300163780'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/08/101-most-useful-websites.html' title='The 101 Most Useful Websites'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-4321232509080057760</id><published>2011-08-09T19:05:00.001+05:30</published><updated>2012-03-14T13:22:26.734+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>Identifying value changed controls while submitting</title><content type='html'>&lt;div class=WordSection1&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;color:#17365D&#39;&gt;Most of the application developers face the common requirement of giving alert message or showing a popup when particular set of controls are &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;color:#17365D&#39;&gt;changed. Consider the following example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;color:#17365D&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;color:#17365D&#39;&gt;Requirement: The alert message or a popup should be shown only when the Language, Timezone and Country controls are changed. If those controls are not &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;color:#17365D&#39;&gt;changed, just save the imformation submitted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-indent:.5in;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-indent:.5in;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-indent:.5in;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#A31515&#39;&gt;table&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; &lt;span style=&#39;color:red&#39;&gt;cellspacing&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;0&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;cellpadding&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;0&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;border&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;0&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;Label&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Label1&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Language:&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;AssociatedControlID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;LanguageDropDownList&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:blue&#39;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;DropDownList&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;DropDownList1&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;DropDownList&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;Label&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Label2&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Timezone:&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;AssociatedControllID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;TimeZonesDropDownList&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:blue&#39;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;DropDownList&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;DropDownList2&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;DropDownList&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;Label&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;CountryLabel&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Country:&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:blue&#39;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;TextBox&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;CountryTextBox&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;TextBox&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;table&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;table&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;cellspacing&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;0&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;cellpadding&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;0&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;border&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;0&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;Label&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;NameLabel&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Name:&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:blue&#39;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;TextBox&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;NameTextBox&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;TextBox&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;Label&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;RoleLabel&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;Text&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;Role:&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;AssociatedControlID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;RoleDropDownList&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:blue&#39;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;DropDownList&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;ID&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;RoleDropDownList&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;runat&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&#39;color:red&#39;&gt;EnableViewState&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&amp;quot;False&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;asp&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;DropDownList&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;td&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;tr&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#A31515&#39;&gt;table&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b&gt;Logic 1: Setting a flag when control value changed&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;1. To address this requirement, developers used the logic of setting a flag to true whenever any of the required controls is changed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;var&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; isChanged = &lt;span style=&#39;color:blue&#39;&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;function&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; changeStatus()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;if&lt;/span&gt;(!isChanged) isChanged=&lt;span style=&#39;color:blue&#39;&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;The javascript method changeStatus() will be called for Language, Timezone and Country controls. Based on the flag value, the decision of &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;showing the alert/popup or not is taken. This logic has some flaws. When the user changes the control value and immediately set back to the old &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;value, the flag is still set to true. The logic fails. Then we need to find out the solution for not setting true while the value is set back to old.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b&gt;Logic 2: Compare the populated value and current value&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;There is another different&amp;nbsp; logic for the given requirement. On server side page_load (..) method, while populating the controls get the values of &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;required controls and store it in a hidden field.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;if&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;(!IsPostback)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PopulateControls();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;private&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; populateControls()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialValueHiddenField.Value = LanguageDropDownList.SelectedValue + TimeZonesDropDownList.SelectedValue + CountryTextBox.Text;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;At the time of submitting, on client side get the concatenated values and compare with the populated values to decide showing the popup.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;function&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; SubmitButtonClientClick()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;var&lt;/span&gt; actualValue = document.getElementById(&lt;span style=&#39;color:#A31515&#39;&gt;&#39;LanguageDropDownList&#39;&lt;/span&gt;).options ...... &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + document.getElementById(&lt;span style=&#39;color:#A31515&#39;&gt;&#39;TimezonDropDownList&#39;&lt;/span&gt;).options ......;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + document.getElementById(&lt;span style=&#39;color:#A31515&#39;&gt;&#39;CountryTextBox&#39;&lt;/span&gt;).value;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;if&lt;/span&gt;(document.getElementById(&lt;span style=&#39;color:#A31515&#39;&gt;&#39;initialValueHiddenField&#39;&lt;/span&gt;).value == actualValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;return&lt;/span&gt; ShowPopup();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b&gt;Logic 3: Check the initial value and current value using JQuery&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;Set an Id attribute to the table where the required controls are there.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#A31515&#39;&gt;table&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt; &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red&#39;&gt;cellspacing&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;=&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt;0&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt; &lt;/span&gt;&lt;span style=&#39;color:red&#39;&gt;cellpadding&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt;0&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt; &lt;/span&gt;&lt;span style=&#39;color:red&#39;&gt;border&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt;0&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt; &lt;/span&gt;&lt;span style=&#39;color:red&#39;&gt;id&lt;/span&gt;&lt;span style=&#39;color:blue&#39;&gt;=&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt;settingsTable&lt;/span&gt;&amp;quot;&lt;span style=&#39;color:blue&#39;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;Now the following client side methods should be written.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;$(document).ready(&lt;span style=&#39;color:blue&#39;&gt;function&lt;/span&gt;() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialState = getState();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;function&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; getState()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;var&lt;/span&gt; state = &lt;span style=&#39;color:#A31515&#39;&gt;&amp;quot;&amp;quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&lt;span style=&#39;color:#A31515&#39;&gt;&#39;#settingstable input, #settingstable select).each( function() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:green&#39;&gt;//for checkbox controls val() method always returns &amp;quot;on&amp;quot; irrespective of the checked/unchecked state.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:green&#39;&gt;//so get the checked/unchecked value only for checkboxes. For other controls, get the val()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;if&lt;/span&gt;($(&lt;span style=&#39;color:blue&#39;&gt;this&lt;/span&gt;).val()==&lt;span style=&#39;color:#A31515&#39;&gt;&amp;quot;on&amp;quot;&lt;/span&gt;){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state += $(&lt;span style=&#39;color:blue&#39;&gt;this&lt;/span&gt;).is(&lt;span style=&#39;color:#A31515&#39;&gt;&#39;:checked&#39;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;else&lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state += $(&lt;span style=&#39;color:blue&#39;&gt;this&lt;/span&gt;).val();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;return&lt;/span&gt; state;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue&#39;&gt;function&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt; SubmitButtonClientClick()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;if&lt;/span&gt;(initialState&amp;nbsp; == getState())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:blue&#39;&gt;return&lt;/span&gt; ShowPopup();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;Since we did not use the ID property of the controls, when new controls are introduced, we should just add to the settingstable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;So this logic will be more effective. As we are using JQuery no need to worry about the browser compatibility.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/4321232509080057760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/08/identifying-value-changed-controls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4321232509080057760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4321232509080057760'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/08/identifying-value-changed-controls.html' title='Identifying value changed controls while submitting'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-4443544780552435446</id><published>2011-07-28T20:10:00.001+05:30</published><updated>2012-03-14T13:35:05.199+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="General"/><title type='text'>Quick Test Professional (QTP)</title><content type='html'>&lt;h4&gt;Introduction&lt;/h4&gt; &lt;p&gt;Quick Test Professional (&lt;a href=&quot;http://en.wikipedia.org/wiki/HP_QuickTest_Professional&quot;&gt;QTP&lt;/a&gt;) is an automated functional Graphical User Interface (GUI) testing tool that allows the automation of user actions on a web or client based computer application. &lt;p&gt;It is primarily used for functional regression test automation. QTP uses a scripting language built on top of VBScript to specify the test procedure, and to manipulate the objects and controls of the application under test. &lt;p&gt;&lt;b&gt;Contents:&lt;/b&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/testing-process.asp&quot;&gt;Testing Process&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/test-model-object.asp&quot;&gt;Test Object Model&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/object-repositories.asp&quot;&gt;Object Repositories&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/checkpoints.asp&quot;&gt;Checkpoints&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/recording.asp&quot;&gt;QTP Recording&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/parameterizing-tests.asp&quot;&gt;Parameterizing Tests&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/keyword-view.asp&quot;&gt;Keyword View&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/actions.asp&quot;&gt;Actions in QTP&lt;/a&gt; &lt;li&gt;&lt;a href=&quot;http://www.onestoptesting.com/qtp/vbscript-in-qtp.asp&quot;&gt;VBScript in QTP&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/4443544780552435446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/07/quick-test-professional-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4443544780552435446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/4443544780552435446'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/07/quick-test-professional-qtp.html' title='Quick Test Professional (QTP)'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-573522074136153058</id><published>2011-06-29T20:59:00.002+05:30</published><updated>2012-03-14T13:22:26.742+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>An OLE DB Provider was not specified in the ConnectionString. An example would be, &amp;#39;Provider=SQLOLEDB;&amp;#39;.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
We are using typed dateset in DataAccess layer. I faced a weird issue while trying to add a new column with some of the datatables in the typed dataset for eg. USER table. But I can edit datatables of some other typed datasets which are also resides in the same location.&lt;br /&gt;
&lt;br /&gt;
To add the column, I right-clicked on the DataTable. In the quick menu, i have selected the Add-&amp;gt;columns. Entered new column name. When i pressed the save option in the Visual Studio, i got the following message.&lt;br /&gt;
&lt;strong&gt;&quot;An OLE DB Provider was not specified in the ConnectionString.&amp;nbsp; An example would be, &#39;Provider=SQLOLEDB;&#39;.&quot;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;Finally. we resolved this issue by simply removing some annotaion tags in the dataset. Following are the steps to do that.&lt;br /&gt;
&lt;br /&gt;
1. Open the typed dataset in Xml editor( Right click the *.axd file --&amp;gt; open with --&amp;gt; Xml Editor (default))&lt;br /&gt;
2. Find for &amp;lt;xs:annotation&amp;gt; tag.&lt;br /&gt;
3. Remove entire tag.(There will be some inner tags. if you want take a back up of those lines, do it)&lt;br /&gt;
4. Save the file.&lt;br /&gt;
5. Close the Xml view.&lt;br /&gt;
6. Once again open the typed dataset in the Dataset designer. &lt;br /&gt;
7. Try to add the columns. &lt;br /&gt;
Now you will be able to add/edit columns. I don&#39;t know what actually happens!!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/573522074136153058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/06/ole-db-provider-was-not-specified-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/573522074136153058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/573522074136153058'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/06/ole-db-provider-was-not-specified-in.html' title='An OLE DB Provider was not specified in the ConnectionString. An example would be, &amp;#39;Provider=SQLOLEDB;&amp;#39;.'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-785619834307682114</id><published>2011-05-19T15:40:00.001+05:30</published><updated>2012-03-14T13:22:26.778+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>Different ways to create excel files</title><content type='html'>&lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;I Just analyzed the methodologies used to read/write excel files and listed the pros and cons below. &lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;b&gt;OpenXML (Office 2007 .XLSX)&lt;/b&gt; &lt;/font&gt;&lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Pros: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Reliable as this is a Microsoft’s product. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Native Excel format &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Supports all Excel features &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Do not require an install copy of Excel &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Open XML SDK 2.o Productivity tool to generate code. &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Cons: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Limited compatibility outside Excel 2007 &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Complicated unless you&#39;re using an expensive third party component &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;b&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;NPOI &lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Pros: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Easy to use and similar to existing SyncFusion code. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Do not require an install copy of Excel &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Excel Chart, Pivot Table, Auto filter on columns, Insert images in header or footer are supported in NPOI 1.2.3 and later versions. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Supports Office Open Xml (OOXML) format also.(using ExcelPackage) &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Cons:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;b&gt;COM Interop&lt;/b&gt; &lt;/font&gt;&lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Pros: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Uses native Microsoft libraries &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Read support for native documents &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Cons: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Very slow &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Dependency/version matching issues &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Concurrency/data integrity issues for web use when reading &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Scaling issues for web use (different from concurrency): need to create many instances of heavy Excel app on the server &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Requires Windows &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;b&gt;SpreadSheetML (open format XML)&lt;/b&gt; &lt;/font&gt;&lt;/font&gt; &lt;p&gt;&lt;b&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Pros: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Supports most Excel features: formatting, styles, formulas’, multiple sheets per workbook &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Excel does not need to be installed to use it &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;No third party libraries needed - just write out your xml &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Documents can be opened by Excel XP/2003/2007 &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Cons: &lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Lack of good documentation &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Not supported in older versions of Excel (pre-2000) &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Write-only, in that once you open it and make changes from Excel it&#39;s converted to native Excel. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Apart from these, there are some more third party tools available. &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;ol&gt; &lt;li&gt;&lt;b&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Spreadsheetgear &lt;/font&gt;&lt;a href=&quot;http://www.spreadsheetgear.com&quot;&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;http://www.spreadsheetgear.com&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt; &lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;(License required)&lt;b&gt;&lt;/b&gt; &lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;They are claiming that it is faster than Open XMl SDK 2.0.&amp;nbsp; We can find a testimonial from MSN project manager saying MSN is using spreadsheetgear in the home page. &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;ol&gt; &lt;li&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;b&gt;Aspose&lt;/b&gt; (&lt;/font&gt;&lt;/font&gt;&lt;a href=&quot;http://www.aspose.com/categories/.net-components/aspose.total-for-.net/default.aspx&quot;&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;http://www.aspose.com/categories/.net-components/aspose.total-for-.net/default.aspx&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;)&amp;nbsp; (License required) &lt;/font&gt; &lt;li&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;b&gt;MyXls&lt;/b&gt; -&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;a href=&quot;http://sourceforge.net/projects/myxls/&quot;&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;http://sourceforge.net/projects/myxls/&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt; (Freeware)&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/785619834307682114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/05/different-ways-to-create-excel-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/785619834307682114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/785619834307682114'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/05/different-ways-to-create-excel-files.html' title='Different ways to create excel files'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-6627536501337667029</id><published>2011-05-02T16:39:00.001+05:30</published><updated>2012-03-14T13:22:26.752+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>Nullable Types in C#</title><content type='html'>&lt;p&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Nullable types are instances of the System.Nullable&amp;lt;T&amp;gt; struct. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;In C# 2.0 and above, you can store null value in any of your datatypes. But the datatype is little bit different.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;We know that bool type will hold either true or false. But nullable bool will allow you to assign null also.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Characteristics:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Value Type&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Nullable types represent value-type variables that can be assigned the value of &lt;b&gt;null&lt;/b&gt;. You cannot create a nullable type based on a reference type. (Reference types already support the &lt;b&gt;null&lt;/b&gt; value.)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Assign a value to a nullable type in the same way as for an ordinary value type, for example &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;? i = 10;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;double&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;? d1 = 3.14;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;bool&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? flag = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;char&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? letter = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&#39;a&#39;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;?[] arr = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;new&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;?[10];&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-bidi-font-family: calibri; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;GetValueOrDefault&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-bidi-font-family: calibri&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;Use the &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;span class=&quot;linkterms&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/72cec0e0(v=VS.80).aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;System.Nullable.GetValueOrDefault&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; property to return either the assigned value, or the default value for the underlying type if the value is &lt;b&gt;null&lt;/b&gt;, for example&lt;/font&gt;&lt;/font&gt;&lt;tt style=&quot;line-height: normal&quot; xmlns:asp=&quot;http://msdn2.microsoft.com/asp&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-ansi-font-size: 11.0pt; mso-bidi-font-size: 11.0pt&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.25in; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt; x? = 10;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.25in; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt; j = x.GetValueOrDefault();&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span class=&quot;linkterms&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/sksw8094(v=VS.80).aspx&quot;&gt;&lt;span style=&quot;mso-themecolor: text2; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;HasValue&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#1f497d&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt; &amp;amp; &lt;/font&gt;&lt;span class=&quot;linkterms&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ydkbatt6(v=VS.80).aspx&quot;&gt;&lt;span style=&quot;mso-themecolor: text2; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;Value&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;Use the &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;span class=&quot;linkterms&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/sksw8094(v=VS.80).aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;HasValue&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; and &lt;/font&gt;&lt;span class=&quot;linkterms&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ydkbatt6(v=VS.80).aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;Value&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; read-only properties to test for null and retrieve the value, for example&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.25in; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;if&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt; (x.HasValue) j = x.Value;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;The &lt;b&gt;HasValue&lt;/b&gt; property returns &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#0000ff&quot;&gt;true&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt; if the variable contains a value, or &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#0000ff&quot;&gt;false&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt; if it is &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;The &lt;b&gt;Value&lt;/b&gt; property returns a value if one is assigned, otherwise a &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;span class=&quot;linkterms&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.invalidoperationexception(v=VS.80).aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;System.InvalidOperationException&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; is thrown.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;The default value for a nullable type variable sets &lt;b&gt;HasValue&lt;/b&gt; to &lt;b&gt;false&lt;/b&gt;. The &lt;b&gt;Value&lt;/b&gt; is undefined.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Conversions&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-bidi-font-weight: bold; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Explicit Conversions:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;A nullable type can be cast to a regular type, either explicitly with a cast, or by using the &lt;tt style=&quot;line-height: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-ansi-font-size: 11.0pt; mso-bidi-font-size: 11.0pt&quot;&gt;Value&lt;/span&gt;&lt;/tt&gt; property. For example:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? n = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font color=&quot;#008000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;//int m1 = n;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// Will not compile.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt; m2 = (&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;)n;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Compiles, but will create an exception if x is null.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt; m3 = n.Value;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Compiles, but will create an exception if x is null.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-bidi-font-weight: bold; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Implicit Conversions:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;The conversion from an ordinary type to a nullable type, is implicit.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;? n2;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;n2 = 10;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Implicit conversion.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Operators&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;The predefined unary and binary operators and any user-defined operators that exist for value types may also be used by nullable types.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;? a = 10;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? b = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;a++;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Increment by 1, now a is 11.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;a = a * 10;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Multiply by 10, now a is 110.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;a = a + b;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Add b, now a is null.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-bidi-font-weight: bold; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#1f497d&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;??&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt; operator&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Use the &lt;b&gt;??&lt;/b&gt; operator to assign a default value that will be applied when a nullable type whose current value is null is assigned to a non-nullable type.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0.25in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Example 1&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? c = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font color=&quot;#008000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;// d = c, unless c is null, in which case d = -1.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt; d = c ?? -1;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-bidi-font-family: calibri&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;Example 2&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? e = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? f = &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font color=&quot;#008000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;// g = e or f, unless e and f are both null, in which case g = -1.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt; g = e ?? f ?? -1;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 0pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: &quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#1f497d&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;Boxing Nullable Types&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-themecolor: text2&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font color=&quot;#1f497d&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-bidi-font-family: calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;Keep in mind that nullable types are value types and can hold null values whereas Reference types hold null value by default.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; text-indent: 0.5in; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;Objects based on nullable types are only boxed if the object is non-null. If HasValue is false, the object reference is assigned to null instead of boxing. For example&lt;/font&gt;&lt;/font&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-themecolor: text2&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;:&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.5in; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;bool&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? b = &lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;object&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; o = b;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; text-indent: 0.5in; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// Now o is null.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;If the object is non-null -- if &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/sksw8094.aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Calibri&quot;&gt;HasValue&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot;&gt; is &lt;span class=&quot;input&quot;&gt;true&lt;/span&gt; -- then boxing occurs, but only the underlying type that the nullable object is based on is boxed. Boxing a non-null nullable value type boxes the value type itself, not the &lt;/font&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/b3h38hb0.aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;System&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;Nullable&lt;span xmlns=&quot;&quot;&gt;&amp;lt;&lt;/span&gt;T&lt;/font&gt;&lt;span xmlns=&quot;&quot;&gt;&lt;font style=&quot;text-decoration: none&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt; that wraps the value type. For example:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;bool&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? b = &lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;false&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;? i = 44;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;object&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; bBoxed = b; &lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// bBoxed contains a boxed bool.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;object&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; iBoxed = i; &lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// iBoxed contains a boxed int.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: ; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;The two boxed objects are identical to those created by boxing non-nullable types. And, just like non-nullable boxed types, they can be unboxed into nullable types, as in the following example:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.5in; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;bool&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;? b2 = (&lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;bool&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;?)bBoxed;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;? i2 = (&lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;?)iBoxed;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Identifying Nullable Types&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-bidi-font-family: calibri&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt;We can identify the nullable types using the following methods.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;1. System.Type&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;2. &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;System.Reflection&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;3. is operator&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Using &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;System.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt; Type&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin-left: 0in; margin-right: 0in&quot;&gt;&lt;span style=&quot;font-family: &quot;&gt;&lt;font color=&quot;#000000&quot; face=&quot;Segoe UI&quot;&gt;&lt;font style=&quot;font-size: 9.5pt&quot;&gt;We can use the C# &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 9.5pt&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/58918ffs.aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Segoe UI&quot;&gt;typeof&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot; face=&quot;Segoe UI&quot;&gt; operator to create a &lt;/font&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.type.aspx&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-theme-font: major-fareast&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Segoe UI&quot;&gt;Type&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face=&quot;Segoe UI&quot;&gt;&lt;font style=&quot;font-size: 9.5pt&quot; color=&quot;#000000&quot;&gt; object that represents a Nullable type:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 9pt; word-break: break-all; 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&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-fareast-font-family: &#39;Times New Roman&#39;&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-tab-count: 1&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;System.Type type = typeof(int?);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-themecolor: text2&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;Using &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;System.Reflection&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-bidi-font-family: calibri&quot;&gt;&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;You can also use the classes and methods of the &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.reflection.aspx&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Calibri&quot;&gt;System.Reflection&lt;/font&gt;&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot;&gt; namespace to generate &lt;/font&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.type.aspx&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Calibri&quot;&gt;Type&lt;/font&gt;&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt; objects that represent Nullable types.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#0000ff&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.5in; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt;? i = 5;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; text-indent: 0.5in; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;Type&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#000000&quot;&gt; t = i.GetType();&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;line-height: 12pt; font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#2b91af&quot;&gt;Console&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;.WriteLine(t.FullName); &lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;//&quot;System.Int32&quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-bidi-font-family: calibri&quot;&gt;&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;The C# &lt;/font&gt;&lt;/font&gt;&lt;font style=&quot;font-size: 11pt&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/scekt9xw.aspx&quot;&gt;&lt;font color=&quot;#1364c4&quot;&gt;&lt;font style=&quot;text-decoration: none&quot; face=&quot;Calibri&quot;&gt;is&lt;/font&gt;&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#000000&quot;&gt; operator also operates on a Nullable&#39;s underlying type. Therefore you cannot use &lt;span class=&quot;input&quot;&gt;is&lt;/span&gt; to determine whether a variable is a Nullable type.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;static&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;void&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; Main(&lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;[] args)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;? i = 5;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; (i &lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;is&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;span&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot;&gt;) &lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;// true&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font style=&quot;font-size: 10pt&quot; color=&quot;#008000&quot;&gt;//&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: ; mso-no-proof: yes&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 10pt&quot;&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;line-height: 13pt; margin: 0in 0in 10pt&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;span style=&quot;mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-bidi-font-family: calibri&quot;&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;font style=&quot;font-size: 11pt&quot; color=&quot;#1f497d&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/6627536501337667029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/05/nullable-types-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/6627536501337667029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/6627536501337667029'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/05/nullable-types-in-c.html' title='Nullable Types in C#'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-293543631782929869</id><published>2011-04-20T17:22:00.001+05:30</published><updated>2012-03-14T13:26:21.880+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server and Oracle"/><title type='text'>Oracle&amp;#39;s equivalent of SQL Server&amp;#39;s TOP command</title><content type='html'>&lt;p&gt;Rownum is used in Oracle to retrieve the N-top records.&lt;/p&gt; &lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; width=&quot;400&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;400&quot;&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;SELECT * FROM emp&amp;nbsp; WHERE rownum &amp;lt; 2 &lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Note: Some things to keep in mind are that the “&amp;gt;=” or the “&amp;gt;” operators wont work with ROWNUM. Also remember ROWNUM is to only pick the required row from a result set and should not be confused with the position of the record in the table.&lt;/p&gt; &lt;p&gt;you want the first row of an ordered result set, you need to do the following: &lt;/p&gt; &lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; width=&quot;400&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;400&quot;&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;SELECT e.*&lt;br&gt;&amp;nbsp; FROM (SELECT * FROM emp ORDER BY empno) e&lt;br&gt;WHERE rownum &amp;lt; 2 ;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;The reason why is because rownum is assigned to the result set as the records are retrieved but before they are sorted. For that reason you must order the result set in an in-line view before using rownum to retrieve the first row (or any number of first rows for that matter).&lt;/p&gt; &lt;p&gt;Do some R &amp;amp; D in Row_Number() in ORACLE&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/293543631782929869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/04/oracle-equivalent-of-sql-server-top.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/293543631782929869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/293543631782929869'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/04/oracle-equivalent-of-sql-server-top.html' title='Oracle&amp;#39;s equivalent of SQL Server&amp;#39;s TOP command'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-1076118096445759473</id><published>2011-04-08T15:10:00.001+05:30</published><updated>2012-03-14T13:36:33.340+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net and C#"/><title type='text'>Using the Open XML SDK 2.0 Classes to create Excel files</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;WordSection1&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The 2007 Microsoft Office system introduces a new file format that is based on XML called Open XML Formats. Microsoft Office Word 2007, Microsoft Office Excel® 2007, and Microsoft Office PowerPoint® 2007 all use these formats as the default file format. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Open XML formats are useful for developers because they are an open standard and are based on well-known technologies: ZIP and XML. Microsoft provides a library for accessing these files as part of the WinFX technologies in the System.IO.Packaging namespace. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;The Open XML Format SDK is built on top of the System.IO.Packaging API and provides strongly typed part classes to manipulate Open XML documents.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;The Open Xml SDK 2.0 add-on can be downloaded from the below Microsoft Site for free of cost.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C6E744E5-36E9-45F5-8D8C-331DF206E0D0&amp;amp;displaylang=en&quot;&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C6E744E5-36E9-45F5-8D8C-331DF206E0D0&amp;amp;displaylang=en&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-HqOW3wMRBRI/Ta5x-7ryDeI/AAAAAAAABKM/NqFXQfPJ7Tc/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;274&quot; i8=&quot;true&quot; src=&quot;http://1.bp.blogspot.com/-HqOW3wMRBRI/Ta5x-7ryDeI/AAAAAAAABKM/NqFXQfPJ7Tc/s640/1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;This download requires the following:&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 0.75in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;The Microsoft .NET Framework version 3.5 SP1.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;There will be two msi files. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Installing OpenXMLSDKv2.0.msi file will register &lt;b&gt;DocumentFormat.OpenXML&lt;/b&gt; dll &amp;nbsp;in your local GAC. &lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Installing OpenXMLSDKTool.msi will give access to the tool which will create code files&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot;&gt;for the given office files.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;There is a very good sample too in the following MSDN site.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd452407(v=office.12).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/dd452407(v=office.12).aspx&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;And also Microsoft provides code samples as msi file for Visual Studio 2010 users.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=78bea298-a3f9-44cf-bde0-b4f30dc986df&amp;amp;displaylang=en&quot;&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=78bea298-a3f9-44cf-bde0-b4f30dc986df&amp;amp;displaylang=en&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-cAB5dNZWk0k/Ta5yQ-7I-0I/AAAAAAAABKQ/zU4QRPhbNLA/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;163&quot; i8=&quot;true&quot; src=&quot;http://4.bp.blogspot.com/-cAB5dNZWk0k/Ta5yQ-7I-0I/AAAAAAAABKQ/zU4QRPhbNLA/s640/2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-VNsec__U79A/Ta5yV3jEeVI/AAAAAAAABKU/uhTqO1vLSXs/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; i8=&quot;true&quot; src=&quot;http://1.bp.blogspot.com/-VNsec__U79A/Ta5yV3jEeVI/AAAAAAAABKU/uhTqO1vLSXs/s640/3.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;Note:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt; If the .NET Framework 3.5 SP1 is not already installed on the computer, the setup wizard asks you to install &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;the .NET Framework 3.5 SP1 first. The default installation path of the SDK is &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;%systemdrive%\Program Files\Open XML Format SDK\V2.0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;Other related useful links for Open XML SDK 2.0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;a href=&quot;http://openxmldeveloper.org/articles/4730.aspx&quot;&gt;http://openxmldeveloper.org/articles/4730.aspx&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/1076118096445759473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/04/using-open-xml-sdk-20-classes-to-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1076118096445759473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1076118096445759473'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/04/using-open-xml-sdk-20-classes-to-create.html' title='Using the Open XML SDK 2.0 Classes to create Excel files'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-HqOW3wMRBRI/Ta5x-7ryDeI/AAAAAAAABKM/NqFXQfPJ7Tc/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-2919431482814909621</id><published>2011-03-14T18:59:00.000+05:30</published><updated>2012-03-14T13:18:21.446+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="General"/><title type='text'>Useful Sites</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;table style=&quot;border-collapse: collapse; width: 100%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-color: #eb5f26; width: 48%;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;strong&gt;Design Patterns&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #eb5f26; width: 48%;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;Visual Studio shortcut keys&lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;
&lt;a href=&quot;http://dofactory.com/Patterns/Patterns.aspx&quot;&gt;http://dofactory.com/Patterns/Patterns.aspx&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot;&gt;You can find most of the design patterns with C# examples here. Design patterns are grouped by the types and the names are provided as links so that we can easily move around.&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;
&lt;a href=&quot;http://dofactory.com/ShortCutKeys/ShortCutKeys.aspx&quot;&gt;http://dofactory.com/ShortCutKeys/ShortCutKeys.aspx&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot;&gt;You are familiar with many of Visual Studio&#39;s shortcut keys, but not all of them. Here is a handy reference that can make your .NET lifestyle easier and a lot more productive. The &#39;must-know&#39; shortcut keys are high-lighted.&lt;span class=&quot;shortcut-highlight&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table style=&quot;border-collapse: collapse; width: 100%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-color: #eb5f26; width: 48%;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;strong&gt;C# Coding Standards - and Naming Conventions &lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #eb5f26; width: 48%;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;Database Connectionstrings&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;
&lt;a href=&quot;http://dofactory.com/reference/csharp-coding-standards.aspx&quot;&gt;http://dofactory.com/reference/csharp-coding-standards.aspx&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot;&gt;Here are our &lt;b&gt;C# coding standards&lt;/b&gt;, naming conventions, and best practices.&lt;br /&gt;
&lt;br /&gt;
Use these in your own projects and/or adjust these to your own needs.&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;
&lt;a href=&quot;http://dofactory.com/Connect/Connect.aspx&quot;&gt;http://dofactory.com/Connect/Connect.aspx&lt;/a&gt;&lt;br /&gt;
Do you have a hard time remembering database connection strings? You are not alone! &lt;br /&gt;
Here is an easy-to-use reference of connection strings for numerous databases and data stores.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table style=&quot;border-collapse: collapse; width: 100%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-color: #eb5f26; width: 48%;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;strong&gt;e-Books From Packtpub&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.packtpub.com/support&quot;&gt;http://www.packtpub.com/support&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot;&gt;You can find lot of ebooks here like AJAX, JQuery, .Net, etc. You have to give your email id. The site will automatically forward the selected ebook to your emailid.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/2919431482814909621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/03/useful-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2919431482814909621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2919431482814909621'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/03/useful-sites.html' title='Useful Sites'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-2621549283070704804</id><published>2011-03-11T19:24:00.000+05:30</published><updated>2012-03-14T13:26:21.852+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server and Oracle"/><title type='text'>Sql Server Performance Tuning</title><content type='html'>&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:10pt;color:#000000;&quot;&gt;&lt;DIV&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#ff7f00&gt;Sql Server Performance Tuning&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;STRONG&gt;Sql Server stored procedure performance tuning&lt;/STRONG&gt;&lt;BR&gt;&lt;A href=&quot;http://www.sql-server-performance.com/tips/stored_procedures_p1.aspx&quot;&gt;http://www.sql-server-performance.com/tips/stored_procedures_p1.aspx&lt;/A&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;STRONG&gt;Stored procedure performance optimization&lt;BR&gt;&lt;/STRONG&gt;&lt;A href=&quot;http://bytes.com/topic/sql-server/answers/83488-stored-procedure-performance-optimization&quot;&gt;http://bytes.com/topic/sql-server/answers/83488-stored-procedure-performance-optimization&lt;/A&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;STRONG&gt;SQL Server 2005: SQL Query Tuning (By Microsoft Tech Ed)&lt;BR&gt;&lt;/STRONG&gt;&lt;A href=&quot;http://download.microsoft.com/documents/australia/teched2005/hol/HOL076.pdf&quot;&gt;http://download.microsoft.com/documents/australia/teched2005/hol/HOL076.pdf&lt;/A&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;BR&gt;&lt;STRONG&gt;Other sites&lt;BR&gt;&lt;/STRONG&gt;&lt;A href=&quot;http://www.mssqltips.com/category.asp?catid=9&quot;&gt;http://www.mssqltips.com/category.asp?catid=9&lt;/A&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/2621549283070704804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/03/sql-server-performance-tuning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2621549283070704804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/2621549283070704804'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/03/sql-server-performance-tuning.html' title='Sql Server Performance Tuning'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2714558533306923414.post-1979741140762590503</id><published>2011-03-08T16:07:00.000+05:30</published><updated>2012-03-14T13:26:21.848+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server and Oracle"/><title type='text'>2nd Highest Salary</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: white; color: orange;&quot;&gt;Method 1&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Correlated sub queries are more generalized to find n&#39;th highest or nth lowest salary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;To find nth &lt;span style=&quot;background-color: white;&quot;&gt;highest&lt;/span&gt; salary&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
SELECT * FROM Employee E1 WHERE n-1 = &lt;br /&gt;
&lt;br /&gt;
(SELECT COUNT(DISTINCT Salary) FROM Employee E2 WHERE E1.Salary &amp;lt; E2.Salary)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;To find 2nd highest salary&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM Employee E1 WHERE 1 = &lt;br /&gt;
&lt;br /&gt;
(SELECT COUNT(DISTINCT Salary) FROM Employee E2 WHERE E1.Salary &amp;lt; E2.Salary)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;To find 2nd lowest salary&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM Employee E1 WHERE 1 = &lt;br /&gt;
&lt;br /&gt;
(SELECT COUNT(DISTINCT Salary) FROM Employee E2 WHERE E1.Salary &amp;gt; E2.Salary)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;To find nth lowest salary&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM Employee E1 WHERE n-1 = &lt;br /&gt;
&lt;br /&gt;
(SELECT COUNT(DISTINCT Salary) FROM Employee E2 WHERE E1.Salary &amp;gt; E2.Salary)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;color: orange;&quot;&gt;Method 2&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;HIGHEST&amp;nbsp;2nd Salary :&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;WITH CTEs&lt;br /&gt;
&lt;br /&gt;
AS(SELECT DENSE_RANK() OVER(ORDER BY SALARY DESC) &#39;Rank&#39;,* FROM EMP)&lt;br /&gt;
&lt;br /&gt;
SELECT Names,Salary FROM CTEs WHERE Rank=2&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;LOWESE 3Rd Salary :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;WITH CTEs&lt;br /&gt;
&lt;br /&gt;
AS(SELECT DENSE_RANK() OVER(ORDER BY SALARY) &#39;Rank&#39;,* FROM EMP)&lt;br /&gt;
&lt;br /&gt;
SELECT Names,Salary FROM CTEs WHERE Rank=3&lt;br /&gt;
&lt;br /&gt;
Note: Desc is removed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://parthasarathyraja.blogspot.com/feeds/1979741140762590503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/03/2nd-highest-salary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1979741140762590503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2714558533306923414/posts/default/1979741140762590503'/><link rel='alternate' type='text/html' href='http://parthasarathyraja.blogspot.com/2011/03/2nd-highest-salary.html' title='2nd Highest Salary'/><author><name>parthaa</name><uri>http://www.blogger.com/profile/05561701454094573521</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>