<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6659378269421128671</id><updated>2012-01-17T13:03:25.619+05:30</updated><category term='C#'/><category term='JSON'/><category term='ASP.NET'/><title type='text'>Pandiya's Blog</title><subtitle type='html'>"Another Software Engineer who is working to feed his family"</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>67</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8173630038944707829</id><published>2010-10-07T10:18:00.000+05:30</published><updated>2010-10-07T10:18:12.574+05:30</updated><title type='text'>working with SQLite in WPF</title><content type='html'>You can use SQLite in WPF the same way you would use SQL Server, Oracle or any other database -- via ADO.NET or (better) via an object-relational mapper. &amp;nbsp;An ORM is probably a better option because a good ORM will handle things like property change notifications (critical for data binding) for you.&lt;br /&gt;&lt;br /&gt;The basic technique you are looking for is to define a model which you will load and save via the ORM, and databind your UI to using data binding. &amp;nbsp;(The full version of this pattern is called model-view-viewmodel or MVVM but as a beginner you probably want to focus on the basics of creating and binding to a domain model first and tackle the more complex aspects of MVVM later.)&lt;br /&gt;&lt;br /&gt;For more on SQLite visit&amp;nbsp;&lt;a href="http://sqlite.phxsoftware.com/"&gt;http://sqlite.phxsoftware.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8173630038944707829?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8173630038944707829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/working-with-sqlite-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8173630038944707829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8173630038944707829'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/working-with-sqlite-in-wpf.html' title='working with SQLite in WPF'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-2905164119068927307</id><published>2010-10-07T10:05:00.000+05:30</published><updated>2010-10-07T10:05:06.871+05:30</updated><title type='text'>What is the best ORM for .NET ?</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; color: #444444; font-family: Tahoma, Geneva, Arial, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;There are lots of very good ORMs approaching the subject with different philosophies.&lt;br /&gt;None are perfect through and all tend to become complex as soon as you stray from their golden path (and sometimes even when you stick to it).&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;What you should ask yourself when selecting an ORM:&lt;/div&gt;&lt;ol style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1em; margin-left: 30px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;What does it need to do for you?&lt;/strong&gt;&lt;br /&gt;If you already have a set of requirements for your application, then you should select the ORM that better matches these rather than an hypothetical 'best'.&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Is your data shared or just local?&lt;/strong&gt;&lt;br /&gt;A lot of the hairiness in ORM is caused by how they handle concurrency and changes to the data in the database when multiple users are holding a versions of the same data.&lt;br /&gt;If your datastore is for a single-user, then most ORMs will do a good job. However, ask yourself some hard questions in a multi-user scenario: how is locking handled? What happens when I delete an object? How does it affects other related objects? Is the ORM working close to the metal of the backend or is it caching a lot of data (improving performance at the expense of increasing the risk of staleness).&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Is the ORM well adapted for your type of application?&lt;/strong&gt;&amp;nbsp;A particular ORM may be hard to work with (lots of performance overhead, hard to code) if it's a used in a service or sitting inside a web app. It may on the contrary be great for desktop apps.&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Do you have to give up database-specific enhancements?&lt;/strong&gt;&lt;br /&gt;ORMs tend to use the lowest-common denominator set of SQL to ensure they work with lots of different database backend.&lt;br /&gt;All ORMs will compromise on available features (unless they specifically target a single backend) but some will allow you to implement additional behaviours to exploit specific enhancements available in your chosen backend.&lt;br /&gt;A typical db-specific enhancement is Full-Text search capabilities for instance; make sure your ORM provides you with a way to access these features if you need them.&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;How does the ORM manages changes in the data model?&lt;/strong&gt;&lt;br /&gt;Some can update the DB automatically within a certain measure, other don't do anything and you'll have to do the dirty work yourself; other provide a framework for handling change that lets you control database updates.&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Do your mind to couple your application to the ORM's objects or do you prefer to handle POCOs and user an adapter for persistence?&lt;/strong&gt;&lt;br /&gt;The former is usually simple to handle but create dependencies on your ORM-specific data objects everywhere, the latter is more flexible, at the cost of a bit more code.&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Will you ever need to transfer your objects remotely?&lt;/strong&gt;&lt;br /&gt;Not all ORMs are equal when it comes to fetching objects from a remote server, look closely at what is possible or impossible to do. Some are efficient, others not.&lt;/div&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Is there someone you can turn to for help?&lt;/strong&gt;&lt;br /&gt;Is there good commercial support? How big and active is the community around the project?&lt;br /&gt;What are the issues existing users are having with the product?&lt;br /&gt;Do they get quick solutions?&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;A few ORMs that I looked at:&lt;/div&gt;&lt;ul style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 1em; margin-left: 30px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;a href="http://www.devexpress.com/Products/NET/ORM/" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;XPO&lt;/a&gt;&lt;br /&gt;From developer Express: is small and simple, code-centric. They use it for their application framework&lt;a href="http://www.devexpress.com/Products/NET/Application_Framework/" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;eXpressApp&lt;/a&gt;.&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;a href="http://nhforge.org/" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;NHibernate&lt;/a&gt;&lt;br /&gt;Is free, but the learning curve is rather steep. Lots of goodies but it's hard to find what is really relevant sometimes in all the fragmented documentation.&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;a href="http://www.llblgen.com/" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;LLBLGen Pro&lt;/a&gt;&lt;br /&gt;very mature project, not the simplest but a lot of thought has been put into it.&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/data/aa937723.aspx" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;Entity Framework&lt;/a&gt;&lt;br /&gt;Still a bit early IMHO. It's promising, but there are some basic stuff that other ORMs provide that are just now being tackled (auto-generating DB from code for instance).&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;a href="http://x-tensive.com/Products/DO/" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;DataObject.Net&lt;/a&gt;&lt;br /&gt;Looks promising but is also a bit new to risk an important project on it IMHO. Quite active though.&lt;/li&gt;&lt;/ul&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;There are many others of course.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;You can have a look at the controversial site&amp;nbsp;&lt;a href="http://ormbattle.net/" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #326ab3; cursor: pointer; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"&gt;ORM Battle&lt;/a&gt;&amp;nbsp;that lists some performance benchmarks, although you have to be aware that raw speed is not necessarily the most important factor for your project and that the producers of the website is DataObject.Net.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-2905164119068927307?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/2905164119068927307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/what-is-best-orm-for-net.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2905164119068927307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2905164119068927307'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/what-is-best-orm-for-net.html' title='What is the best ORM for .NET ?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8568222664533511245</id><published>2010-10-06T15:05:00.000+05:30</published><updated>2010-10-06T15:05:44.560+05:30</updated><title type='text'>What coworker habit do you find most annoying?</title><content type='html'>&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #444444; font-family: Tahoma, Geneva, Arial, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;As I write this, there's a guy in the office clipping his nails at his desk.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #444444; font-family: Tahoma, Geneva, Arial, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;Ques &lt;/b&gt;: What personal habits do your coworkers exhibit that drive you nuts and how do you deal with them? Do you quietly stew, adjust your attitude, or approach them about it?&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #444444; font-family: Tahoma, Geneva, Arial, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;Ans:&amp;nbsp;&lt;a href="http://tinyurl.com/2cw4w3s"&gt;http://tinyurl.com/2cw4w3s&lt;/a&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8568222664533511245?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8568222664533511245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/what-coworker-habit-do-you-find-most.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8568222664533511245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8568222664533511245'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/what-coworker-habit-do-you-find-most.html' title='What coworker habit do you find most annoying?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-2075475794785317411</id><published>2010-10-06T14:53:00.000+05:30</published><updated>2010-10-06T14:53:30.217+05:30</updated><title type='text'>What's your experience with female programmers?</title><content type='html'>I was going through a programmers Q&amp;amp;A &amp;nbsp;and i saw this question. Do a read of it&amp;nbsp;&lt;a href="http://tinyurl.com/3ayjdt6"&gt;http://tinyurl.com/3ayjdt6&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-2075475794785317411?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/2075475794785317411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/whats-your-experience-with-female.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2075475794785317411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2075475794785317411'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/10/whats-your-experience-with-female.html' title='What&apos;s your experience with female programmers?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-6284328513829307711</id><published>2010-09-29T16:28:00.000+05:30</published><updated>2010-09-29T16:28:01.976+05:30</updated><title type='text'>Sqlite with asp.net MVC</title><content type='html'>&lt;u&gt;&lt;b&gt;Using Sqlite with asp.net MVC web application&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 19px;"&gt;Visual Studio 2008 integrates Sql server 2008 express nicely into App_Data folder. You just create the database using Server Explorer, and it inserts the connection string into web.config for you. I used it when I worked on my toy project – ToastManager. I finished coding and testing on my machine and deployed it to an integration server which belongs to my SCRUM team.&lt;/span&gt;&lt;br /&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;A problem, as usual, arose on the integration box. My windows login had sysadmin access to my local Sql Server express, but the process that runs ToastManager did not on the box.&lt;/div&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;I blindly thought that Sql Server express is a stand-alone DB and it can be deployed together with the applicaiton. It was misunderstanding. Sql Server Express is still a server application that needs to be installed on a remote machine. I looked for an alternative and soon found that many people use&lt;a href="http://www.sqlite.org/" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dashed; border-bottom-width: 1px; color: #265e15; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;Sqlite&lt;/a&gt;.&lt;/div&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Sqlite is an open source database and people testify that it is really fast. In order to use with .Net, you need to install&amp;nbsp;&lt;a href="http://sqlite.phxsoftware.com/" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dashed; border-bottom-width: 1px; color: #265e15; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;System.Data.SQLite&lt;/a&gt;, which is another open source ADO.NET provider for SQLite database engine.&lt;/div&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Once you download Sqlite, you can use its own command-prompt based tool, but probably, your first reaction is to try to find some GUI management tool. Fortunately, there is one too. It is FireFox Add-on:&amp;nbsp;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5817" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dashed; border-bottom-width: 1px; color: #265e15; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;SQLite Manager&lt;/a&gt;.&lt;/div&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;So, to summarise, you need to have 3 programs to use SQLite.&amp;nbsp;&lt;a href="http://www.sqlite.org/" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dashed; border-bottom-width: 1px; color: #265e15; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;SQLite&lt;/a&gt;,&lt;a href="http://sqlite.phxsoftware.com/" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dashed; border-bottom-width: 1px; color: #265e15; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;System.Data.SQLite&lt;/a&gt;, and&amp;nbsp;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5817" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dashed; border-bottom-width: 1px; color: #265e15; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;SQLite Manager&lt;/a&gt;.&lt;/div&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Just now started my first sample will update you on that in the posts to come in future...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-6284328513829307711?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/6284328513829307711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/sqlite-with-aspnet-mvc.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6284328513829307711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6284328513829307711'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/sqlite-with-aspnet-mvc.html' title='Sqlite with asp.net MVC'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-227916264593970532</id><published>2010-09-24T10:46:00.000+05:30</published><updated>2010-09-24T10:46:33.814+05:30</updated><title type='text'>Simple reusable clear form function in asp.net using jquery?</title><content type='html'>I ve created a function which clears the form without writing much javascript code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;$&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;fn&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;clearForm &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;function&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;()&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;{&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;return&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;each&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;function&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;()&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;{&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;var&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; type &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;type&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; tag &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;tagName&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;toLowerCase&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;();&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;if&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;tag &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'form'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;{&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'td.status'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;).&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;empty&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;();&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;return&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; $&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;':input'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;).&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;clearForm&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;();&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;}&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;if&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;type &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'text'&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;||&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; type &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'password'&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;||&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; tag &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'textarea'&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;||&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; tag &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'label'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;value &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;''&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;else&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;if&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;type &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'checkbox'&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;checked&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;false&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;else&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;if&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;tag &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;==&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'select'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;this&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;selectedIndex &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;-&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;});&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;};&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and just call this as,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;function&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; clearaddform&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;()&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;{&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; $&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"#aspnetForm"&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;).&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;clearForm&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;();&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;and now you can just call clearaddform function from your button.&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-227916264593970532?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/227916264593970532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/simple-reusable-clear-form-function-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/227916264593970532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/227916264593970532'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/simple-reusable-clear-form-function-in.html' title='Simple reusable clear form function in asp.net using jquery?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8590153389463530655</id><published>2010-09-22T18:08:00.000+05:30</published><updated>2010-09-22T18:08:52.169+05:30</updated><title type='text'>The Twitter hack: how it started and how it worked</title><content type='html'>&amp;nbsp;&amp;nbsp;I was shocked while i was going through this &lt;a href="http://www.guardian.co.uk/technology/blog/2010/sep/21/twitter-hack-explained-xss-javascript"&gt;article&lt;/a&gt;&amp;nbsp;about the T&lt;b&gt;witter Hack. &lt;/b&gt;It is still&amp;nbsp;unbelievable that twitter has been hacked just due to XSS&amp;nbsp;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: #333333; font-family: arial, sans-serif; font-size: 14px; line-height: 18px;"&gt;&amp;nbsp;"cross-site scripting".&amp;nbsp;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8590153389463530655?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8590153389463530655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/twitter-hack-how-it-started-and-how-it.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8590153389463530655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8590153389463530655'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/twitter-hack-how-it-started-and-how-it.html' title='The Twitter hack: how it started and how it worked'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-4253136135435682830</id><published>2010-09-22T11:01:00.000+05:30</published><updated>2010-09-22T11:01:09.176+05:30</updated><title type='text'>[Fluent nHibernate vs Entity framework] Which to choose for ORM?</title><content type='html'>&amp;nbsp;I ve been working with &lt;b&gt;Fluent nHibernate&lt;/b&gt; and it ships really well with my asp.net mvc web application pretty well. Just yesterday had a look at Microsoft's &lt;b&gt;Entity Framework &lt;/b&gt;and it looks like a good competitor for fluent nhibernate.. I was searching through the web and i found this wonderful article,&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gurustop.net/blog/2009/10/31/which-orm-linq-to-sql-entity-framework-llblgen-nhibernate/"&gt;which-orm-linq-to-sql-entity-framework-llblgen-nhibernate?&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-4253136135435682830?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/4253136135435682830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/fluent-nhibernate-vs-entity-framework.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4253136135435682830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4253136135435682830'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/fluent-nhibernate-vs-entity-framework.html' title='[Fluent nHibernate vs Entity framework] Which to choose for ORM?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-3604036503929061675</id><published>2010-09-01T18:08:00.002+05:30</published><updated>2010-09-01T18:08:54.450+05:30</updated><title type='text'>What is a “web service” in plain english?</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;I've been reading about "web services" here on SO, on Wikipedia, Google, etc and I don't quite understand what they are. What is the plain english definition/description?&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;If I make a simple website using PHP that just, say, prints a random integer to the page... is this a "web service"? If not, why not?&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;A simple definition: A web service is a function that can be accessed by other programs over the web (Http). To clarify a bit, when you create a website in PHP that outputs HTML its target is the browser and by extension the human being reading the page in the browser. A web service is not targeted at humans but rather at other programs.&lt;/b&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;So your PHP site that generates a random integer could be a web service if it outputs the integer in a format that may be consumed by another program. It might be in an XML format or another format, as long as other programs can understand the output.&lt;/b&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;The full definition is obviously more complex but you asked for plain English.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-3604036503929061675?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/3604036503929061675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/what-is-web-service-in-plain-english.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3604036503929061675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3604036503929061675'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/09/what-is-web-service-in-plain-english.html' title='What is a “web service” in plain english?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-946726754426584373</id><published>2010-08-31T12:26:00.000+05:30</published><updated>2010-08-31T12:26:31.739+05:30</updated><title type='text'>What is cool about c# generics, why use them?</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;I thought I'd offer this softball to whomever would like to hit it out of the park. What are generics, what are the advantages of generics, why, where, how should I use them?&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 1em; margin-left: 30px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;Allows you to write code/use library methods which are type-safe, i.e. a List&amp;lt;string&amp;gt; is guaranteed to be a list of strings.&lt;/b&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;As a result of generics being used the compiler can perform compile-time checks on code for type safety, i.e. are you trying to put an int into that list of strings? Using an ArrayList would cause that to be a less transparent runtime error.&lt;/b&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;Faster than using objects as it either avoids boxing/unboxing (where .net has to convert value types to reference types or vice-versa) or casting from objects to the required reference type.&lt;/b&gt;&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;Allows you to write code which is applicable to many types with the same underlying behaviour, i.e. a Dictionary&amp;lt;string, int&amp;gt; uses the same underlying code as a Dictionary&amp;lt;DateTime, double&amp;gt;; using generics, the framework team only had to write one piece of code to achieve both results with the aforementioned advantages too.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-946726754426584373?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/946726754426584373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/what-is-cool-about-c-generics-why-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/946726754426584373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/946726754426584373'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/what-is-cool-about-c-generics-why-use.html' title='What is cool about c# generics, why use them?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8209170852600310766</id><published>2010-08-31T10:47:00.000+05:30</published><updated>2010-08-31T10:47:37.438+05:30</updated><title type='text'>What's your choice for your next ASP.NET project: WebForms or MVC?</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;Let's say that you will start a new Asp.Net web site/application tomorrow. What your choice between WebForms and MVC, and why?&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;I'd choose &lt;b&gt;asp.net MVC&lt;/b&gt; for the following reasons:&lt;/div&gt;&lt;ol style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1em; margin-left: 30px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;ASP.NET MVC&lt;/b&gt; has borrowed so much from Rails that it feels like a direct port in some ways (and that's a good thing in my mind).&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;AJAX &lt;/b&gt;is important, but I&amp;nbsp;&lt;em style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;hate&lt;/em&gt;&amp;nbsp;the Microsoft "Atlas" approach to AJAX (whatever the product name is these days). If you're going to do AJAX, you need to understand the HTML and the JavaScript. Frameworks that hide that from you are hurting you more than they are helping you (IMO).&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;JQuery &lt;/b&gt;has taken over the world it seems in terms of JavaScript frameworks. ASP.net MVC is well-integrated with it. I want to learn it, so there's great alignment here.&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The whole "control" model is a neat idea, but it is more complicated than it appears on the surface. For example, look around on SO for questions about how a UserControl can find its highest level containing control and so forth. The control hierarchy abstraction has leaks in it. Grids are great if they do what you want out of the box, but it's very very hard to customize them to do something they weren't made to do. And the best grid controls on the market (the ones that are highly customizable) are large, bloated, overly complicated beasts. Maybe that shows us that we should drop back down to HTML and let loops in our views do that kind of thing for us.&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I believe I can build complete, beautiful apps in ASP.net MVC much faster than in ASP.Net (and I've got some years of ASP.Net under my belt). Look at StackOverflow ... built quickly on ASPMVC with JQuery, and it's fast, scalable and a joy to use IMO.&lt;/li&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Oh, and it's completely open source! It is ok to read the source code, blog about it, and even modify then redistribute it!&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;So be wise in choosing it...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8209170852600310766?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8209170852600310766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/whats-your-choice-for-your-next-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8209170852600310766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8209170852600310766'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/whats-your-choice-for-your-next-aspnet.html' title='What&apos;s your choice for your next ASP.NET project: WebForms or MVC?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8611932774740515805</id><published>2010-08-30T15:14:00.000+05:30</published><updated>2010-08-30T15:14:20.123+05:30</updated><title type='text'>Latitude and Longitude Lookup with jQuery, C#, ASP.NET MVC</title><content type='html'>This asp.net mvc controller action returns a place latitude and longitude based on zipcode and country name,&lt;br /&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;public ActionResult LookupCoordinates(string Zip, string Country)&lt;br /&gt;{&lt;br /&gt;    string Lat = "";&lt;br /&gt;    string Lon = "";&lt;br /&gt;    string PostUrl = "http://ws.geonames.org/postalCodeSearch?postalcode=" + Zip + "&amp;amp;maxRows=10&amp;amp;country=" + Country;&lt;br /&gt;    WebResponse webResponse = webRequest.GetResponse();&lt;br /&gt;    if (webResponse == null)&lt;br /&gt;    { }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;        StreamReader sr = new StreamReader(webResponse.GetResponseStream());&lt;br /&gt;        string Result = sr.ReadToEnd().Trim();&lt;br /&gt;        if (Result != "")&lt;br /&gt;        {&lt;br /&gt;            // Load the response into an XML doc&lt;br /&gt;            XmlDocument xdoc = new XmlDocument();&lt;br /&gt;            xdoc.LoadXml(Result);&lt;br /&gt;            //  Navigate to latitude node&lt;br /&gt;            XmlNodeList name = xdoc.GetElementsByTagName("lat");&lt;br /&gt;            if (name.Count &amp;gt; 0)&lt;br /&gt;            {&lt;br /&gt;                Lat = name[0].InnerText;&lt;br /&gt;            }&lt;br /&gt;            //  Navigate to longitude node&lt;br /&gt;            name = xdoc.GetElementsByTagName("lng");&lt;br /&gt;            if (name.Count &amp;gt; 0)&lt;br /&gt;            {&lt;br /&gt;                 Lon = name[0].InnerText;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    return Json(Lat + "," + Lon);&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;and the jquery function for implementing this would be,&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;function LookupCoordinates(zip) {&lt;br /&gt;        $.post("/Home/LookupCoordinates",&lt;br /&gt;        { Zip: zip, Country: "US" },&lt;br /&gt;        function(data) {&lt;br /&gt;            var result = eval('(' + data + ')');&lt;br /&gt;            var coordinates = result.split(",");&lt;br /&gt;            $("#Lat").val(coordinates[0]);&lt;br /&gt;            $("#Lon").val(coordinates[1]);&lt;br /&gt;        });&lt;br /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;Change contry to IN for india... &lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8611932774740515805?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8611932774740515805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/latitude-and-longitude-lookup-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8611932774740515805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8611932774740515805'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/latitude-and-longitude-lookup-with.html' title='Latitude and Longitude Lookup with jQuery, C#, ASP.NET MVC'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-4329166917181165091</id><published>2010-08-26T18:18:00.000+05:30</published><updated>2010-08-26T18:18:59.500+05:30</updated><title type='text'>Images in asp.net performance booster web config setting...</title><content type='html'>If your asp.net website deals with images just do this in your web.config file and see the performance and no drawbacks of doing this.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;Under &lt;b&gt;system.webServer&lt;/b&gt; in web.config set for example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;caching&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;profiles&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;add&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;extension&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;".png"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;policy&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CacheUntilChange"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;kernelCachePolicy&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CacheUntilChange"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;location&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"Any"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;add&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;extension&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;".jpg"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;policy&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CacheUntilChange"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;kernelCachePolicy&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CacheUntilChange"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;location&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"Any"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;add&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;extension&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;".gif"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;policy&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CacheUntilChange"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;kernelCachePolicy&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CacheUntilChange"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;location&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"Any"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/profiles&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/caching&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-4329166917181165091?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/4329166917181165091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/images-in-aspnet-performance-booster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4329166917181165091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4329166917181165091'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/08/images-in-aspnet-performance-booster.html' title='Images in asp.net performance booster web config setting...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-3397868426737116066</id><published>2010-07-23T10:23:00.000+05:30</published><updated>2010-07-23T10:23:30.418+05:30</updated><title type='text'>Twitter like notification bar in jquery</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;Just designed a twitter like notification bar in jquery... See it in action &lt;a href="http://jsbin.com/ifidu4/3/edit"&gt;demo here&lt;/a&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 16px;"&gt;Just add the following jquery,&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Monaco, consolas, monospace; font-size: 12px; line-height: normal;"&gt;&lt;span class="js-variable" style="color: black;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;document&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;ready&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-keyword" style="color: #770088;"&gt;function&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="js-keyword" style="color: #770088;"&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class="js-variabledef" style="color: blue;"&gt;$alertdiv&amp;nbsp;&lt;/span&gt;&lt;span class="js-operator" style="color: #666666;"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;$&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-string" style="color: #aa2222;"&gt;'&amp;lt;div id = "alertmsg"/&amp;gt;'&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-localvariable" style="color: #004499;"&gt;$alertdiv&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;text&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-string" style="color: #aa2222;"&gt;"Welcome to twitter"&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-localvariable" style="color: #004499;"&gt;$alertdiv&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;bind&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-string" style="color: #aa2222;"&gt;'click'&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="js-keyword" style="color: #770088;"&gt;function&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;$&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-localvariable" style="color: #004499;"&gt;this&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;slideUp&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-atom" style="color: #228811;"&gt;200&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;}&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;$&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;document&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;body&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;append&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-localvariable" style="color: #004499;"&gt;$alertdiv&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;$&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-string" style="color: #aa2222;"&gt;"#alertmsg"&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;slideDown&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-string" style="color: #aa2222;"&gt;"slow"&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="js-variable" style="color: black;"&gt;setTimeout&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-keyword" style="color: #770088;"&gt;function&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;{&amp;nbsp;&lt;/span&gt;&lt;span class="js-localvariable" style="color: #004499;"&gt;$alertdiv&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="js-property" style="color: black;"&gt;slideUp&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;(&lt;/span&gt;&lt;span class="js-atom" style="color: #228811;"&gt;200&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;}&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="js-atom" style="color: #228811;"&gt;3000&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&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&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;}&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;)&lt;/span&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Monaco, consolas, monospace; font-size: 12px; line-height: normal;"&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Monaco, consolas, monospace; font-size: 12px; line-height: normal;"&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;Css:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Monaco, consolas, monospace; font-size: 12px; line-height: normal;"&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Monaco, consolas, monospace; font-size: 12px; line-height: normal;"&gt;&lt;span class="js-punctuation" style="color: #666666;"&gt;&lt;span class="whitespace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;#alertmsg&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-punctuation"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;font-family&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;Arial&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;Helvetica&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;sans-serif&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="css-identifier" style="color: black;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;font-size&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;135%&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="css-identifier" style="color: black;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;font-weight&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;bold&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;overflow&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;hidden&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;width&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;100%&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;text-align&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;center&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;position&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;absolute&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;top&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;0&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;left&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;0&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;background-color&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-colorcode" style="color: #004499;"&gt;#333F31&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;height&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;20&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;color&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-colorcode" style="color: #004499;"&gt;#F3FDED&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;font&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;20px&lt;/span&gt;&lt;span class="css-select-op"&gt;/&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;40px&amp;nbsp;&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;arial&lt;/span&gt;&lt;span class="css-select-op"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;sans-serif&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;opacity&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="css-select-op"&gt;.&lt;/span&gt;&lt;span class="css-unit" style="color: #228811;"&gt;9&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="css-identifier" style="color: black;"&gt;display&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-value" style="color: #770088;"&gt;none&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="css-punctuation"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-3397868426737116066?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/3397868426737116066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/twitter-like-notification-bar-in-jquery.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3397868426737116066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3397868426737116066'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/twitter-like-notification-bar-in-jquery.html' title='Twitter like notification bar in jquery'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-3173137741775811904</id><published>2010-07-22T10:41:00.001+05:30</published><updated>2010-07-22T10:47:39.831+05:30</updated><title type='text'>Simple Jquery Dropdown menu...</title><content type='html'>I ve designed a simple jquery dropdown Menu without using any jquery menu plugins....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br /&gt;&amp;lt;head runat="server"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.4.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ul, li{margin:0; padding:0; list-style:none;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Targeting both first and second level menus */&lt;br /&gt;#Programming li { float: left; position: relative;font-family:Arial,Helvetica,sans-serif; }&lt;br /&gt;#Programming li a { background: #f3fded; border: 3px solid #333f31; color: #333; display: block; margin: 0 5px 0 0; padding: 5px 8px;text-decoration:none; font-size:110%;font-weight:bold;}&lt;br /&gt;#Programming li a:hover { background: #333f31;color:#fff; text-decoration: none; font-size:110%;font-weight:bold;}&lt;br /&gt;&lt;br /&gt;/* Targeting the first level menu */&lt;br /&gt;#Programming { display: block; height: 35px; padding: 10px 0; width: 700px; z-index: 100; position: absolute;}&lt;br /&gt;#Programming &amp;gt; li &amp;gt; a { font-size:110%;font-weight:bold; }&lt;br /&gt;&lt;br /&gt;/* Targeting the second level menu */&lt;br /&gt;#Programming li ul { background: #f3fded; border: 3px solid #333f31; color: #333; display: none; margin: -3px 0 0 0; width: 105px; position: absolute; }&lt;br /&gt;#Programming li ul li { width: 100% }&lt;br /&gt;#Programming li ul li a { background: none; border: none; line-height: 30px; margin: 0; padding: 0 0 0 5px; text-decoration:none; &amp;nbsp;font-size:110%; font-weight:bold;}&lt;br /&gt;#Programming li ul li a:hover { background: #333f31;color:#fff;font-size:110%;font-weight:bold;}&lt;br /&gt;&lt;br /&gt;/* A class of current will be added via jQuery */&lt;br /&gt;#Programming li.current &amp;gt; a { background: #333f31;color:#fff; font-size:110%;font-weight:bold;}&lt;br /&gt;&lt;br /&gt;/* CSS fallback */&lt;br /&gt;#Programming li:hover &amp;gt; ul.child { display: block; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div id="ProgMenu" style="padding-left: 45px;"&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ul id="Programming"&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;.net&amp;lt;/a&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ul class="child"&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;asp.net&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;WPF&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Winforms&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Silverlight&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ul&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;java&amp;lt;/a&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ul class="child"&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Struts&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Spring&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Hibernate&amp;lt;/a&amp;gt;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ul&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ul&amp;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; &amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&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; &amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascript"&amp;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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(document).ready(function() {&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#Programming ul.child").removeClass("child");&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#Programming li").has("ul").hover(function() {&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(this).addClass("current").children("ul").fadeIn();&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, function() {&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(this).removeClass("current").children("ul").stop(true, true).css("display", "none");&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&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; &amp;nbsp; &amp;nbsp;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;See the Demo &lt;a href="http://jsbin.com/oteze/edit"&gt;Simple jquery dropdown menu&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-3173137741775811904?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/3173137741775811904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/simple-jquery-dropdown-menu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3173137741775811904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3173137741775811904'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/simple-jquery-dropdown-menu.html' title='Simple Jquery Dropdown menu...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-3145707016612994662</id><published>2010-07-19T10:06:00.000+05:30</published><updated>2010-07-19T10:06:53.287+05:30</updated><title type='text'>Quartz.net with ASP.NET implementation...</title><content type='html'>Just now finished my sample scheduled task with quartz.net in my asp.net web application.....&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;Here's a complete example how to do this using quartz.net. First of all, you have to create a class which implements the&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;IJob&lt;/code&gt;interface defined by quartz.net. This class is called by the quartz.net scheduler at tne configured time and should therefore contain your send mail functionality:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;span class="Apple-style-span" style="color: darkblue; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;    using System;&lt;br /&gt;    using System.Collections.Generic;&lt;br /&gt;    using System.Linq;&lt;br /&gt;    using System.Web;&lt;br /&gt;    using System.IO;&lt;br /&gt;    using Quartz;&lt;br /&gt;    &lt;br /&gt;    /// &amp;lt;summary&amp;gt;&lt;br /&gt;    /// Summary description for SendMailJob&lt;br /&gt;    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;    public class SendMailJob : IJob&lt;br /&gt;    {&lt;br /&gt;        public void Execute(JobExecutionContext context)&lt;br /&gt;        {&lt;br /&gt;            WriteToFile();&lt;br /&gt;        }&lt;br /&gt;        private static void WriteToFile()&lt;br /&gt;        {&lt;br /&gt;            StreamWriter SW;&lt;br /&gt;            SW = File.CreateText("C:\\Documents and Settings\\chendur\\Desktop\\samp.txt");&lt;br /&gt;            SW.WriteLine("God is greatest of them all");&lt;br /&gt;            SW.WriteLine("This is second line");&lt;br /&gt;            SW.WriteLine(getIndianStandardTime());&lt;br /&gt;            SW.Close();&lt;br /&gt;        }&lt;br /&gt;        public static DateTime getIndianStandardTime()&lt;br /&gt;        {&lt;br /&gt;            TimeZoneInfo IND_ZONE = TimeZoneInfo.FindSystemTimeZoneById("India Standard Time");&lt;br /&gt;            return TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, IND_ZONE);&lt;br /&gt;        }&lt;br /&gt;    }&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;span class="Apple-style-span" style="color: darkblue; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; white-space: normal;"&gt;Next you have to initialize the quartz.net scheduler to invoke your job once a day at 06:00. This can be done in&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;Application_Start&lt;/code&gt;&amp;nbsp;of&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;global.asax&lt;/code&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;span class="Apple-style-span" style="color: darkblue; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; white-space: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;%@ Application Language="C#" %&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace="Quartz"%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace="Quartz.Impl" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;    void Application_Start(object sender, EventArgs e) &lt;br /&gt;    {&lt;br /&gt;        ISchedulerFactory schedFact = new StdSchedulerFactory();&lt;br /&gt;        // get a scheduler&lt;br /&gt;        IScheduler sched = schedFact.GetScheduler();&lt;br /&gt;        sched.Start();&lt;br /&gt;        // construct job info&lt;br /&gt;        JobDetail jobDetail = new JobDetail("mySendMailJob", typeof(SendMailJob));&lt;br /&gt;        // fire every day at 06:00&lt;br /&gt;        //Trigger trigger = TriggerUtils.MakeDailyTrigger(06, 00);&lt;br /&gt;        SimpleTrigger trigger2 = new SimpleTrigger("myTrigger",&lt;br /&gt;                                null,&lt;br /&gt;                                DateTime.UtcNow,&lt;br /&gt;                                null,&lt;br /&gt;                                SimpleTrigger.RepeatIndefinitely,&lt;br /&gt;                                TimeSpan.FromSeconds(60)); &lt;br /&gt;        //Trigger trigger = TriggerUtils.MakeHourlyTrigger();&lt;br /&gt;        //// start on the next even hour&lt;br /&gt;        //trigger.StartTimeUtc = TriggerUtils.GetEvenHourDate(DateTime.UtcNow);  &lt;br /&gt;        //trigger.Name = "mySendMailTrigger";&lt;br /&gt;        // schedule the job for execution&lt;br /&gt;        sched.ScheduleJob(jobDetail, trigger2);&lt;br /&gt;    }&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;That's it. Your job should be executed every day at 06:00. For testing, you can create a trigger which fires every minute (for example). Have a look at the method of&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;TriggerUtils&lt;/code&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-3145707016612994662?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/3145707016612994662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/quartznet-with-aspnet-implementation.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3145707016612994662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/3145707016612994662'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/quartznet-with-aspnet-implementation.html' title='Quartz.net with ASP.NET implementation...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8245641921992674728</id><published>2010-07-16T11:18:00.000+05:30</published><updated>2010-07-16T11:18:41.269+05:30</updated><title type='text'>Get Indian Standard Time(IST) in c#</title><content type='html'>When you are hosting you application to a production server outside india, its often we need indian time so i ve created a c# method which returns indian standard time from your server wherever it is located in india...&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;public&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;DateTime&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; getIndianStandardTime&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;()&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;{&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;TimeZoneInfo&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; IND_ZONE&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;TimeZoneInfo&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;FindSystemTimeZoneById&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"India Standard Time"&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;);&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;return&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;TimeZoneInfo&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;ConvertTimeFromUtc&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;DateTime&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;UtcNow&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; IND_ZONE);&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8245641921992674728?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8245641921992674728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/get-indian-standard-timeist-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8245641921992674728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8245641921992674728'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/get-indian-standard-timeist-in-c.html' title='Get Indian Standard Time(IST) in c#'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-9043250780825189473</id><published>2010-07-15T12:12:00.000+05:30</published><updated>2010-07-15T12:12:38.133+05:30</updated><title type='text'>Grant Mysql Database access...</title><content type='html'>Today morning i was just looking around for a mysql query which grants me access to another database....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;GRANT ALL PRIVILEGES ON dbname&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.*&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; TO &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;span class="Apple-style-span" style="color: black;"&gt;dbname&lt;/span&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;@&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'urpartnerip'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;nbsp; &amp;nbsp; IDENTIFIED BY &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;span class="Apple-style-span" style="color: black;"&gt;dbname&lt;/span&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; WITH GRANT OPTION&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;GRANT SELECT ON mysql&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;proc TO &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;span class="Apple-style-span" style="color: black;"&gt;dbname&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;@&lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'urpartnerip'&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; IDENTIFIED BY &lt;/span&gt;&lt;span class="str" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;'&lt;span class="Apple-style-span" style="color: black;"&gt;dbname&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: maroon;"&gt;'&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-9043250780825189473?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/9043250780825189473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/grant-mysql-database-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/9043250780825189473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/9043250780825189473'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/grant-mysql-database-access.html' title='Grant Mysql Database access...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8255490579949689450</id><published>2010-07-05T15:33:00.000+05:30</published><updated>2010-07-05T15:33:41.940+05:30</updated><title type='text'>Rich text editor for Asp.net...</title><content type='html'>At last found a really cool &lt;a href="http://rte.codeplex.com/"&gt;rich text editor for asp.net&lt;/a&gt;....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1 style="color: #30332d; font-family: 'Segoe UI', 'Microsoft Sans Serif', Arial, Geneva, sans-serif; font-size: 2em; margin-bottom: 0.13em;"&gt;&lt;br /&gt;&lt;/h1&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8255490579949689450?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8255490579949689450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/rich-text-editor-for-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8255490579949689450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8255490579949689450'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/rich-text-editor-for-aspnet.html' title='Rich text editor for Asp.net...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-755916409281089370</id><published>2010-07-01T18:40:00.000+05:30</published><updated>2010-07-01T18:40:23.174+05:30</updated><title type='text'>Yahoooooooooo just completed my full sample on asp.net mvc &amp; fluent nhibernate.....</title><content type='html'>Really loved the way asp.net mvc works with fluent nhibernate...&amp;nbsp;Yahoooooooooo just completed my full sample on asp.net mvc &amp;amp; fluent nhibernate.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-755916409281089370?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/755916409281089370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/yahoooooooooo-just-completed-my-full.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/755916409281089370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/755916409281089370'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/yahoooooooooo-just-completed-my-full.html' title='Yahoooooooooo just completed my full sample on asp.net mvc &amp; fluent nhibernate.....'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-4436832866249840069</id><published>2010-07-01T17:36:00.002+05:30</published><updated>2010-07-01T17:36:35.873+05:30</updated><title type='text'>Rounded corners in IE without images amazing..</title><content type='html'>Hai,&lt;br /&gt;&amp;nbsp;&amp;nbsp; Just look at this&amp;nbsp;&lt;a href="http://davidwalsh.name/dw-content/curvy-corners.php"&gt;IE rounded corners...&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-4436832866249840069?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/4436832866249840069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/rounded-corners-in-ie-without-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4436832866249840069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4436832866249840069'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/07/rounded-corners-in-ie-without-images.html' title='Rounded corners in IE without images amazing..'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-4094356253382624658</id><published>2010-06-29T12:35:00.000+05:30</published><updated>2010-06-29T12:35:45.059+05:30</updated><title type='text'>Best Programmer Joke i ve ever heard...</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;A man flying in a hot air balloon suddenly realizes he’s lost. He reduces height and spots a man down below. He lowers the balloon further and shouts to get directions, "Excuse me, can you tell me where I am?"&lt;/b&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;The man below says: "Yes. You're in a hot air balloon, hovering 30 feet above this field."&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;"You must work in Information Technology," says the balloonist.&lt;/b&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;"I do" replies the man. "How did you know?"&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;"Well," says the balloonist, "everything you have told me is technically correct, but It's of no use to anyone."&lt;/b&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;The man below replies, "You must work in management."&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;"I do," replies the balloonist, "But how'd you know?"&lt;/b&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;"Well", says the man, "you don’t know where you are, or where you’re going, you expect me to be able to help. You’re in the same position you were before we met, but now it’s my fault."&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-4094356253382624658?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/4094356253382624658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/best-programmer-joke-i-ve-ever-heard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4094356253382624658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4094356253382624658'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/best-programmer-joke-i-ve-ever-heard.html' title='Best Programmer Joke i ve ever heard...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-985111551907579757</id><published>2010-06-22T15:39:00.001+05:30</published><updated>2010-07-05T10:55:23.324+05:30</updated><title type='text'>Twitter like alert after form submit in jquery...</title><content type='html'>Just got my example to work and here it is,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function topBar(message) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;var $alert = $('&amp;lt;div/&amp;gt;');&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$alert.text(message);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$alert.click(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(this).slideUp(200);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;});&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$(body).append($alert);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setTimeout(function() { $alert.slideUp(200) }, 5000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and css:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#alert&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;{&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;overflow: hidden;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;width: 100%;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;text-align: center;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;position: absolute;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;top: 0;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;left: 0;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;background-color: #FF0000;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;height: 0;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;color: #FFFFFF;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;font: 20px/40px arial, sans-serif;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;opacity: .9;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Try it and let me know for doubts...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-985111551907579757?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/985111551907579757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/twitter-like-alert-after-form-submit-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/985111551907579757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/985111551907579757'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/twitter-like-alert-after-form-submit-in.html' title='Twitter like alert after form submit in jquery...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-1895431596396004321</id><published>2010-06-21T11:56:00.000+05:30</published><updated>2010-06-21T11:56:43.403+05:30</updated><title type='text'>Fluent NHibernate configuration (Ms Sql Server 2005 &amp; Mysql)..</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="font-size: 14px; font-weight: normal; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;NHibernate is popular in Open-source community, fully featured, mature ORM but the way to config mappings in XML files (.hbm.xml files) is not comfort.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-size: 14px; font-weight: normal; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;I would prefer to write mappings in strongly typed C# code and enjoy from easy refactoring, improved readability and more concise code.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-size: 14px; font-weight: normal; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-size: 14px; font-weight: normal; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;Fluent NHibernate resolves this issue and provides alternative to NHibernate's standard XML mapping files - fluent, XML-less, compile safe.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-size: 14px; font-weight: normal; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-size: 14px; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;Samples of mappings:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-size: 14px; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 600px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; line-height: normal;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;b&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;public class CustomerMap : ClassMap&amp;lt;Customer&amp;gt;&lt;br /&gt;{&lt;br /&gt;    public CustomerMap()&lt;br /&gt;    {&lt;br /&gt;        WithTable("Customers");&lt;br /&gt; &lt;br /&gt;        Id(x =&amp;gt; x.Id, "CustomerId");&lt;span&gt;&lt;/span&gt;&lt;br /&gt;        Map(x =&amp;gt; x.Firstname);&lt;br /&gt;        Map(x =&amp;gt; x.Lastname);&lt;br /&gt;        Map(x =&amp;gt; x.Email, "EmailAddress");&lt;br /&gt;    }&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;//For sql server2005&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;Fluently.Configure()&lt;br /&gt;  .Database(MsSqlConfiguration.MsSql2005&lt;br /&gt;    .ConnectionString(c =&amp;gt; c&lt;br /&gt;      .FromAppSetting("connectionString"))&lt;br /&gt;    .Cache(c =&amp;gt; c&lt;br /&gt;      .UseQueryCache()&lt;br /&gt;      .ProviderClass&amp;lt;HashtableCacheProvider&amp;gt;())&lt;br /&gt;    .ShowSql())&lt;br /&gt;  .Mappings(m =&amp;gt; m&lt;br /&gt;    .FluentMappings.AddFromAssemblyOf&amp;lt;Customer&amp;gt;())&lt;br /&gt;  .BuildSessionFactory();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;//For Mysql&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 12px; white-space: normal;"&gt;&lt;pre style="overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;Fluently.Configure()&lt;/span&gt;&lt;/pre&gt;&lt;pre style="overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;.Database(MySqlConfiguration.Standard&lt;/span&gt;&lt;/pre&gt;&lt;pre style="overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;.ConnectionString(c =&amp;gt; c.FromConnectionStringWithKey("ConnectionString")))     .Mappings(m =&amp;gt; m.FluentMappings.AddFromAssemblyOf&lt;/span&gt;&lt;myautofacmodule&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;())     .BuildSessionFactory()) &lt;/span&gt;&lt;/myautofacmodule&gt;&lt;/pre&gt;&lt;pre style="overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;myautofacmodule&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/myautofacmodule&gt;&lt;/pre&gt;&lt;pre style="overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="background-color: white; font-weight: normal;"&gt;Always looking forward to maintain whole schema of a database is really challenging..&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;myautofacmodule&gt;&lt;/myautofacmodule&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-1895431596396004321?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/1895431596396004321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/fluent-nhibernate-configuration-ms-sql.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/1895431596396004321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/1895431596396004321'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/fluent-nhibernate-configuration-ms-sql.html' title='Fluent NHibernate configuration (Ms Sql Server 2005 &amp; Mysql)..'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-1299718826910824890</id><published>2010-06-21T11:29:00.000+05:30</published><updated>2010-06-21T11:29:35.467+05:30</updated><title type='text'>Getting started with GPS and IVR integration with asp.net mvc...</title><content type='html'>&amp;nbsp;I was going through some articles about &lt;b&gt;IVR&lt;/b&gt;(&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; line-height: 19px;"&gt;&lt;em style="font-style: normal; font-weight: bold;"&gt;Interactive voice response) &lt;/em&gt;&lt;em style="font-style: normal;"&gt;and&lt;/em&gt;&lt;em style="font-style: normal; font-weight: bold;"&gt; GPS(Global positioning system)&lt;/em&gt;&lt;em style="font-style: normal;"&gt;... I just loved the concept and started to find API's for each... Looking forward to face the challenge...&lt;/em&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-1299718826910824890?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/1299718826910824890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/getting-started-with-gps-and-ivr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/1299718826910824890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/1299718826910824890'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/getting-started-with-gps-and-ivr.html' title='Getting started with GPS and IVR integration with asp.net mvc...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-1343180754353912356</id><published>2010-06-17T17:15:00.000+05:30</published><updated>2010-06-17T17:15:26.220+05:30</updated><title type='text'>When to choose ORM as data access instead of ADO.NET?</title><content type='html'>&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;I mentioned that I think that hand rolled data access layers using stored procedures are a bad thing, and one of my co-workers asked me to elaborate.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;The main reason that I don’t like hand rolled data access layers is that by writing your own DAL, you are basically reimplementing a&amp;nbsp;&lt;i&gt;solved problem&lt;/i&gt;. Think about all of the things you have worry about if you write your own DAL:&lt;/div&gt;&lt;ul style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px;"&gt;&lt;li&gt;Creating the CRUD stored procs&lt;/li&gt;&lt;li&gt;Writing ADO.NET code to call the stored procs&lt;/li&gt;&lt;li&gt;Figuring out which entities are dirty and need to be saved, and which properties have changed&lt;/li&gt;&lt;li&gt;What relationships do you load when you load an entity from the database? How do you do lazy loading of relationships?&lt;/li&gt;&lt;li&gt;Writing tests to test all of this custom code that you have to write&lt;/li&gt;&lt;/ul&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;There are numerous object-relational mapping (ORM) tools out there which take care of all of this.&amp;nbsp;&lt;a href="http://nhforge.org/" style="color: #78a515; font-weight: bold;" target="_blank"&gt;NHibernate&lt;/a&gt;&amp;nbsp;is my favorite (more specifically,&amp;nbsp;&lt;a href="http://wiki.fluentnhibernate.org/Getting_started" style="color: #999999;" target="_blank"&gt;Fluent NHibernate&lt;/a&gt;). NHibernate has been around for several years and is very mature. There are ORMs from Microsoft (LINQ to SQL, Entity Framework), and numerous other ORMs out there.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;These ORMs have thousands of people using them, so they have been well tested and have proven over time to be very effective at what they do. Countless hours have gone into the development, design, and testing of these ORMs.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;Think about what you are trying to do by writing your own hand rolled data access layer. Who are you to think that you can do a better job in a short amount of time than the people who developed these mature solutions over several years? Data access is a very complicated thing to try and implement, and some of the most painful code that I’ve ever had to deal with was found in someone’s hand rolled data access layer.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;Here’s the thing — a large percentage of your data access is vanilla loading and saving of objects from the database. In these cases, performance is not a concern and you do not need any special queries in order to optimize the loading and saving of these objects.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;For a very small percentage of your data access, performance may be a concern and you may need to use custom stored procedures. So in these cases, you can bypass the ORM and write your stored procedures and custom code in order to optimize the loading and saving of these specific objects.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;If you use stored procedures and custom code, you have more control over things. This also comes with a cost (longer time to develop). If you are accepting this cost for cases where you don’t need to optimize the data access, I would say that you’ve wasted time on premature optimization, not to mention that you’ve probably had to spend time implementing all of that data access code.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;I would rather use an ORM that has implemented everything that is difficult about data access. Now all I have to tell it how to map to the database (which isn’t that hard) and tell it to do things for me. With lazy loading, it won’t load entity relationships (e.g. child collections on an entity object) unless it needs to. It knows when objects are dirty and if they need to be saved or not. I have an easy hook so that I can validate entities when they are saved.&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;The other day I configured a cache in NHibernate in 15 minutes. With very little code I was able to set NHibernate up so that it will cache entities that don’t ever change in memory so that it doesn’t have to get to the database to get them every time. There were numerous examples on the internet telling me how to do this, and I’m extremely confident that it’s going to work (I didn’t have to write any of the difficult code for caching because NHibernate has solved that problem).&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.4;"&gt;I want to write code that solves business problems. Thankfully other people have written libraries that will help me do that. So I’m going to use them.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-1343180754353912356?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/1343180754353912356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/when-to-choose-orm-as-data-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/1343180754353912356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/1343180754353912356'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/when-to-choose-orm-as-data-access.html' title='When to choose ORM as data access instead of ADO.NET?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-6513393506490954583</id><published>2010-06-10T11:24:00.001+05:30</published><updated>2010-06-10T11:24:54.689+05:30</updated><title type='text'>Fluent nHibernate rocks with asp.net MVC...</title><content type='html'>Just got my &lt;b&gt;asp.net mvc&lt;/b&gt; web application to work with &lt;b&gt;fluent Nhibernate... &lt;/b&gt;Just loved the way it ships with asp.net MVC... Looking forward to the challenges when deploying it to live server......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-6513393506490954583?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/6513393506490954583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/fluent-nhibernaterocks-with-aspnet-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6513393506490954583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6513393506490954583'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/fluent-nhibernaterocks-with-aspnet-mvc.html' title='Fluent nHibernate rocks with asp.net MVC...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-4217813254619802741</id><published>2010-06-05T14:19:00.000+05:30</published><updated>2010-06-05T14:19:32.782+05:30</updated><title type='text'>"Remember the Milk" really rocks my work schedule...</title><content type='html'>&lt;a href="http://www.rememberthemilk.com/"&gt;Remember the milk&lt;/a&gt;&amp;nbsp;really rocks my work schedule.... I got started with it a week ago and its looks really cool... Guys give a try....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-4217813254619802741?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/4217813254619802741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/remember-milk-really-rocks-my-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4217813254619802741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/4217813254619802741'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/06/remember-milk-really-rocks-my-work.html' title='&quot;Remember the Milk&quot; really rocks my work schedule...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-9088198893507114914</id><published>2010-05-24T11:10:00.002+05:30</published><updated>2010-05-24T11:10:56.173+05:30</updated><title type='text'>Just learnt to set folder permissions in iis...</title><content type='html'>IIS Folder permission:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tool-&amp;gt;Options-&amp;gt;View-&amp;gt;Use simple file sharing(recommended)--- Uncheck it.....&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RightClick on the folder to give permissions,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Security-&amp;gt;Asp.net account -&amp;gt; Full control -&amp;gt; check all&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-9088198893507114914?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/9088198893507114914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/05/just-learnt-to-set-folder-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/9088198893507114914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/9088198893507114914'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/05/just-learnt-to-set-folder-permissions.html' title='Just learnt to set folder permissions in iis...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8596525640336092255</id><published>2010-05-05T12:00:00.001+05:30</published><updated>2010-05-05T12:00:40.186+05:30</updated><title type='text'>Its Time to move from asp.net webforms to asp.net mvc...</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;To all my .net friends,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I was working with &lt;b&gt;asp.net mvc&lt;/b&gt; and ships really well with &lt;b&gt;jquery..... &lt;/b&gt;Just give a try with &lt;b&gt;asp.net mvc......&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;h1 style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: inline !important; font-family: 'Trebuchet MS', 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 23px; font-weight: bold; margin-bottom: 7px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Biggest advantage to using ASP.Net MVC over web forms&lt;/h1&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;The main advantages of ASP.net MVC are&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;1) Enables the full control over the rendered HTML.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;2) Provides clean separation of concerns(SoC).&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;3) Enables Test Driven Development (TDD).&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;4) Easy integration with JavaScript frameworks.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;5) Following the design of stateless nature of the web.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;6) RESTful urls that enables SEO.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;7) No ViewState and PostBack events&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;The main advantage of ASP.net Web Form are&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;1) It provides RAD development&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;2) Easy development model for developers those coming from winform development.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8596525640336092255?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8596525640336092255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/05/its-time-to-move-from-aspnet-webforms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8596525640336092255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8596525640336092255'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/05/its-time-to-move-from-aspnet-webforms.html' title='Its Time to move from asp.net webforms to asp.net mvc...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-7751922640044380739</id><published>2010-04-06T17:19:00.000+05:30</published><updated>2010-04-06T17:19:15.258+05:30</updated><title type='text'>Jquery replaces Flash... Really cool....</title><content type='html'>Just try this,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br /&gt;&amp;lt;head runat="server"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;script type="text/javascript" src="jquery.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;link rel="Stylesheet" type="text/css" href="CSS/Main.css" /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;style type="text/css&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;#BannerDiv {width: 954px; height: 327px;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; #BannerDiv img {position: absolute; width: 954px; height: 327px; display: none;}​&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div Id="BannerDiv"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;img src="Images/banner3.jpg" alt="image1"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;img src="Images/ban_main_25.jpg" alt="image2"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;img src="Images/banner_25.jpg" alt="image3"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$('#BannerDiv &amp;gt; :first').show();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setTimeout(rotate,1000);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;function rotate() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var c = $('#BannerDiv &amp;gt; :visible').css({ 'z-index': 2 }).fadeOut(2000, function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setTimeout(rotate, 1000);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}).next().css({ 'z-index': 1 }).show();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (c.length == 0) $('#BannerDiv &amp;gt; :first').css({ 'z-index': 1 }).show();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;Include your images to see the demo...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-7751922640044380739?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/7751922640044380739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/04/jquery-replaces-flash-really-cool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/7751922640044380739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/7751922640044380739'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/04/jquery-replaces-flash-really-cool.html' title='Jquery replaces Flash... Really cool....'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-7665520998618281800</id><published>2010-03-30T12:19:00.006+05:30</published><updated>2010-04-12T18:05:29.048+05:30</updated><title type='text'>Jquery + Asp.net page methods really cool you got to love it...</title><content type='html'>In your aspx page....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;head runat="server"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;link rel="Stylesheet" type="text/css" href="CSS/Main.css" /&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascript" src="jquery.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascript" src="Javascript/Data.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/head&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;body&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;form id="form1" runat="server"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div id="PagerUp" class="pager"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div id="ResultsDiv"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/div&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;div id="PagerDown" class="pager"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/div&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;input id="HfId" type="hidden" /&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var itemsPerPage = 5;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(document).ready(function() {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getRecordspage(0, itemsPerPage);&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(".pager").pagination($("#HfId").val(), {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; callback: getRecordspage,&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; current_page: 0,&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; items_per_page: itemsPerPage,&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; num_display_entries: 5,&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; next_text: 'Next',&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prev_text: 'Prev',&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; num_edge_entries: 1&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/form&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/script&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/body&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;lt;/html&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In yourcodebehind aspx.cs;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Data.Sql;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.Services;&lt;br /&gt;using Microsoft.ApplicationBlocks.Data;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;public partial class _Default : System.Web.UI.Page&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;[WebMethod]&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static string GetRecords(int currentPage,int pagesize)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SqlParameter[] _spParams = new SqlParameter[2];&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_spParams[0] = new SqlParameter("@CurrentPage", currentPage);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_spParams[1] = new SqlParameter("@PageSize", pagesize);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataSet ds = SqlHelper.ExecuteDataset(connectionString, CommandType.StoredProcedure, "Employee_View_Paging", _spParams);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;div style="display: inline !important;"&gt;StringBuilder headStrBuilder = new StringBuilder(ds.Tables[0].Columns.Count * 5); //pre-allocate some space, default is 16 bytes&lt;/div&gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; ds.Tables[0].Columns.Count; i++)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;headStrBuilder.AppendFormat("\"{0}\" : \"{0}{1}¾\",", ds.Tables[0].Columns[i].Caption, i);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;headStrBuilder.Remove(headStrBuilder.Length - 1, 1); // trim away last ,&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringBuilder sb = new StringBuilder(ds.Tables[0].Rows.Count * 5); //pre-allocate some space&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("{\"");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append(ds.Tables[0].TableName);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\" : [");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; ds.Tables[0].Rows.Count; i++)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string tempStr = headStrBuilder.ToString();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("{");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int j = 0; j &amp;lt; ds.Tables[0].Columns.Count; j++)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ds.Tables[0].Rows[i][j] = ds.Tables[0].Rows[i][j].ToString().Replace("'", "");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tempStr = tempStr.Replace(ds.Tables[0].Columns[j] + j.ToString() + "¾", ds.Tables[0].Rows[i][j].ToString());&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append(tempStr + "},");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Remove(sb.Length - 1, 1); // trim last ,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("]}");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;return sb.Append("##").Append(ds.Tables[1].Rows[0].ItemArray[0]).Append("##").Append(ds.Tables[2].Rows[0].ItemArray[0]).ToString();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;&lt;div style="display: inline !important;"&gt;}&lt;/div&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;div style="display: inline !important;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;div style="display: inline !important;"&gt;I&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;n your js....&lt;/span&gt;&lt;/div&gt;&lt;/b&gt;&lt;br /&gt;function getRecordspage(curPage) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$.ajax({&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type: "POST",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url: "Default.aspx/GetRecords",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data: "{'currentPage':" + (curPage + 1) + ",'pagesize':5}",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;contentType: "application/json; charset=utf-8",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;async: false,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataType: "json",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;success: function(jsonObj) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#ResultsDiv").empty();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#HfId").val("");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var strarr = jsonObj.d.split('##');&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var jsob = jQuery.parseJSON(strarr[0]);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var divs = '';&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$.each(jsob.Table, function(i, employee) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;divs += '&amp;lt;div class="resultsdiv"&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;span class="resultName"&amp;gt;' + employee.Emp_Name + '&amp;lt;/span&amp;gt;&amp;lt;span class="resultfields" style="padding-left:100px;"&amp;gt;Category&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span class="resultfieldvalues"&amp;gt;' + employee.Desig_Name + '&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;span id="SalaryBasis" class="resultfields"&amp;gt;Salary Basis&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span class="resultfieldvalues"&amp;gt;' + employee.SalaryBasis + '&amp;lt;/span&amp;gt;&amp;lt;span class="resultfields" style="padding-left:25px;"&amp;gt;Salary&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span class="resultfieldvalues"&amp;gt;' + employee.FixedSalary + '&amp;lt;/span&amp;gt;&amp;lt;span style="font-size:110%;font-weight:bolder;padding-left:25px;"&amp;gt;Address&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span class="resultfieldvalues"&amp;gt;' + employee.Address + '&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;';&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#ResultsDiv").append(divs);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(".resultsdiv:even").addClass("resultseven");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(".resultsdiv").hover(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(this).addClass("resultshover");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(this).removeClass("resultshover");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#HfId").val(strarr[1]);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;div style="display: inline !important;"&gt;&lt;/div&gt;&lt;div style="display: inline !important;"&gt;var paginationClone = $("#PagerUp &amp;gt; *").clone(true);&lt;/div&gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$("#PagerDown").empty();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;paginationClone.appendTo("#PagerDown");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;});&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;b&gt; &lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Css:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;.resultsdiv&lt;/b&gt;&lt;br /&gt;&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;background-color: #FFF;border-top:solid 1px #ddd; height:50px; border-bottom:solid 1px #ddd; padding-bottom:15px; width:450px;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;.resultseven { background-color: #EFF1f1; }&lt;/b&gt;&lt;br /&gt;&lt;b&gt;.resultshover { background-color: #F4F2F2; cursor:pointer; }&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;.resultName&lt;/b&gt;&lt;br /&gt;&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;font-size:125%;font-weight:bolder;color:#476275;font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;.resultfields&lt;/b&gt;&lt;br /&gt;&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;font-size:110%;font-weight:bolder;font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;.resultfieldvalues&lt;/b&gt;&lt;br /&gt;&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;color:#476275;font-size:110%;font-weight:bold;font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Stored Procedure:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ALTER PROCEDURE [dbo].[Employee_View_Paging]&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;@CurrentPage INT,&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;@PageSize INT&lt;/b&gt;&lt;br /&gt;&lt;b&gt;AS&lt;/b&gt;&lt;br /&gt;&lt;b&gt;BEGIN&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;-- SET NOCOUNT ON added to prevent extra result sets from&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;-- interfering with SELECT statements.&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;SET NOCOUNT ON;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-- Insert statements for procedure here&lt;/b&gt;&lt;br /&gt;&lt;b&gt;--&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;SELECT e.Emp_Id,e.Identity_No,e.Emp_Name,e.Address,convert(varchar, e.Date_Of_Birth, 103) as Date_Of_Birth,d.Desig_Name,d.Desig_Description,case WHEN e.SalaryBasis=1 THEN 'Weekly' ELSE 'Monthly' end as SalaryBasis,e.FixedSalary&lt;/b&gt;&lt;br /&gt;&lt;b&gt;-- &amp;nbsp; &amp;nbsp; &amp;nbsp;from Employee as e inner join Designation as d on e.Desig_Id=d.Desig_Id where e.Is_Deleted=0&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SELECT ROW_NUMBER() OVER (ORDER BY Emp_Id) AS Row,Emp_Id,Emp_Name,[Address],Desig_Name,SalaryBasis,FixedSalary FROM &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; (&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; SELECT&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;ROW_NUMBER() OVER (ORDER BY Emp_Id) AS Row,Emp_Id,Emp_Name,[Address],Desig_Name,SalaryBasis,FixedSalary&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; FROM Employee_View&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; ) AS EmpWitRowNos&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;WHERE &amp;nbsp;Row &amp;gt;= (@CurrentPage - 1) * @PageSize + 1 AND Row &amp;lt;= @CurrentPage*@PageSize&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SELECT COUNT(*) as TotalCount FROM Employee_View&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SELECT &amp;nbsp;CEILING(COUNT(*) / CAST(@PageSize AS FLOAT)) NumberOfPages&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; FROM &amp;nbsp;Employee_View&lt;/b&gt;&lt;br /&gt;&lt;b&gt;END&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-7665520998618281800?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/7665520998618281800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/jquery-aspnet-page-methods-really-cool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/7665520998618281800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/7665520998618281800'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/jquery-aspnet-page-methods-really-cool.html' title='Jquery + Asp.net page methods really cool you got to love it...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-6395767816004666942</id><published>2010-03-25T11:15:00.000+05:30</published><updated>2010-03-25T11:15:59.133+05:30</updated><title type='text'>ViewState Compression ....</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 style="font-family: verdana, helvetica, arial, sans-serif; font-size: 13pt; font-weight: bold; line-height: 1.2em;"&gt;Compressing and Decompressing Data in Memory&lt;/h2&gt;&lt;div&gt;The code below is really simple, and doesn't need further explanation:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;using System.IO;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;using System.IO.Compression;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;public static class Compressor&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static byte[] Compress(byte[] data)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MemoryStream output = new MemoryStream();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GZipStream gzip = new GZipStream(output,&lt;/div&gt;&lt;div&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;CompressionMode.Compress, true);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gzip.Write(data, 0, data.Length);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gzip.Close();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return output.ToArray();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static byte[] Decompress(byte[] data)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MemoryStream input = new MemoryStream();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;input.Write(data, 0, data.Length);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;input.Position = 0;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GZipStream gzip = new GZipStream(input,&lt;/div&gt;&lt;div&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;CompressionMode.Decompress, true);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MemoryStream output = new MemoryStream();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] buff = new byte[64];&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int read = -1;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;read = gzip.Read(buff, 0, buff.Length);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (read &amp;gt; 0)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;output.Write(buff, 0, read);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;read = gzip.Read(buff, 0, buff.Length);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gzip.Close();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return output.ToArray();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;In your base page include these methods and you are done:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;protected override object LoadPageStateFromPersistenceMedium()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string viewState = Request.Form["__VSTATE"];&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] bytes = Convert.FromBase64String(viewState);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bytes = Compressor.Decompress(bytes);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LosFormatter formatter = new LosFormatter();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return formatter.Deserialize(Convert.ToBase64String(bytes));&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;protected override void SavePageStateToPersistenceMedium(object viewState)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LosFormatter formatter = new LosFormatter();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringWriter writer = new StringWriter();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;formatter.Serialize(writer, viewState);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string viewStateString = writer.ToString();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] bytes = Convert.FromBase64String(viewStateString);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bytes = Compressor.Compress(bytes);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ClientScript.RegisterHiddenField("__VSTATE", Convert.ToBase64String(bytes));&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now view your aspx page in firefox&amp;nbsp;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5956"&gt;Viewstate size&lt;/a&gt;&amp;nbsp;addon will show your reduced size...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-6395767816004666942?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/6395767816004666942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/viewstate-compression.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6395767816004666942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6395767816004666942'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/viewstate-compression.html' title='ViewState Compression ....'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-8171845130191388685</id><published>2010-03-23T13:13:00.000+05:30</published><updated>2010-03-23T13:13:04.650+05:30</updated><title type='text'>Add divs below a parent div using jquery...</title><content type='html'>The following function will allow you to add div below a parent div&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function Iteratejsondata(HfJsonValue) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;var jsonObj = eval('(' + HfJsonValue + ')');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (var i = 0, len = jsonObj.Table.length; i &amp;lt; len; ++i) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var employee = jsonObj.Table[i];&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$('&amp;lt;div &amp;nbsp;class="resultsdiv"&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;span id="EmployeeName" style="font-size:125%;font-weight:bolder;"&amp;gt;' + employee.Emp_Name + '&amp;lt;/span&amp;gt;&amp;lt;span style="font-size:100%;font-weight:bolder;padding-left:100px;"&amp;gt;Category&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span&amp;gt;' + employee.Desig_Name + '&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;span id="SalaryBasis" style="font-size:100%;font-weight:bolder;"&amp;gt;Salary Basis&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span&amp;gt;' + employee.SalaryBasis + '&amp;lt;/span&amp;gt;&amp;lt;span style="font-size:100%;font-weight:bolder;padding-left:25px;"&amp;gt;Salary&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span&amp;gt;' + employee.FixedSalary + '&amp;lt;/span&amp;gt;&amp;lt;span style="font-size:100%;font-weight:bolder;padding-left:25px;"&amp;gt;Address&amp;amp;nbsp;:&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;span&amp;gt;' + employee.Address + '&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;').insertAfter('#ResultsDiv');&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//document.write(employee.Emp_Name);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-8171845130191388685?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/8171845130191388685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/add-divs-below-parent-div-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8171845130191388685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/8171845130191388685'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/add-divs-below-parent-div-using-jquery.html' title='Add divs below a parent div using jquery...'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-5028615219919645321</id><published>2010-03-19T10:50:00.002+05:30</published><updated>2010-03-19T10:50:37.046+05:30</updated><title type='text'>FInd 3rd MAX salary in Sql Server?</title><content type='html'>Use the following...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DECLARE @Table TABLE(&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Wages FLOAT&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INSERT INTO @Table SELECT 20000&lt;br /&gt;INSERT INTO @Table SELECT 15000&lt;br /&gt;INSERT INTO @Table SELECT 10000&lt;br /&gt;INSERT INTO @Table SELECT 45000&lt;br /&gt;INSERT INTO @Table SELECT 50000&lt;br /&gt;&lt;br /&gt;--SELECT &amp;nbsp;MAX(Wages)&lt;br /&gt;--FROM &amp;nbsp; &amp;nbsp;@Table where Wages &amp;lt; (select MAX(Wages) from @Table where wages &amp;lt; (select MAX(Wages) from @Table))&lt;br /&gt;&lt;br /&gt;SELECT &amp;nbsp;*&lt;br /&gt;FROM &amp;nbsp; &amp;nbsp;(&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SELECT &amp;nbsp;*,&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;ROW_NUMBER() OVER(ORDER BY Wages DESC) RowID&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FROM &amp;nbsp; &amp;nbsp;@Table&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) sub&lt;br /&gt;WHERE &amp;nbsp; RowID = 3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-5028615219919645321?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/5028615219919645321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/find-3rd-max-salary-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/5028615219919645321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/5028615219919645321'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/find-3rd-max-salary-in-sql-server.html' title='FInd 3rd MAX salary in Sql Server?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-2512004771533252487</id><published>2010-03-17T17:43:00.003+05:30</published><updated>2010-03-22T18:16:24.934+05:30</updated><title type='text'>Advantages of jQuery</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: #555555; font-family: Verdana, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Advantages of jQuery&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;1.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;It’s lightweight, easy and fast.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;2.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Write less but do more.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;3.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Cross Browser Compatibility.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;4.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Separate javascript code from HTML mark-up.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;5.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Easy and Light-weight Ajax Application.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;6.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Availability of various plug-in’s.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;7.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;You can extend it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;8.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;We can use CDN (Content Distribution Network) for internet site.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;9.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Microsoft and Intellisense support in Visual Studio 2008.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;10.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Easy Integration with ASP.Net Ajax projects.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Moving forward, we will look deeply into the above advantages with examples.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;1.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;It’s lightweight, easy and fast&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;jQuery library as such is not a bulky library in terms of size(just 20KB in compressed form), execution time, etc. Once you start using jQuery, you can understand its simplicity and it will take very less development time when compared to classical javascript code. As I said earlier, just including the jQuery library using &amp;lt;script&amp;gt; tag is all you need to work on jQuery. It has no security risk associated with it. You can include it in your project just like any other javascript file.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;2.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Write less but do more&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The main advantage of jQuery library is, we can do various complex client side operations with very less code. This is because of various selector expressions support, chaining mechanism and other similar features of jQuery which makes the complex DOM manipulation lot easier.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;To select a HTML element in javascript,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;document.getElementById('txtName');&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;The above equivalent in jQuery will be,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;$('#txtName');&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0.5in;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;To select all the rows in a table and setting a background color,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;script src="_scripts/jquery-1.3.2.min.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script language="javascript"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).ready(function() {&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#table1 &amp;gt; tbody &amp;gt; tr').css("background-color", "Red");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer jQuery&amp;nbsp;&lt;a href="http://docs.jquery.com/Selectors" style="color: #555555;"&gt;selector documentation&lt;/a&gt;&amp;nbsp;to know more on jQuery selectors.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer the below 2 articles which will check the CheckBoxes in all the rows when we select the header CheckBox in a GridView control to understand the above point. First uses javascript and former uses jQuery library.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/ASPNET/132_GridView_with_CheckBox_%e2%80%93_Select_All_and_Highlight_Selected_Row.aspx" style="color: #555555;"&gt;GridView with CheckBox – Select All and Highlight Selected Row&lt;/a&gt;&amp;nbsp;– JavaScript Version and more code.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/CodeDigest/62-Check-All-Checkboxes-in-GridView-using-JQuery.aspx" style="color: #555555;"&gt;Check All Checkboxes in GridView using jQuery&lt;/a&gt;&amp;nbsp;– jQuery version and less code.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;The other advantage of jQuery is using the chaining mechanism which will help us to reduce the code.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer the below code to understand better,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;script language="javascript"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).ready(function() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#txtName').css("background-color", "Red").val("Test");&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;The above code selects a TextBox control with ID txtName, then applies css style and then set its text as “Test”.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;3.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Cross Browser Compatibility&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;The jQuery code we write is compatible with all the browsers and hence it prevents the need to write separate client side code for different browsers. Remember to set the css properties that are cross-browser compatible when using jQuery for cross browser compatibility.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;4.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Separate javascript code from HTML mark-up&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;jQuery library enables us to separate the client side scripts from the HTML mark-ups. This is possible because of $(document).ready() function of jQuery.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;For example,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;input id="btnSubmit" onclick="javscript:Save()" type="button" value="button" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;The above code can written as,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="_scripts/jquery-1.3.2.min.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script language="javascript"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).ready(function() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#btnSubmit').click(function() {&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&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; alert('Submit Clicked!');&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&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&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Thus, when we use jQuery library we can make our HTML code neat without any javascript code combined with it.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;It is also possible to separate jQuery code into a separate javascript file and link to the aspx page. For example, the above code can be separated in a separate javascript file and it can be linked to the aspx page. Refer the below code,&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="CodeTitle" style="color: #003044; font: normal normal normal 9pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-decoration: underline; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;ASPX&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;head runat="server"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="_scripts/jquery-1.3.2.min.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="_scripts/Default.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="CodeTitle" style="color: #003044; font: normal normal normal 9pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-decoration: underline; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Default.js&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;$(document).ready(function() {&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#btnSubmit').click(function() {&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('Submit Clicked!');&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;});&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;5.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Easy and Light-weight Ajax Application&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;One of biggest advantages of using jQuery library is developing light weight Ajax application in ASP.Net with JSON support. With jQuery library we can prevent the bulky ASP.Net AJAX’s UpdatePanel control for Ajax communications.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer my articles on codedigest.com to know more,&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;1.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx" style="color: #555555;"&gt;Building Cascading DropDownList in ASP.Net Using jQuery and JSON&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;2.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/jQuery/225_Creating_a_Simple_AJAX_Master-Details_View_Using_jQuery_JSON_and_jTemplates_in_ASPNet.aspx" style="color: #555555;"&gt;Creating a Simple AJAX Master-Details View Using jQuery, JSON and jTemplates in ASP.Net&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;3.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/jQuery/233_Building_Collapsible_Panel_Control_using_jQuery_in_ASPNet_Page.aspx" style="color: #555555;"&gt;Building Collapsible Panel Control using jQuery in ASP.Net Page&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;4.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/jQuery/259_Populating_RadioButtonList_Using_jQuery_JSON_in_ASPNet.aspx" style="color: #555555;"&gt;Populating RadioButtonList Using jQuery, JSON in ASP.Net&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;5.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/jQuery/261_GridView_Style_Edit_Update_in_Repeater_Control_Using_jQuery_and_Ajax.aspx" style="color: #555555;"&gt;GridView Style Edit Update in Repeater Control Using jQuery and Ajax&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;6.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/ASPNETAJAX/183_Using_JQuery_in_ASPNet_AJAX_Applications_%e2%80%93_Part_1.aspx" style="color: #555555;"&gt;Using JQuery in ASP.Net AJAX Applications – Part 1&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;7.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/Articles/ASPNETAJAX/185_Using_JQuery_in_ASPNet_AJAX_Applications%e2%80%93Part_2.aspx" style="color: #555555;"&gt;Using JQuery in ASP.Net AJAX Applications–Part 2&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;6.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Availability of various plug-in’s&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;There are various free plug-in’s available on the internet which we can use in our projects. For example, jQuery tabs, jTemplate, etc.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer the plug-in’s directory&amp;nbsp;&lt;a href="http://plugins.jquery.com/" style="color: #555555;"&gt;here.&lt;/a&gt;&amp;nbsp;Since, the jQuery usage is becoming high day by day there are already lots of plug-in’s available online which we can re-use.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;7.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;You can extend it&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;It is also possible to extend existing functionality provided by jQuery library.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer the below post which talks about&amp;nbsp;&lt;a href="http://jquery-howto.blogspot.com/2009/06/custom-jquery-selectors.html" style="color: #555555;"&gt;jQuery Custom Selectors&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;8.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;We can use CDN (Content Distribution Network) for internet site&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;If our site is hosted on internet, then we can start using the jQuery library hosted by Google CDN, Content Distribution Network.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Google's Content Distribution Network (also, AJAX Libraries API) hosts most widely used open source JavaScript libraries which can be used globally across the websites. The main advantage of using google's CDN is they manage all the bug fixes, recent updates and provide a high speed access due to better caching, etc.&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Read&amp;nbsp;&lt;a href="http://www.codedigest.com/CodeDigest/79-Using-the-JQuery-Library-hosted-by-Google-CDN-(Content-Distribution-Network)-in-ASP-Net-Applications.aspx" style="color: #555555;"&gt;Using the JQuery Library hosted by Google CDN (Content Distribution Network) in ASP.Net Applications&lt;/a&gt;&amp;nbsp;to know more.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;9.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Microsoft and Intellisense support in Visual Studio 2008&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;Refer the below 2 FAQ’s to know more,&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/FAQ/23-How-to-enable-jQuery-intellisense-in-Visual-Studio-2008-.aspx" style="color: #555555;"&gt;How to enable jQuery intellisense in Visual Studio 2008?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&lt;a href="http://www.codedigest.com/FAQ/24-How-to-use-jQuery-intellisense-in-an-external-javascript-file-.aspx" style="color: #555555;"&gt;How to use jQuery intellisense in an external javascript file?&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTitle" style="color: #cc6633; font-weight: bold; font: normal normal normal 11pt/normal Verdana, Helvetica; margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: -0.25in;"&gt;&lt;span lang="EN-AU"&gt;10.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&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;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-AU"&gt;Easy Integration with ASP.Net Ajax projects&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleContent" style="color: #333333; font: normal normal normal 10pt/normal Verdana, Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;jQuery library can be easily integrated with ASP.Net Ajax applications. Remember the ready event will not fire for an asynchronous postback caused from UpdatePanel control. The ASP.Net AJAX equivalent of ready() function is endRequest event.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;script type="text/JavaScript" language="JavaScript"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function pageLoad()&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var manager = Sys.WebForms.PageRequestManager.getInstance();&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; manager.add_endRequest(endRequest);&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function endRequest(sender, args)&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Do all what you want to do in jQuery ready function&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleCode" style="background-color: #fdffe8; color: maroon; font-family: 'Courier New'; font-size: 9pt; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; text-indent: 0em;"&gt;&lt;span lang="EN-AU"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="margin-bottom: 0px; margin-left: 0.5in; margin-top: 0px; text-indent: 0em;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-2512004771533252487?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/2512004771533252487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/advantages-of-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2512004771533252487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2512004771533252487'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/advantages-of-jquery.html' title='Advantages of jQuery'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-2786366512519786774</id><published>2010-03-03T18:02:00.003+05:30</published><updated>2010-03-03T18:03:58.332+05:30</updated><title type='text'>Be proud to be a Developer</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a title="Click to Enlarge" href="http://2.bp.blogspot.com/_UCa4305B8hc/S45WZl2jx4I/AAAAAAAAAHk/w_-VdE54N0o/s1600-h/DevelopersAreBornBrave_Small.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="187" src="http://2.bp.blogspot.com/_UCa4305B8hc/S45WZl2jx4I/AAAAAAAAAHk/w_-VdE54N0o/s400/DevelopersAreBornBrave_Small.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-2786366512519786774?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/2786366512519786774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/be-proud-to-be-developer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2786366512519786774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2786366512519786774'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/be-proud-to-be-developer.html' title='Be proud to be a Developer'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_UCa4305B8hc/S45WZl2jx4I/AAAAAAAAAHk/w_-VdE54N0o/s72-c/DevelopersAreBornBrave_Small.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-6746650604584707126</id><published>2010-03-02T10:11:00.000+05:30</published><updated>2010-03-02T10:11:22.111+05:30</updated><title type='text'>C# Interview Questions</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="left" style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;span class="Apple-style-span" style="font-size: large; font-weight: bold;"&gt;General Questions&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;Does C# support multiple-inheritance?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;No.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Who is a protected class-level variable available to?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;It is available to any sub-class (a class inheriting this class).&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Are private class-level variables inherited?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Yes, but they are not accessible.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Although they are not visible or accessible via the class interface, they are inherited.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Describe the accessibility modifier “protected internal”.&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;It is available to classes that are within the same assembly and derived from the specified&amp;nbsp;base class.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;strong&gt;&lt;span&gt;What’s the top .NET class that everything is derived from?&lt;/span&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;System.Object.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;What does the term immutable mean?&lt;/strong&gt;&lt;br /&gt;The data value may not be changed.&amp;nbsp; Note: The&amp;nbsp;&lt;em&gt;variable&lt;/em&gt;&amp;nbsp;value may be changed, but the original immutable data value was discarded and a new data value was created in memory.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s the difference between System.String and System.Text.StringBuilder classes?&lt;/strong&gt;&lt;br /&gt;System.String is immutable.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s the advantage of using System.Text.StringBuilder over System.String?&lt;/strong&gt;&lt;br /&gt;StringBuilder is more efficient in cases where there is a large amount of string manipulation.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Strings are immutable, so each time a string is changed,&amp;nbsp;a new instance in memory is created.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Can you store multiple data types in System.Array?&lt;/strong&gt;&lt;br /&gt;No.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?&lt;/strong&gt;The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array.&amp;nbsp; The CopyTo() method copies the elements into another existing array.&amp;nbsp; Both perform a shallow copy.&amp;nbsp; A shallow copy means the contents (each array element) contains references to the same object as the elements in the original array.&amp;nbsp; A deep copy (which neither of these methods performs) would create a new instance of each element's object, resulting in a different, yet identacle object.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;How can you sort the elements of the array in descending order?&lt;/strong&gt;By calling Sort() and then Reverse() methods.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s the .NET collection&amp;nbsp;class that allows an element to be accessed using a unique key?&lt;/strong&gt;HashTable.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What class is underneath the SortedList class?&lt;/strong&gt;A sorted HashTable.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Will the finally block get executed if an exception has not occurred?&lt;/strong&gt;Yes.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s the C# syntax to catch any possible exception?&lt;/strong&gt;A catch block that catches the exception of type System.Exception.&amp;nbsp; You can also omit the parameter data type in this case and just write catch {}.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Can multiple catch blocks be executed for a single try statement?&lt;/strong&gt;No.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Once the proper catch block processed, control is transferred to the finally block (if there are any).&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;strong&gt;Explain the three services model commonly know as a three-tier application.&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;Presentation (UI), Business (logic and underlying code) and Data (from storage or other sources).&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Class Questions&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What is the syntax to inherit from a class in C#?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Place a colon and then the name of the base class.&lt;br /&gt;Example:&amp;nbsp;&lt;em&gt;class MyNewClass : MyBaseClass&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Can you prevent your class from being inherited by another class?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Yes.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;The keyword “sealed” will prevent the class from being inherited.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Can you allow a class to be inherited, but prevent the method from being over-ridden?&lt;/strong&gt;Yes.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Just leave the class public and make the method sealed.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s an abstract class?&lt;/strong&gt;A class that cannot be instantiated.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;An abstract class is a class that must be inherited and have the methods overridden.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;An abstract class is essentially a blueprint for a class without any implementation.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;When do you absolutely have to declare a class as abstract?&lt;/strong&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;1. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden.&lt;br /&gt;2.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;When at least one of the methods in the class is abstract.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What is an interface class?&lt;/strong&gt;Interfaces, like classes, define a set of properties, methods, and events. But unlike classes, interfaces do not provide implementation. They are implemented by classes, and defined as separate entities from classes.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Why can’t you specify the accessibility modifier for methods inside the interface?&lt;/strong&gt;They all must be public, and are therefore public by default.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Can you inherit multiple interfaces?&lt;/strong&gt;Yes.&amp;nbsp; .NET does support multiple interfaces.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What happens if you inherit multiple interfaces and they have conflicting method names?&lt;/strong&gt;It’s up to you to implement the method inside your own class, so implementation is left entirely up to you. This might cause a problem on a higher-level scale if similarly named methods from different interfaces expect different data, but as far as compiler cares you’re okay.&lt;br /&gt;&lt;strong&gt;To Do:&lt;/strong&gt;&amp;nbsp;Investigate&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What’s the difference between an interface and abstract class?&lt;/strong&gt;In an interface class, all methods are abstract - there is no implementation.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;In an abstract class some methods can be concrete.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;In an interface class, no accessibility modifiers are allowed.&amp;nbsp; An abstract class may have accessibility modifiers.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;strong&gt;What is the difference between a Struct and a Class?&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Structs are value-type variables and are thus saved on the stack, additional overhead but faster retrieval.&amp;nbsp; Another difference is that structs&amp;nbsp;&lt;strong&gt;cannot&lt;/strong&gt;&amp;nbsp;inherit.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Method and Property Questions&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What’s the implicit name of the parameter that gets passed into the set method/property of a class?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Value.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;The data type of the value parameter is defined by whatever data type the property is declared as.&lt;a href="" name="more55"&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What does the keyword “virtual” declare for a method or property?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;The method or property can be overridden.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;How is method overriding different from method overloading?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;When overriding a method, you change the behavior of the method for the derived class.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Overloading a method simply involves having another method with the same name within the class.&lt;span&gt;&lt;span&gt;&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Can you declare an override method to be static if the original method is not static?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;No.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;The signature of the virtual method must remain the same.&amp;nbsp; (Note: Only the keyword virtual is changed to keyword override)&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What are the different ways a method can be overloaded?&amp;nbsp;&lt;/strong&gt;Different parameter data types, different number of parameters, different order of parameters.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;If a base class has a number of overloaded constructors, and an&amp;nbsp;inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?&lt;/strong&gt;Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Events and Delegates&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What’s a delegate?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;A delegate object encapsulates a reference to a method.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What’s a multicast delegate?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;A delegate that has multiple handlers assigned to it.&amp;nbsp; Each assigned handler (method) is called.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;XML Documentation Questions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Is XML case-sensitive?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;Yes.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What’s the difference between // comments, /* */ comments and /// comments?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Single-line comments, multi-line comments, and XML documentation comments.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;How do you generate documentation from the C# file commented properly with a command-line compiler?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Compile it with the /doc switch.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Debugging and Testing Questions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;What debugging tools come with the .NET SDK?&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;1.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;CorDBG – command-line debugger.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;To use CorDbg, you must compile the original C# file using the /debug switch.&lt;/span&gt;&lt;span&gt;&lt;span&gt;2.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;DbgCLR – graphic debugger.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio .NET uses the DbgCLR.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What does assert() method do?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The program proceeds without any interruption if the condition is true.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What’s the difference between the Debug class and Trace class?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;Documentation looks the same.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Use Debug class for debug builds, use Trace class for both debug and release builds.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Why are there five tracing levels in System.Diagnostics.TraceSwitcher?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;The tracing dumps can be quite verbose.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;For applications that are constantly running you run the risk of overloading the machine and the hard drive.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Five levels range from None to Verbose, allowing you to fine-tune the tracing activities.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;Where is the output of TextWriterTraceListener redirected?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;To the Console or a text file depending on the parameter passed to the constructor.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;How do you debug an ASP.NET Web application?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Attach the aspnet_wp.exe process to the DbgClr debugger.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What are three test cases you should go through in unit testing?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;&lt;span&gt;1.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Positive test cases (correct data, correct output).&lt;/span&gt;&lt;span&gt;&lt;span&gt;2.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Negative test cases (broken or missing data, proper handling).&lt;/span&gt;&lt;span&gt;&lt;span&gt;3.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Exception test cases (exceptions are thrown and caught properly).&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;Can you change the value of a variable while debugging a C# application?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;Yes.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;If you are debugging via Visual Studio.NET, just go to Immediate window.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;ADO.NET and Database Questions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;span&gt;&lt;span&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What is the role of the DataReader class in ADO.NET connections?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;It returns a read-only, forward-only rowset from the data source.&amp;nbsp; A DataReader provides fast access when a forward-only sequential read is needed.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;OLE-DB.NET is a .NET layer on top of the OLE layer, so it’s not as fastest and efficient as SqlServer.NET.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What is the wildcard character in SQL?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;Let’s say you want to query database with LIKE for all employees whose name starts with&amp;nbsp;&lt;st1:place w:st="on"&gt;&lt;st1:state w:st="on"&gt;La.&lt;/st1:state&gt;&amp;nbsp;&lt;/st1:place&gt;The wildcard character is %, the proper query with LIKE would involve ‘La%’.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;Explain ACID rule of thumb for transactions.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;A transaction must be:&lt;/span&gt;&lt;span&gt;&lt;span&gt;1.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Atomic - it is one unit of work and does not dependent on previous and following transactions.&lt;/span&gt;&lt;span&gt;&lt;span&gt;2.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Consistent - data is either committed or roll back, no “in-between” case where something has been updated and something hasn’t.&lt;/span&gt;&lt;span&gt;&lt;span&gt;3.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Isolated - no transaction sees the intermediate results of the current transaction).&lt;/span&gt;&lt;span&gt;&lt;span&gt;4.&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Durable - the values persist if the data had been committed even if the system crashes right after.&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What connections does Microsoft SQL Server support?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and password).&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Windows Authentication is trusted because the username and password are checked with the Active Directory, the SQL Server authentication is untrusted, since SQL Server is the only verifier participating in the transaction.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;What does the Initial Catalog parameter define in the connection string?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;The database name to connect to.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What does the Dispose method do with the connection object?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;Deletes it from the memory.&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;To Do:&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span&gt;answer better.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;The current answer is not entirely correct.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;What is a pre-requisite for connection pooling?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;Multiple processes must agree that they will share the same connection, where every parameter is the same, including the security settings.&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;The connection string must be identical.&lt;br /&gt;&amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/span&gt;&lt;/span&gt;&lt;/ol&gt;&lt;span&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Assembly Questions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;How is the DLL Hell problem solved in .NET?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What are the ways to deploy an assembly?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;An MSI installer, a CAB archive, and XCOPY command.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;What is a satellite assembly?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;What namespaces are necessary to create a localized application?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;System.Globalization and System.Resources.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What is the smallest unit of execution in .NET?&lt;/strong&gt;&lt;br /&gt;an Assembly.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;When should you call the garbage collector in .NET?&lt;/strong&gt;&lt;br /&gt;As a good rule, you should not call the garbage collector.&amp;nbsp; However, you&amp;nbsp;could call the garbage collector when you are done using a large object (or set of objects) to force the garbage collector to dispose of those very large objects from memory.&amp;nbsp; However, this is usually not a good practice.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;How do you convert a value-type to a reference-type?&lt;/strong&gt;&lt;br /&gt;Use Boxing.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What&amp;nbsp;happens in memory when you&amp;nbsp;Box and Unbox a value-type?&lt;/strong&gt;&lt;br /&gt;Boxing converts&amp;nbsp;a value-type to a reference-type, thus storing the object on the heap.&amp;nbsp; Unboxing converts a reference-type to a value-type, thus storing the value on the stack.&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-6746650604584707126?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/6746650604584707126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/c-interview-questions.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6746650604584707126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/6746650604584707126'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/c-interview-questions.html' title='C# Interview Questions'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-2146270016657575781</id><published>2010-03-02T09:45:00.004+05:30</published><updated>2010-03-02T09:46:46.556+05:30</updated><title type='text'>Why C# is used more or preferred over VB.NET?</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;I believe the answer to this question has mostly to do with syntax and history.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;Although VB.NET is an excellent language, the problem with VB.NET has more to do with the history of BASIC than what VB.NET is today.&amp;nbsp;&amp;nbsp;I can tell you that I prefer C# over VB.NET, and I programmed with Visual Basic versions 3 through 6 with much success.&amp;nbsp;&amp;nbsp;However, as any ex-Visual Basic developer an attest to, Visual Basic was always viewed as a second-rate language by C++ and Java developers.&amp;nbsp;&amp;nbsp;There were certainly a number of things that the C++ language would allow over Visual Basic, and not all of them were necessarily positive.&amp;nbsp;&amp;nbsp;Much of the flexibility allowed by C++ was also the demise of many C++ applications.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;I viewed C++ like a surgeon’s scalpel.&amp;nbsp;&amp;nbsp;With a scalpel, it can take a long time to carve out a piece of art.&amp;nbsp;&amp;nbsp;And, in the wrong hands you can do more damage than good, as I have seen.&amp;nbsp;&amp;nbsp;However, in the right hands, you can do very good things.&amp;nbsp;With C++ a developer could do virtually anything since C++ was the core language on which most operating systems were written, and the core for the Microsoft libraries.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;Visual Basic was intended to address the need to rapidly develop applications for the largest share of applications needed, such as business applications.&amp;nbsp;&amp;nbsp;Business applications are more about good business process logic and intuitive user interfaces, not complex user interfaces or algorithms.&amp;nbsp;&amp;nbsp;Visual Basic was Microsoft's initial attempt at providing a development language to improve programmer productivity.&amp;nbsp;&amp;nbsp;Visual Basic addressed this need well.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;With this little bit of history, programmers who used Visual Basic were not considered by some (C++ and Java developers) to be “professional” developers.&amp;nbsp;&amp;nbsp;The fact that Visual Basic had the word “Basic” in it was probably the single most dominating reason – in my opinion.&amp;nbsp;&amp;nbsp;Anything that is “Basic” is probably not powerful – as viewed by many who never really ever used Visual Basic.&amp;nbsp;&amp;nbsp;I must confess, I had the same biases about other database-related languages like FoxPro and DBase – and I was probably overly critical about those and other tools as well.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;I personally have a great deal of respect for Visual Basic and its place in history.&amp;nbsp;&amp;nbsp;For me, it was the right tool for many solutions at that time.&amp;nbsp;&amp;nbsp;Visual Basic versions 3 through 6 existed during a time when companies were only beginning to see the advantages of Local Area Networks (LAN), the wide-spread introduction of the Internet and the explosion of the Internet, all of which happened during the timeline of Visual Basic.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;If I may deviate a bit, during this time most companies; except for the large Fortune 1000 type companies), viewed personal computers and LAN’s as an expensive investment with very little return on investment (ROI).&amp;nbsp;&amp;nbsp;This close scrutiny of Information Technology investments eventually proved to be a good investment in productivity for the average company.&amp;nbsp; The investment in technology then began to swing the other direction at a pace where many companies and investors could not throw enough money into the advancement of technology and new technology companies; and as we all know, this ended with the DOT-COM boom and bust.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;Back to the original question about VB.NET or C#.&amp;nbsp;&amp;nbsp;The important thing to remember is that both VB.NET and C# get their muscle from the .NET Framework.&amp;nbsp;&amp;nbsp;Other than a few minor differences in functionality between the two, the decision&amp;nbsp;becomes&amp;nbsp;mostly driven by syntax.&amp;nbsp;&amp;nbsp;I do not include functional because all .NET languages are interoperable with one another.&amp;nbsp;&amp;nbsp;Again this is provided by the .NET Framework.&amp;nbsp; I personally prefer the C# syntax.&amp;nbsp;&amp;nbsp;It is more like C++, JavaScript, and Java.&amp;nbsp;&amp;nbsp;Although I don’t use Java, I like developing in a syntax that is more widely adopted.&amp;nbsp;&amp;nbsp;I use JavaScript occasionally and as a creature of habit I like that C# and JavaScript are similar in basic syntax.&amp;nbsp;&amp;nbsp;I also prefer the terminology or keywords used by C# because they are more object oriented in nature.&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;"&gt;This is my preference from a non-technical approach.&amp;nbsp;&amp;nbsp;Your comments are welcome.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-2146270016657575781?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/2146270016657575781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/why-c-is-used-more-or-preferred-over.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2146270016657575781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/2146270016657575781'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/03/why-c-is-used-more-or-preferred-over.html' title='Why C# is used more or preferred over VB.NET?'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-5231380996792286895</id><published>2010-02-12T10:06:00.005+05:30</published><updated>2010-03-15T12:57:39.116+05:30</updated><title type='text'>Flying with WCF and Jquery in asp.net</title><content type='html'>Hai guys,&lt;br /&gt;&amp;nbsp;&amp;nbsp; Just started to use WCF and Jquery with one of my application it looks really awesome.... No postbacks,No server controls,No events only ajax stuff..... Soon the site will be up and running .....&lt;br /&gt;&lt;br /&gt;Some of the useful links for WCF undefined errors,&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/04/11/public-hotfix-patch-available-for-asp-net-compilation-issues.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/04/11/public-hotfix-patch-available-for-asp-net-compilation-issues.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.west-wind.com/weblog/posts/306990.aspx"&gt;http://www.west-wind.com/weblog/posts/306990.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.hanselman.com/blog/PermaLink,guid,d88f7539-10d8-4697-8c6e-1badb08bb3f5.aspx"&gt;http://www.hanselman.com/blog/PermaLink,guid,d88f7539-10d8-4697-8c6e-1badb08bb3f5.aspx &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/isha/archive/2009/04/04/issues-with-wcf-service-when-the-asp-net-website-is-deployed-using-the-web-deployment-project-and-as-non-updatable-project.aspx"&gt;http://blogs.msdn.com/isha/archive/2009/04/04/issues-with-wcf-service-when-the-asp-net-website-is-deployed-using-the-web-deployment-project-and-as-non-updatable-project.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In aspx page:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function GetDesignation() {&lt;br /&gt;Service.GetDesignationData(onGetDataSuccess);&lt;br /&gt;}&lt;br /&gt;function onGetDataSuccess(result) {&lt;br /&gt;DesignationDatatable(result);&lt;br /&gt;addclick();&lt;br /&gt;}&lt;br /&gt;function InsertDesignation() {&lt;br /&gt;Service.SetDesignationInsertData($("#TxtDesigName").val(), $("#TxtDescription").val());&lt;br /&gt;Service.GetDesignationData(OnInsertSuccess);&lt;br /&gt;}&lt;br /&gt;function OnInsertSuccess(result) {&lt;br /&gt;&lt;br /&gt;Service.GetDesignationData(onGetDataSuccess);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$(document).ready(function() {&lt;br /&gt;GetDesignation();&lt;br /&gt;HideDiv();&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;function addclick() {&lt;br /&gt;$("#submitt").click(function(event) {&lt;br /&gt;$("#datatable").fadeIn(7000);&lt;br /&gt;$("#ImageButtonDiv").show();&lt;br /&gt;$("#adddiv").hide('slow');&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//         function add1click() {&lt;br /&gt;$("#add1").click(function(event) {&lt;br /&gt;$("#ImageButtonDiv").hide('slow');&lt;br /&gt;$("#datatable").hide('slow');&lt;br /&gt;$("#adddiv").fadeIn(000);&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Service.cs:&lt;br /&gt;&lt;br /&gt;[ServiceContract(Namespace = "")]&lt;br /&gt;[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]&lt;br /&gt;public class Service&lt;br /&gt;{&lt;br /&gt;IDesignationController _designationController;&lt;br /&gt;// Add [WebGet] attribute to use HTTP GET&lt;br /&gt;[OperationContract]&lt;br /&gt;public string GetDesignationData()&lt;br /&gt;{&lt;br /&gt;DataSet dt = GetDesignationViewData();&lt;br /&gt;return GetJSONString(dt.Tables[0]);&lt;br /&gt;}&lt;br /&gt;public string GetJSONString(DataTable Dt)&lt;br /&gt;{&lt;br /&gt;string[] StrDc = new string[Dt.Columns.Count];&lt;br /&gt;string HeadStr = string.Empty;&lt;br /&gt;for (int i = 0; i &amp;lt; Dt.Columns.Count; i++)         {             StrDc[i] = Dt.Columns[i].Caption;             HeadStr += "\"" + StrDc[i] + "\" : \"" + StrDc[i] + i.ToString() + "¾" + "\",";         }         HeadStr = HeadStr.Substring(0, HeadStr.Length - 1);         StringBuilder Sb = new StringBuilder();          Sb.Append("{\"" + Dt.TableName + "\" : [");         for (int i = 0; i &amp;lt; Dt.Rows.Count; i++)         {             string TempStr = HeadStr;             Sb.Append("{");             for (int j = 0; j &amp;lt; Dt.Columns.Count; j++)             {                 if (Dt.Rows[i][j].ToString().Contains("'") == true)                 {                     Dt.Rows[i][j] = Dt.Rows[i][j].ToString().Replace("'", "");                 }                 TempStr = TempStr.Replace(Dt.Columns[j] + j.ToString() + "¾", Dt.Rows[i][j].ToString());             }             Sb.Append(TempStr + "},");         }         Sb = new StringBuilder(Sb.ToString().Substring(0, Sb.ToString().Length - 1));         Sb.Append("]}");         return Sb.ToString();     }     public DataSet GetDesignationViewData()     {         try         {             string connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString;             return SqlHelper.ExecuteDataset(connectionString, CommandType.StoredProcedure, DataTemplate.spDesignation_View);         }         catch (Exception err)         {             throw err;         }     }     [OperationContract]     public bool SetDesignationInsertData(string name,string description)     {         try         {             string connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString;             SqlParameter[] _spParams = new SqlParameter[3];             _spParams[0] = new SqlParameter(DataTemplate.paramName, name);             _spParams[1] = new SqlParameter(DataTemplate.paramDescription, description);             _spParams[2] = new SqlParameter(DataTemplate.paramCreatedDate, System.DateTime.Now);              if (SqlHelper.ExecuteNonQuery(connectionString, CommandType.StoredProcedure, DataTemplate.spDesignation_Create, _spParams) &amp;gt; -2)&lt;br /&gt;{&lt;br /&gt;return true;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;catch (Exception err)&lt;br /&gt;{&lt;br /&gt;throw err;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;// Add more operations here and mark them with [OperationContract]&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6659378269421128671-5231380996792286895?l=pandiyachendur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pandiyachendur.blogspot.com/feeds/5231380996792286895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pandiyachendur.blogspot.com/2010/02/flying-with-wcf-and-jquery-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/5231380996792286895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6659378269421128671/posts/default/5231380996792286895'/><link rel='alternate' type='text/html' href='http://pandiyachendur.blogspot.com/2010/02/flying-with-wcf-and-jquery-in-aspnet.html' title='Flying with WCF and Jquery in asp.net'/><author><name>pandiya chendur</name><uri>http://www.blogger.com/profile/17060630475821159589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_UCa4305B8hc/TIhZp2PwvvI/AAAAAAAAALI/oS9s214J_Vc/S220/47812_116936675028349_100001360507938_101154_6035024_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6659378269421128671.post-962699289037667398</id><published>2010-01-26T15:16:00.001+05:30</published><updated>2010-01-26T15:48:34.720+05:30</updated><title type='text'>Hash and Salt passwords in c#</title><content type='html'>&lt;span style="font-family: Times, 'Times New Roman', serif;"&gt;The following post will be describing password hashing and adding a salt value to it....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Times, 'Times New Roman', serif;"&gt;Store the&amp;nbsp;PasswordHash and salt in the database in the user's account.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;ul&gt;&lt;li&gt;Then, when the user attempts to logon the next time, grab the salt from the database and hash it as usual with the password provided by the user during logon and compare that value to the&amp;nbsp;PasswordHash in the database. If they are the same, the user provided the correct password (whatever that may be). If they are not the same, the password entered was incorrect.&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #eeeeee; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New'; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #eeeeee; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New'; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;private&lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;static&lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;string&lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;CreateSalt&lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; ma
