<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkYBQno6eSp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240</id><updated>2011-11-27T15:55:53.411-08:00</updated><category term="C#" /><category term="Flash" /><category term="Javascript" /><category term="Sql Server" /><category term="String Array" /><category term="String" /><category term="Infragistic ultrawebgrid" /><category term="Asp.net" /><category term="Iframe" /><category term="Html" /><category term="IIS" /><category term="Button Control" /><category term="Ajax" /><category term="Telerik Radcombobox" /><category term="Datatable" /><category term="Silverlight" /><title>Knowledgesharing</title><subtitle type="html">To grow knowledge on asp.net,c#,Sql server,Javascript,Ajax,Html,Web Service,Silverlight,Wcf</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://coolkumarabhay.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>51</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/LYAVO" /><feedburner:info uri="blogspot/lyavo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;C08CRXkzcSp7ImA9WhRSFEk.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-985181621807493588</id><published>2011-11-16T03:11:00.000-08:00</published><updated>2011-11-16T03:11:04.789-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-16T03:11:04.789-08:00</app:edited><title>How to know the current postback is a full postback or partial postback in Asp.net</title><content type="html">Here is the code used to differentiate between partial or full post back in Asp.net.&lt;br /&gt;
        if (Page.IsPostBack)&lt;br /&gt;
        {&lt;br /&gt;
          &lt;br /&gt;
            if (ScriptManager.GetCurrent(this.Page).IsInAsyncPostBack)&lt;br /&gt;
&lt;br /&gt;
            {&lt;br /&gt;
                  //Partial post back&lt;br /&gt;
               &lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
            else&lt;br /&gt;
&lt;br /&gt;
            {&lt;br /&gt;
&lt;br /&gt;
              //full post back&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
        }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-985181621807493588?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sPqY8rGcBQt1rh0bn0E107ixRdM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sPqY8rGcBQt1rh0bn0E107ixRdM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sPqY8rGcBQt1rh0bn0E107ixRdM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sPqY8rGcBQt1rh0bn0E107ixRdM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/Kh_jDpkHnUA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/985181621807493588/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/11/how-to-know-current-postback-is-full.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/985181621807493588?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/985181621807493588?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/Kh_jDpkHnUA/how-to-know-current-postback-is-full.html" title="How to know the current postback is a full postback or partial postback in Asp.net" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/11/how-to-know-current-postback-is-full.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYDR3k9fSp7ImA9WhdbEUo.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-1667127589790887590</id><published>2011-10-09T07:56:00.000-07:00</published><updated>2011-10-09T07:56:16.765-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-09T07:56:16.765-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>Silverlight vs Adobe Flash</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Several other technologies use a plug-in like Java, ActiveX,Shockwave, Adobe Flash, But Adobe flash is most popular among them.Still Adobe Flash has an advantages over silverlight&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-insideh: .5pt solid black; mso-border-insidev: .5pt solid black; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 66.66%;"&gt;&lt;tbody&gt;
&lt;tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt;   &lt;td style="border: solid black 1.0pt; mso-border-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;Features&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;Silverlight&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 1;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Animation&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Better Than Flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 2;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;File size&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 3;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Scripting&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Better Than Flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 4;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Video/Audio&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Better Than Flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 5;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Sound processing&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 6;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Accessibility&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 7;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Platform compatibility&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 8;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Text representation/SEO&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Better Than Flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 9;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Supported image formats&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 10;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Socket programming&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 11;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Webcam support&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 12;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Deployment&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 13;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Windows application&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Not better&amp;nbsp; than flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 14; mso-yfti-lastrow: yes;"&gt;   &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Media streaming&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 50.0%;" valign="top" width="50%"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;Better Than Flash&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-1667127589790887590?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DkWfNm2J44NTaUpiNnhUHBxsmAo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DkWfNm2J44NTaUpiNnhUHBxsmAo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DkWfNm2J44NTaUpiNnhUHBxsmAo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DkWfNm2J44NTaUpiNnhUHBxsmAo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/ph8Dfo_HUTM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/1667127589790887590/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/10/silverlight-vs-adobe-flash.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/1667127589790887590?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/1667127589790887590?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/ph8Dfo_HUTM/silverlight-vs-adobe-flash.html" title="Silverlight vs Adobe Flash" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/10/silverlight-vs-adobe-flash.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04ARHc5eip7ImA9WhdbEUo.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-2887303551302086627</id><published>2011-10-09T07:50:00.000-07:00</published><updated>2011-10-09T07:52:25.922-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-09T07:52:25.922-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>How to check silverlight plug in installed</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;If silverlight plug –in is not download on your machine then it shows you to download it on the silverlight content and after clicking it it will start downloading and if you click the run then it start running.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Vye1i6HQBgY/TpG0-DRVawI/AAAAAAAABvE/0t4TR2y62Ek/s1600/index.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-Vye1i6HQBgY/TpG0-DRVawI/AAAAAAAABvE/0t4TR2y62Ek/s1600/index.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-BViFTgqN-cU/TpGzKlK_MFI/AAAAAAAABvA/VhriIBX--8I/s1600/silvelight.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-2887303551302086627?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xJxEPl4D6ln0y6DQ7Ietz9l0T3s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xJxEPl4D6ln0y6DQ7Ietz9l0T3s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xJxEPl4D6ln0y6DQ7Ietz9l0T3s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xJxEPl4D6ln0y6DQ7Ietz9l0T3s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/8FthPS4WWU0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/2887303551302086627/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/10/how-to-check-silverlight-plug-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2887303551302086627?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2887303551302086627?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/8FthPS4WWU0/how-to-check-silverlight-plug-in.html" title="How to check silverlight plug in installed" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Vye1i6HQBgY/TpG0-DRVawI/AAAAAAAABvE/0t4TR2y62Ek/s72-c/index.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/10/how-to-check-silverlight-plug-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4ERXwzfip7ImA9WhdbEUo.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-7469753869157191596</id><published>2011-10-09T07:27:00.000-07:00</published><updated>2011-10-09T07:35:04.286-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-09T07:35:04.286-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>Advantage and Disadvantage of silverlight plug in</title><content type="html">Advantage:&lt;br /&gt;
&lt;br /&gt;
The advantage of plug-in is that user needs to install it one time.It’a time taking process but still has a great advantage and browser can the browser can process any content that uses the plug-in seamlessly, with no further prompting.Silverlight allows you to develop more graphical and interactive applications.&lt;br /&gt;
&lt;br /&gt;
Disadvantage;&lt;br /&gt;
&lt;br /&gt;
It's a time taking process for the first time and No user want to wait for some time to see the content after downloading the plug in.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;div  style="width:70%;float:left;"  &gt;&lt;input type="button" value="Previous" onclick="GotoPrevPage();" /&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div  style="width:20%;float:left;" &gt;&lt;input type="button" value="Next" onclick="GotoNextPage();" /&gt;&lt;br /&gt;
&lt;/div&gt;&lt;script&gt;
function GotoPrevPage()
{
 window.location = 'http://coolkumarabhay.blogspot.com/2011/10/what-is-silverlight-runtime.html';
}
function GotoNextPage()
{
 window.location = 'http://coolkumarabhay.blogspot.com/2011/10/what-is-silverlight-runtime.html';
}
&lt;/script&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/2704622294705175240-7469753869157191596?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_Xi54stdprwxdtbi7W1MiPqAUUY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Xi54stdprwxdtbi7W1MiPqAUUY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_Xi54stdprwxdtbi7W1MiPqAUUY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Xi54stdprwxdtbi7W1MiPqAUUY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/9Wj8-oDwsFc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/7469753869157191596/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/10/advantage-of-silverlight-plug-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/7469753869157191596?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/7469753869157191596?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/9Wj8-oDwsFc/advantage-of-silverlight-plug-in.html" title="Advantage and Disadvantage of silverlight plug in" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/10/advantage-of-silverlight-plug-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAARnY4eCp7ImA9WhdbEUo.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-1549518555987133109</id><published>2011-10-09T06:38:00.002-07:00</published><updated>2011-10-09T07:32:27.830-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-09T07:32:27.830-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>What is silverlight runtime?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;It's Plug-in for browser to display the silverlight content.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;div style="float: left; width: 70%;"&gt;&lt;input onclick="GotoPrevPage();" type="button" value="Previous" /&gt;&lt;/div&gt;&lt;div style="float: left; width: 20%;"&gt;&lt;input onclick="GotoNextPage();" type="button" value="Next" /&gt;&lt;/div&gt;&lt;script&gt;
function GotoPrevPage()
{
 window.location = 'http://coolkumarabhay.blogspot.com/2011/10/introduction-to-silverlight.html';
}
function GotoNextPage()
{
 window.location = 'http://coolkumarabhay.blogspot.com/2011/10/introduction-to-silverlight.html';
}
&lt;/script&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/2704622294705175240-1549518555987133109?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/evmHfLgqoiVO2Lhc8dDT-n5IENk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/evmHfLgqoiVO2Lhc8dDT-n5IENk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/evmHfLgqoiVO2Lhc8dDT-n5IENk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/evmHfLgqoiVO2Lhc8dDT-n5IENk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/5mLS0QRIrFg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/1549518555987133109/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/10/what-is-silverlight-runtime.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/1549518555987133109?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/1549518555987133109?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/5mLS0QRIrFg/what-is-silverlight-runtime.html" title="&lt;h3&gt;What is silverlight runtime?&lt;/h3&gt;" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/10/what-is-silverlight-runtime.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8HR3ozeip7ImA9WhdbEUo.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-4884412590364549463</id><published>2011-10-09T06:38:00.000-07:00</published><updated>2011-10-09T07:33:56.482-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-09T07:33:56.482-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>Introduction to Silverlight</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;What is silverlight?&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Silverlight is&amp;nbsp; a cross-platform and cross-browser plug-in that exposes a programming framework and features that are a subset of the .NET Framework and Windows Presentation Foundation (WPF).&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; line-height: normal;"&gt;&lt;span style="font-size: 12pt;"&gt;Silverlight is a web browser plug-in which is small in size and can be installed on demand&amp;nbsp; and runs in all popular browsers, including Microsoft Internet Explorer, Mozilla Firefox, Apple Safari, Opera.It is similar to flash .It runs cross-browser , cross-platform that exposes a programming framework and features that are a subset of the .NET Framework and Windows Presentation Foundation (WPF) .You can develop business applications for the Web, desktop, and mobile devices .&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div  style="width:70%;float:left;"  &gt;&lt;br /&gt;
&lt;/div&gt;&lt;div  style="width:20%;float:left;" &gt;&lt;input type="button" value="Next" onclick="GotoNextPage();" /&gt;&lt;br /&gt;
&lt;/div&gt;&lt;script&gt;
function GotoNextPage()
{
 window.location = 'http://coolkumarabhay.blogspot.com/2011/10/what-is-silverlight-runtime.html';
}
&lt;/script&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/2704622294705175240-4884412590364549463?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Cm7KhtHykAYnh151AH1E6N-wRW0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Cm7KhtHykAYnh151AH1E6N-wRW0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Cm7KhtHykAYnh151AH1E6N-wRW0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Cm7KhtHykAYnh151AH1E6N-wRW0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/Y6_6IRFGGQ8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/4884412590364549463/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/10/introduction-to-silverlight.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/4884412590364549463?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/4884412590364549463?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/Y6_6IRFGGQ8/introduction-to-silverlight.html" title="&lt;h3&gt;Introduction to Silverlight&lt;/h3&gt;" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>1</thr:total><georss:featurename>Bhubaneswar, Orissa, India</georss:featurename><georss:point>20.27 85.83999999999992</georss:point><georss:box>20.1664405 85.76491949999992 20.3735595 85.91508049999992</georss:box><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/10/introduction-to-silverlight.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FQnk9eCp7ImA9WhdVFU8.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-4521297459167305660</id><published>2011-09-20T06:20:00.000-07:00</published><updated>2011-09-20T06:20:13.760-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-20T06:20:13.760-07:00</app:edited><title>How to manually configure webserver for asp.net 4.0</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Use below command in VS command prompt&lt;br /&gt;
&lt;br /&gt;


&lt;pre class="default prettyprint"&gt;&lt;code&gt;&lt;span class="pln"&gt;C&lt;/span&gt;&lt;span class="pun"&gt;:\&lt;/span&gt;&lt;span class="typ"&gt;Windows&lt;/span&gt;&lt;span class="pun"&gt;\&lt;/span&gt;&lt;span class="typ"&gt;Microsoft&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;NET&lt;/span&gt;&lt;span class="pun"&gt;\&lt;/span&gt;&lt;span class="typ"&gt;Framework&lt;/span&gt;&lt;span class="pun"&gt;\&lt;/span&gt;&lt;span class="pln"&gt;v4&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="lit"&gt;0.30319&lt;/span&gt;&lt;span class="pun"&gt;\&lt;/span&gt;&lt;span class="pln"&gt;aspnet_regiis &lt;/span&gt;&lt;span class="pun"&gt;-&lt;/span&gt;&lt;span class="pln"&gt;i&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-4521297459167305660?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tywdAj-0mql9YzXCcWQXn3C8dgM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tywdAj-0mql9YzXCcWQXn3C8dgM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tywdAj-0mql9YzXCcWQXn3C8dgM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tywdAj-0mql9YzXCcWQXn3C8dgM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/ejoeqKMm1mM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/4521297459167305660/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/09/how-to-manually-configure-webserver-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/4521297459167305660?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/4521297459167305660?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/ejoeqKMm1mM/how-to-manually-configure-webserver-for.html" title="How to manually configure webserver for asp.net 4.0" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/09/how-to-manually-configure-webserver-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUBRnc8fyp7ImA9WhdXE04.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-6305662481040343229</id><published>2011-08-25T22:55:00.000-07:00</published><updated>2011-08-25T22:57:37.977-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-25T22:57:37.977-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server" /><title>How to spilt data in sql server while using "IN" operator</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Sometime you send multiple comma separated values as parameter to a stored procedure.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Suppose you are set the parameter value as below&lt;/div&gt;&lt;pre class="cpp" name="code" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;param[0].value = "3,4,5,6"; 
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The above set value doesn't work in stored procedure.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;But as the column type is int then it query condition  should be like  column name in (3,4,5) and if you send the parameter as&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;It doesn't work in stored procedure, So i have used a function to split it and to use it.&lt;/div&gt;&lt;pre class="cpp" name="code" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;USE [Database name]
GO
/****** Object:  UserDefinedFunction [dbo].[Split_String]    Script Date: 08/26/2011 11:12:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


ALTER FUNCTION [dbo].[Split_String](@Param_String varchar(2000),@Delmeter varchar(5))  
RETURNS @RtnValue table 
(
	Id int identity(1,1),
	Data nvarchar(100)
) 
AS  
BEGIN 
	Declare @Cnt int
	Set @Cnt = 1

	While (Charindex(@Delmeter,@Param_String)&amp;gt;0)
	Begin
		Insert Into @RtnValue (data)
		Select 
			Data = ltrim(rtrim(Substring(@Param_String,1,Charindex(@Delmeter,@Param_String)-1)))

		Set @Param_String = Substring(@Param_String,Charindex(@Delmeter,@Param_String)+1,len(@Param_String))
		Set @Cnt = @Cnt + 1
	End
	
	Insert Into @RtnValue (data)
	Select Data = ltrim(rtrim(@Param_String))

	Return
END
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Example:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre class="cpp" name="code" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SELECT NAME FROM TABLENAME  WHERE FK_DEFAULT_ID    
IN (select data from [dbo].[Split_String] (@DEFAULTIDS,',') )&amp;nbsp;&lt;/pre&gt;&lt;div style="color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Note&lt;/span&gt; :&lt;span style="color: yellow;"&gt; @DEFAULTIDS is the parameter in stored procedure which contains value like "3,4,5,6" and type id varchar.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-6305662481040343229?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Eng3pQ9QZoFfxEzFRy3DItoy3Ns/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Eng3pQ9QZoFfxEzFRy3DItoy3Ns/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Eng3pQ9QZoFfxEzFRy3DItoy3Ns/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Eng3pQ9QZoFfxEzFRy3DItoy3Ns/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/mjSK3P0YbQs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/6305662481040343229/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-spilt-data-in-sql-server-while.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/6305662481040343229?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/6305662481040343229?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/mjSK3P0YbQs/how-to-spilt-data-in-sql-server-while.html" title="How to spilt data in sql server while using &quot;IN&quot; operator" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-spilt-data-in-sql-server-while.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4ERnc4eCp7ImA9WhdQFkk.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-8097326856362751424</id><published>2011-08-17T23:11:00.000-07:00</published><updated>2011-08-17T23:11:47.930-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-17T23:11:47.930-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="String Array" /><category scheme="http://www.blogger.com/atom/ns#" term="String" /><title>How to spilt string with string as a separator using c#</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;It's easy to split a string using character but sometimes the separator may present in the string with not as separator then at that time result comes as wrong.To avoid this kind of error use string with unique combination like "$#%$" or "$%%^^" .There may a less possibility of presence of this kind of string inside your string,But if you can't separate it with the way you separate using char as separator.&lt;/div&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana,sans-serif;"&gt;Here is the sample :&lt;/span&gt;&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;string[] arrStr = typeOfrecord.Split(new string[] {"#$%^"}, StringSplitOptions.None);
&lt;/pre&gt;&lt;br /&gt;
&lt;div style="color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;Note: typeOfrecord is the string containing the separator as "#$%^".&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-8097326856362751424?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cDpjrgSH37tvCaPyAK3OkB0HUFk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cDpjrgSH37tvCaPyAK3OkB0HUFk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cDpjrgSH37tvCaPyAK3OkB0HUFk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cDpjrgSH37tvCaPyAK3OkB0HUFk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/-OFxyBwJcFI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/8097326856362751424/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-spilt-string-with-string-as.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/8097326856362751424?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/8097326856362751424?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/-OFxyBwJcFI/how-to-spilt-string-with-string-as.html" title="How to spilt string with string as a separator using c#" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-spilt-string-with-string-as.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQCQX87eip7ImA9WhdQFkk.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-310507454768504912</id><published>2011-08-17T23:02:00.000-07:00</published><updated>2011-08-17T23:02:40.102-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-17T23:02:40.102-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Datatable" /><title>How to covert column values of a datatable to string array or string</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Sometimes we need the column values of a datatable as string array.Most of the programmer follows the looping through the rows of datatable and append it to string or stringbuilder.But we can do it by a single statement with avoiding the looping.&lt;/span&gt;&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;string[] emCodesprmFocus = Array.ConvertAll(dtAllEm.Select(),row =&amp;gt; (String)row["NAME"].ToString());
&lt;/pre&gt;&lt;/div&gt;&lt;div style="color: yellow;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Note :dtAllEm is the datatable and NAME is the column&lt;/span&gt;.&lt;/div&gt;&lt;br /&gt;
If you want to convert the string array to string with "," as separator then&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;string names = String.Join(",", emCodesprmFocus);
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-310507454768504912?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6k1zEw7F0EIv42MgTk5B8BPS7fs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6k1zEw7F0EIv42MgTk5B8BPS7fs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6k1zEw7F0EIv42MgTk5B8BPS7fs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6k1zEw7F0EIv42MgTk5B8BPS7fs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/lRgM3VCnvfI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/310507454768504912/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-covert-column-values-of.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/310507454768504912?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/310507454768504912?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/lRgM3VCnvfI/how-to-covert-column-values-of.html" title="How to covert column values of a datatable to string array or string" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-covert-column-values-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAGRn49cCp7ImA9WhdWE0Q.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-3409773223650434130</id><published>2011-08-12T00:19:00.000-07:00</published><updated>2011-09-07T03:52:07.068-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-07T03:52:07.068-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IIS" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><title>Failed to access metadata info error in iis solution</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Use this command in VS command prompt to solve this error.&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;aspnet_regiis -iru
&lt;/pre&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-3409773223650434130?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KCZPlz5bF7vLxyHofdQFG206f90/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KCZPlz5bF7vLxyHofdQFG206f90/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KCZPlz5bF7vLxyHofdQFG206f90/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KCZPlz5bF7vLxyHofdQFG206f90/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/7AIuOm8P_9U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/3409773223650434130/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/failed-to-access-metadat-info-error-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/3409773223650434130?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/3409773223650434130?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/7AIuOm8P_9U/failed-to-access-metadat-info-error-in.html" title="Failed to access metadata info error in iis solution" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/failed-to-access-metadat-info-error-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIMR34_fSp7ImA9WhdQEUg.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-4169022901240467376</id><published>2011-08-12T00:15:00.001-07:00</published><updated>2011-08-12T05:53:06.045-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-12T05:53:06.045-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Button Control" /><title>How to add handler to multiple dyanamically created buttons in C#</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;" trbidi="on"&gt;You can add handler to dynamically created a button ,but might be confused with multiple buttons that is created dynamically .&lt;br /&gt;
&lt;br /&gt;
Here is the given code to understand.&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;pre class="cpp" name="code"&gt;for (int i = 0; i &amp;lt; 10; ++i)
            {
                Button btn = new Button();
                btn.Text = "btn" + i.ToString() + "";
                btn.ID = "btn_" + i.ToString() + "";
                btn.Click += new EventHandler(btnSave_Click1);
                btn.CommandName = i.ToString();
                btn.CommandArgument = i.ToString();
                div1.Controls.Add(btn);
            }
            
          
        }
        protected void btnSave_Click1(object sender, EventArgs e)
        {
            Button btn = (Button)sender;
          
          switch (int.Parse(btn.CommandName))
          {
                case 0:
                    DoWhatever(btn.CommandArgument.ToString());
                    break;
                case 1:
                    DoSomethingElse(btn.CommandArgument.ToString());
                    break;
           }

        }
        private void DoWhatever(string args)
        {
            string ss = string.Empty;
        }
        private void DoSomethingElse(string args)
        {
        }
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-4169022901240467376?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vuk10X1hxTn6DrUs6-ZCRJ0-PtM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vuk10X1hxTn6DrUs6-ZCRJ0-PtM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vuk10X1hxTn6DrUs6-ZCRJ0-PtM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vuk10X1hxTn6DrUs6-ZCRJ0-PtM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/Lj6fuMomuCc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/4169022901240467376/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-add-handler-to-multiple.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/4169022901240467376?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/4169022901240467376?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/Lj6fuMomuCc/how-to-add-handler-to-multiple.html" title="How to add handler to multiple dyanamically created buttons in C#" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-add-handler-to-multiple.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4AR3oyeip7ImA9WhdQEU4.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-6778653883742353346</id><published>2011-08-12T00:09:00.000-07:00</published><updated>2011-08-12T00:42:26.492-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-12T00:42:26.492-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server" /><title>How to find duplicate rows in a table using sql queries.</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;" trbidi="on"&gt;Here is the example.&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;SELECT [uid]     FROM [People]      WHERE [Name] IN (    SELECT [Name]    FROM [People]    GROUP BY [Name]    HAVING 
( COUNT([Name]) &amp;gt; 1 ))
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-6778653883742353346?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HPiDTbA5v1cC429WsqTNyVg-qio/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HPiDTbA5v1cC429WsqTNyVg-qio/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HPiDTbA5v1cC429WsqTNyVg-qio/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HPiDTbA5v1cC429WsqTNyVg-qio/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/P8cdIBMzqZ0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/6778653883742353346/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-find-duplicate-rows-in-table.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/6778653883742353346?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/6778653883742353346?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/P8cdIBMzqZ0/how-to-find-duplicate-rows-in-table.html" title="How to find duplicate rows in a table using sql queries." /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-find-duplicate-rows-in-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8GRHo5eip7ImA9WhdQEU4.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-715186528285483665</id><published>2011-08-12T00:07:00.000-07:00</published><updated>2011-08-12T00:07:05.422-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-12T00:07:05.422-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server" /><title>How display list of procedure and function used a specific table</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;" trbidi="on"&gt;It will display list of procedure or functions where you have used the table&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;sp_depends &amp;lt;tablename&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-715186528285483665?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PycoWV_121X4WOfDf3eKWh1i074/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PycoWV_121X4WOfDf3eKWh1i074/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PycoWV_121X4WOfDf3eKWh1i074/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PycoWV_121X4WOfDf3eKWh1i074/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/Huzc0zCwZ_U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/715186528285483665/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-display-list-of-procedure-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/715186528285483665?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/715186528285483665?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/Huzc0zCwZ_U/how-display-list-of-procedure-and.html" title="How display list of procedure and function used a specific table" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-display-list-of-procedure-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcNR38zeip7ImA9WhdQEUk.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-5141976703269931770</id><published>2011-08-12T00:04:00.000-07:00</published><updated>2011-08-12T04:21:36.182-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-12T04:21:36.182-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Iframe" /><title>How to set control value of Iframe from parent page in javascript</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;We set control value of Iframe from parent page in javascript by given code&lt;/div&gt;.&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;parent.frmEditBiopsy1.form1.txtSubjective.value = 'sdfsdfsd';
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;txtSubjective is the textbox inside iframe.&lt;br /&gt;
&lt;pre class="cpp" name="code" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;frmEditBiopsy1 is the id of Iframe.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-5141976703269931770?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L9z6z_Leo5S5TYXvyt1hFY_8wDs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L9z6z_Leo5S5TYXvyt1hFY_8wDs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L9z6z_Leo5S5TYXvyt1hFY_8wDs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L9z6z_Leo5S5TYXvyt1hFY_8wDs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/rzXA49uObCc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/5141976703269931770/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-set-control-value-of-iframe-from.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/5141976703269931770?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/5141976703269931770?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/rzXA49uObCc/how-to-set-control-value-of-iframe-from.html" title="How to set control value of Iframe from parent page in javascript" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-set-control-value-of-iframe-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIASH0_fSp7ImA9WhdQEU4.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-604855169920645679</id><published>2011-08-12T00:01:00.001-07:00</published><updated>2011-08-12T00:02:29.345-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-12T00:02:29.345-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Iframe" /><title>How to call a javascript function inside iframe from parent page</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;We call a javascript function which is inside the iframe from parent page.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;d = document;
f = d.frames ? d.frames['frameName'] : d.getElementById('frameId');
p = f.document || f.contentWindow.document;

p.functionName();

&lt;/pre&gt;&lt;div style="font-family: Verdana,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Verdana,sans-serif;"&gt;functionName() is the javascript function to be called from parent.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-604855169920645679?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YPpjfJlHZMBZQnXCvu4pApSsk1k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YPpjfJlHZMBZQnXCvu4pApSsk1k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YPpjfJlHZMBZQnXCvu4pApSsk1k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YPpjfJlHZMBZQnXCvu4pApSsk1k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/Io5jU6moLgY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/604855169920645679/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-call-javascript-function-inside.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/604855169920645679?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/604855169920645679?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/Io5jU6moLgY/how-to-call-javascript-function-inside.html" title="How to call a javascript function inside iframe from parent page" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-call-javascript-function-inside.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYDRH05fip7ImA9WhdQEU4.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-2572222985427613319</id><published>2011-08-11T23:53:00.000-07:00</published><updated>2011-08-11T23:56:15.326-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T23:56:15.326-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Iframe" /><title>How to call parent function from iframe</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;You can call a parent function from iframe.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;Parent.parentfunctionname();&lt;/pre&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana,sans-serif;"&gt;parentfunctionname() is the function in the parent page. &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-2572222985427613319?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/A-FVHjqiDMkwnydV1vZAb9u2-Ec/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A-FVHjqiDMkwnydV1vZAb9u2-Ec/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/A-FVHjqiDMkwnydV1vZAb9u2-Ec/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A-FVHjqiDMkwnydV1vZAb9u2-Ec/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/xLxLb3ul3Eg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/2572222985427613319/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-call-parent-function-from-iframe.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2572222985427613319?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2572222985427613319?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/xLxLb3ul3Eg/how-to-call-parent-function-from-iframe.html" title="How to call parent function from iframe" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-call-parent-function-from-iframe.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04EQnk9fSp7ImA9WhdQEU4.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-5279531061474835105</id><published>2011-08-11T23:45:00.000-07:00</published><updated>2011-08-11T23:51:43.765-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T23:51:43.765-07:00</app:edited><title>How to add Twitter to your website</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can add twitter to your website and ca twit your link to other.&lt;br /&gt;
&lt;br /&gt;
Here is the code.&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;&amp;lt;script type="text/javascript"&amp;gt;
var twtTitle&amp;nbsp; = document.title;
var twtUrl&amp;nbsp;&amp;nbsp;&amp;nbsp; = location.href;
var maxLength = 140 - (twtUrl.length + 1);
if (twtTitle.length &amp;gt; maxLength) {
twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
}
var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
document.write('&amp;lt;a href="'+twtLink+'" target="_blank"'+'&amp;gt;&amp;lt;img src="tweetthis.gif"&amp;nbsp; border="0" alt="Tweet This!" /'+'&amp;gt;&amp;lt;'+'/a&amp;gt;');
&amp;lt;/script&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;span style="color: #9fc5e8;"&gt;&lt;span style="color: orange;"&gt;tweetthis.gif&lt;/span&gt; &lt;/span&gt;is the image you can display on your website.&lt;br /&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/2704622294705175240-5279531061474835105?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iaRomDw80_l6gbwqPJFAVaBFgHs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iaRomDw80_l6gbwqPJFAVaBFgHs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iaRomDw80_l6gbwqPJFAVaBFgHs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iaRomDw80_l6gbwqPJFAVaBFgHs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/wkJI28nVRr4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/5279531061474835105/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2011/08/how-to-add-twitter-to-your-website.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/5279531061474835105?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/5279531061474835105?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/wkJI28nVRr4/how-to-add-twitter-to-your-website.html" title="How to add Twitter to your website" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2011/08/how-to-add-twitter-to-your-website.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQDQXw5eyp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-2951002972701376626</id><published>2011-08-11T09:32:00.000-07:00</published><updated>2011-08-11T09:32:50.223-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T09:32:50.223-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><title>How to start or stop a service using C#</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;private void StartService()

{

System.ServiceProcess.ServiceController[] allService = System.ServiceProcess.ServiceController.GetServices();

foreach (System.ServiceProcess.ServiceController s in allService)

{

if (s.ServiceName.Equals("Alerter"))

{

if (s.Status.Equals(System.ServiceProcess.ServiceControllerStatus.Stopped))//check service staus

{

bool status = ServiceStartModeUpdate("Alerter", "Manual", "Can't start service");//provide service name here and startup Type that must be automatic or manual

if (status == true)

{

s.Start();

}

}

}

}

}

private bool ServiceStartModeUpdate(string serviceName, string startMode,string errorMsg)

{

uint successReturn = 1;

errorMsg = string.Empty;

string filterService =String.Format("SELECT * FROM Win32_Service WHERE Name = '{0}'", serviceName);

ManagementObjectSearcher querySearch = new ManagementObjectSearcher(filterService);

if (querySearch == null)// if match not found

{

return false;

}

else

{

try

{

ManagementObjectCollection services = querySearch.Get();//get that service

foreach (ManagementObject service in services)

{

if (Convert.ToString(service.GetPropertyValue("StartMode")) == "Disabled")//if startup type is Diasabled then change it

{

ManagementBaseObject inParams =service.GetMethodParameters("ChangeStartMode");

inParams["startmode"] = startMode;

ManagementBaseObject outParams =service.InvokeMethod("ChangeStartMode", inParams, null);

successReturn = Convert.ToUInt16(outParams.Properties["ReturnValue"].Value);

}

}

}

catch (Exception ex)

{

errorMsg = ex.Message;

throw;

}

}

return (successReturn == 0);

}&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;NOTE&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;Just make some changes to stop a service as well.&lt;/div&gt;&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;Replace if (s.Status.Equals&lt;/div&gt;&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;(System.ServiceProcess.ServiceControllerStatus.Stopped)) with if&lt;/div&gt;&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;(s.Status.Equals(System.ServiceProcess.ServiceControllerStatus.Running)or&lt;/div&gt;&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;start,pending etc.. other than stopped)&lt;/div&gt;&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;Replace s.Start(); with t.Stop();&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;References to be added&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;1.System.Management&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;2.System.ServiceProcess&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Namespace to be added:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;using System.Management;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-2951002972701376626?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sDQET06G4xFZpj-bbZ_r316DeBc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sDQET06G4xFZpj-bbZ_r316DeBc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sDQET06G4xFZpj-bbZ_r316DeBc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sDQET06G4xFZpj-bbZ_r316DeBc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/We4hZRD2Z8M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/2951002972701376626/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2009/11/how-to-start-or-stop-service-using-c.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2951002972701376626?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2951002972701376626?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/We4hZRD2Z8M/how-to-start-or-stop-service-using-c.html" title="How to start or stop a service using C#" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2009/11/how-to-start-or-stop-service-using-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIGQ3c-fCp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-3899922221282662768</id><published>2010-03-05T21:54:00.000-08:00</published><updated>2011-08-11T11:15:22.954-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T11:15:22.954-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Infragistic ultrawebgrid" /><title>KnowledgeSharing: How to use Infragistic ultrawebgrid</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;After installing Infragistics ,add some dll of it to your application and to use ultrawebgrid add the dll of it.then drag and drop that control from toolbox after right click on toolbox and selecting choose items then select ultrawebgrid.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;After dropping it the clientside code will like thi&lt;/span&gt;s.&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;&amp;lt;igtbl:ultrawebgrid id="UltraWebGrid1" runat="server" Width="824px" UseAccessibleHeader="False"&amp;gt;

                    &amp;lt;DisplayLayout AllowDeleteDefault="Yes" AllowAddNewDefault="Yes" AllowSortingDefault="OnClient"

                        RowHeightDefault="21px" Version="3.00" SelectTypeRowDefault="Extended" AllowColumnMovingDefault="OnServer"

                        SelectTypeCellDefault="Single" BorderCollapseDefault="Separate" EnableClientSideRenumbering="True"

                        EnableInternalRowsManagement="True" FixedHeaderIndicatorDefault="Button" AllowRowNumberingDefault="Continuous"

                        Name="UltraWebGrid1" CellClickActionDefault="Edit" AllowUpdateDefault="RowTemplateOnly"&amp;gt;

                        &amp;lt;AddNewBox Hidden="False" Prompt="add row"&amp;gt;

                                                        &amp;lt;ButtonStyle&amp;gt;&amp;lt;/ButtonStyle&amp;gt;

                        &amp;lt;/AddNewBox&amp;gt;

                        &amp;lt;Pager ChangeLinksColor="True" StyleMode="CustomLabels" &amp;gt;

                            &amp;lt;Style &amp;gt;

                            &amp;lt;/Style&amp;gt;

                        &amp;lt;/Pager&amp;gt;

                        &amp;lt;HeaderStyleDefault TextOverflow="Ellipsis" Cursor="Hand"                              " CustomRules="background-image:url(/ig_common/images/Office2003OliveBG.png);background-repeat:repeat-x;"&amp;gt;

                            &amp;lt;BorderDetails ColorTop="215, 223, 193" ColorLeft="215, 223, 193"&amp;gt;&amp;lt;/BorderDetails&amp;gt;

                        &amp;lt;/HeaderStyleDefault&amp;gt;

                        &amp;lt;FrameStyle Width="824px" BorderWidth="1px"                             &amp;gt;&amp;lt;/FrameStyle&amp;gt;

                        &amp;lt;FooterStyleDefault &amp;gt;

                            &amp;lt;BorderDetails &amp;gt;&amp;lt;/BorderDetails&amp;gt;

                        &amp;lt;/FooterStyleDefault&amp;gt;

                        &amp;lt;ClientSideEvents BeforeExitEditModeHandler="BeforeExitEditMode" BeforeEnterEditModeHandler="BeforeEnterEditmode"

                            BeforeSortColumnHandler="beforesort" DblClickHandler="MyDblClick" CellClickHandler="GridCellClick"

                            AfterRowDeletedHandler="AfterDelete" AfterEnterEditModeHandler="HandleAfterEnterEditMode" AfterRowActivateHandler="AfterRowActivate"

                            MouseOverHandler="MouseOver" InitializeRowHandler="initializerow" MouseOutHandler="MouseOut" BeforeRowDeletedHandler="BeforeDelete"

                            InitializeLayoutHandler="InitializeGrid" ClickCellButtonHandler="CellButtonClick"&amp;gt;&amp;lt;/ClientSideEvents&amp;gt;

                        &amp;lt;SelectedHeaderStyleDefault Font-Bold="True"&amp;gt;&amp;lt;/SelectedHeaderStyleDefault&amp;gt;

                        &amp;lt;EditCellStyleDefault BorderWidth="0px" BorderStyle="None"&amp;gt;&amp;lt;/EditCellStyleDefault&amp;gt;

                        &amp;lt;SelectedRowStyleDefault ForeColor="White" BackColor="#F09D21" CustomRules="background-image:url(/ig_common/images/Office2003SelRow.png);background-repeat:repeat-x;"&amp;gt;&amp;lt;/SelectedRowStyleDefault&amp;gt;

                        &amp;lt;RowStyleDefault &amp;gt;

                            &amp;lt;Padding Left="3px"&amp;gt;&amp;lt;/Padding&amp;gt;

                            &amp;lt;BorderDetails WidthLeft="0px" WidthTop="0px"&amp;gt;&amp;lt;/BorderDetails&amp;gt;

                        &amp;lt;/RowStyleDefault&amp;gt;

                    &amp;lt;/DisplayLayout&amp;gt;

                    &amp;lt;Bands&amp;gt;

                        &amp;lt;igtbl:UltraGridBand&amp;gt;

                            &amp;lt;COLUMNS&amp;gt;

                                &amp;lt;igtbl:UltraGridColumn Type="checkbox" IsBound="True"&amp;gt;&amp;lt;/igtbl:UltraGridColumn&amp;gt;

                            &amp;lt;/COLUMNS&amp;gt;

                        &amp;lt;/igtbl:UltraGridBand&amp;gt;

                        &amp;lt;igtbl:UltraGridBand&amp;gt;

                            &amp;lt;ROWEDITTEMPLATE&amp;gt;

                               

// add control for row template for editing and there will a ok button and cancel button                               

                                                            &amp;lt;/ROWEDITTEMPLATE&amp;gt;

                            &amp;lt;ROWTEMPLATESTYLE

                                &amp;lt;BORDERDETAILS &amp;gt;&amp;lt;/BORDERDETAILS&amp;gt;

                            &amp;lt;/ROWTEMPLATESTYLE&amp;gt;

                        &amp;lt;/igtbl:UltraGridBand&amp;gt;

                    &amp;lt;/Bands&amp;gt;

                &amp;lt;/igtbl:ultrawebgrid&amp;gt;
&lt;/pre&gt;It has some clientside events ,after dropping it it have no clientside event tag.&lt;br /&gt;
&lt;br /&gt;
you have to add that tag that is added in above.&lt;br /&gt;
&lt;br /&gt;
that is&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;&amp;lt;ClientSideEvents BeforeExitEditModeHandler="BeforeExitEditMode" BeforeEnterEditModeHandler="BeforeEnterEditmode"

                            BeforeSortColumnHandler="beforesort" DblClickHandler="MyDblClick" CellClickHandler="GridCellClick"

                            AfterRowDeletedHandler="AfterDelete" AfterEnterEditModeHandler="HandleAfterEnterEditMode" AfterRowActivateHandler="AfterRowActivate"

                            MouseOverHandler="MouseOver" InitializeRowHandler="initializerow" MouseOutHandler="MouseOut" BeforeRowDeletedHandler="BeforeDelete"

                            InitializeLayoutHandler="InitializeGrid" ClickCellButtonHandler="CellButtonClick"&amp;gt;&amp;lt;/ClientSideEvents&amp;gt;

Every clientside event calling a javascript function.

for example in above  AfterRowActivateHandler="AfterRowActivate"

AfterRowActivateHandler calling AfterRowActivate function.

&amp;lt;script language="javascript"&amp;gt;

function AfterRowActivate(gn, rowID)

            {

               

                var grid=igtbl_getGridById("UltraWebGrid1");

               

                var row=igtbl_getElementById(rowID);

                var n = rowID.replace("UltraWebGrid3r_","");

                   var x=grid.Rows.getRow(n).getCell(0).getValue();

               

               

            }   

&amp;lt;/script&amp;gt;
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;passing two argument one for id of grid and one for id of row.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;you can find the value of a cell using like this grid.Rows.getRow(n).getCell(0).getValue(); and assign to a control.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;there are several clientside event that i have mentioned earlier.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;and you try it using these function for respective clientsideevent.&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;&amp;lt;script language="javascript"&amp;gt;

    function BeforeExitEditMode(tableName, itemName)

             {

                // Obtain the Row object for the current cell

                var row = igtbl_getRowById(itemName);

                // Obtain the Cell object for Column 9

                var cell = row.getCell(7);

               

                // Update the Cell value in Column 9

                //cell.setValue("Updated");

                    return 0;

            }

function BeforeEnterEditmode(gridname, cellid)

        {

           

       

                    var row=igtbl_getRowById(cellid);

               

                    var value=row.getCell(0).getValue();

                   

                   

                    if(value == "false")

                    {

                   

                        alert("plz check the checkbox");

                        return true;

                    }

                    else

                    {

                       

                        return false;

                    }

               

                   

    }           

function beforesort()

        {

            var grid = igtbl_getGridById('UltraWebGrid1');

            grid.Allowsort=3;

        }

function GridCellClick (gridName,CellID,button)

            {

               

                    if(button == 2)

                    {

                       

                        igtbl_UltraWebgrid3('UltraWebgrid3', event);

                        return true;

                    }

            }

            ROW_HEIGHT = 40;

            ROW_HEIGHT_DELTA = 10;

function MyDblClick(tableName,itemName)

        {

            var row = igtbl_getRowById(itemName);

           

            var cell = igtbl_getElementById(itemName);

            var parts = itemName.split("_");

             var grid = igtbl_getGridById('UltraWebGrid1');

             grid.AllowUpdate = true;

            if(parts[2]==1)

            {

           

                alert("can't be edited");

               

                grid.AllowUpdate = false;

                return false;

            }

            if (row != null)

            {

                if (row.Element.style.height == "")

                {

                row.Element.style.height = ROW_HEIGHT;

                }

                oldheight = parseInt(row.Element.style.height.replace(/px/,''));

                igtbl_resizeRow("UltraWebGrid1", row.Element.id, oldheight + ROW_HEIGHT_DELTA)

            }

               

           

        }

function HandleAfterEnterEditMode(gridID, cellID)

        {

            var cell = igtbl_getCellById(cellID);

            cell.Element.style.backgroundColor = "#99FFFF";

        }

    function AfterDelete()

        {

            // set deleting to true so when deleting

            // multiple rows confirm is shown only once

            deleting=true;

            del=true;

        }

function MouseOver(tableName, itemName, type)

        {

           

            if(type == 0)

            { // Are we over a cell

            var cell = igtbl_getElementById(itemName);

           

           

            cell.style.cursor = 'hand';

            cell.style.color = 'red';

           

            var label = document.getElementById("mylebel");

            var parts = itemName.split("_");

            if(label &amp;amp;&amp;amp; parts.length&amp;gt;=3)

            label.innerHTML = "Current Row:" + parts[1] + " - Current Column:" + parts[2];//add a label control to your webform

            }

        }

function AfterRowActivate(gn, rowID)

            {

               

                var grid=igtbl_getGridById("UltraWebGrid1");

               

                var row=igtbl_getElementById(rowID);

                var n = rowID.replace("UltraWebGrid3r_","");

                //var x=grid.Rows.getRow(n).getCell(0).getValue();

               

               

            }   

 function InitializeRow(tableName,rowName)

           {

            var icount;

           

            var row = igtbl_getElementById(rowName);

            var FirstActiveCell = igtbl_getBandFAC(tableName, row);

            var objDd = document.getElementById("commonfield_drpdwn");

            igtbl_getCellById(row.cells[FirstActiveCell+2].id).setValue(objDd.options[objDd.selectedIndex].text);

             var x=document.getElementById("commonfield_drpdwn").options[document.getElementById("commonfield_drpdwn").selectedIndex].value;

            igtbl_getCellById(row.cells[FirstActiveCell+3].id).setValue(x);

             igtbl_getCellById(row.cells[FirstActiveCell+4].id).setValue(0);

            igtbl_getCellById(row.cells[FirstActiveCell+7].id).setValue(false);

           

            igtbl_getCellById(row.cells[FirstActiveCell+5].id).setValue(0);

            igtbl_getCellById(row.cells[FirstActiveCell+6].id).setValue(0);

           

            igtbl_getCellById(row.cells[FirstActiveCell+8].id).setValue(false);

           

            igtbl_getCellById(row.cells[FirstActiveCell+0].id).setValue(-1); //-1 for adding a new row

            igtbl_getCellById(row.cells[FirstActiveCell+9].id).setValue(0);

           

            flagExitAlert=1;

          

            }

           

          

             function CellButtonClick(gridId, cellId) {

            var oGrid = igtbl_getGridById(gridId);

        var oRow = igtbl_getRowById(cellId);

        oRow.editRow();

    }

function MouseOut(tableName, itemName, type)

        {

            if(type == 0) { // Are we over a cell

            var cell = igtbl_getElementById(itemName);

           

            cell.style.color = 'black';

           

            }

        }

    function BeforeDelete(gridname, rowid)

            {

                    if(!deleting) // used to determine if confirm box has shown yet

                    {

                    // show the confirm box

                    del = confirm("You sure you want to delete row(s)");

                    // set deleting to true so confirm is not shown again

                    deleting=true;

                    }

                    // returning true cancels the event so return the opposite

                    // of what the user selected in the confirm box

                    return !del;

                    alert(del);

            }

&amp;lt;/script&amp;amp;gt;
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;you can editrow template means when you click a popuplike window will there where cell values will in textboxes or in other control where it can be editable.there you can edit it and there are two buttos that is ok button and cancel button.if you click ok button cell value will change according to your changes.&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-3899922221282662768?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Kt1sBPY-pS-NSL_PNLx8m3IPNlc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Kt1sBPY-pS-NSL_PNLx8m3IPNlc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Kt1sBPY-pS-NSL_PNLx8m3IPNlc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Kt1sBPY-pS-NSL_PNLx8m3IPNlc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/kuc46TBBx-g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/3899922221282662768/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2010/03/knowledgesharing-how-to-use-infragistic.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/3899922221282662768?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/3899922221282662768?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/kuc46TBBx-g/knowledgesharing-how-to-use-infragistic.html" title="KnowledgeSharing: How to use Infragistic ultrawebgrid" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2010/03/knowledgesharing-how-to-use-infragistic.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIHQns7fyp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-2843364167318521781</id><published>2010-02-22T10:08:00.001-08:00</published><updated>2011-08-11T11:15:33.507-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T11:15:33.507-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ajax" /><title>Bind a dropdown according to data in another drop down using traditional AJAX</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Code for client side written within script:&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;function CallTemplate()

            {

           

              //alert(document.getElementById('cmbAssignTo_cmbSimple').value);

                   

                   var objDd=  document.getElementById('ddlmenu')

                  

                    var strValue = objDd.options[objDd.selectedIndex].value;                   

                   

                    //Create XMLHttpRequest object:'request'

                       

                        CreateXmlHttpRequestObject();

                       

                        //Build the required Query string

                        var sPass=1;

                       

                        var retrieveParam = 'id='+ strValue;

                       

                        var retrieveURL = "AJAX.aspx";

                        var url = retrieveURL + '?' + retrieveParam;

                       

                        request.open('GET',url,true);

                       

                        request.onreadystatechange = CheckTemplate;

                   

                        request.send(null);   

            }

               

            function CheckTemplate()

            {

                document.getElementById("ddlsubmenu").innerText="";

                if(request.readyState == 4 || request.readyState == 'complete')

                {

                    if(request.status == 200)

                    {   

                            var opt=document.createElement("option");

                            opt.value="-1";

                            opt.text="----select subcategory---";

                            document.getElementById("ddlsubmenu").add(opt);

                            var DdVisitTemp = document.getElementById("ddlmenu");

                           

                            var rootFile = request.responseXML.documentElement;

                         

                            var Id = rootFile.getElementsByTagName('Id');

                           

                            var Name = rootFile.getElementsByTagName('Name');

                           

                              if(Id.length &amp;gt; 0 || Name.length &amp;gt; 0)

                              {

                       

                                for(var i=0;i
                                {
                                   
                                       if(Name.length &amp;gt; 0)
                                       {
                                         var opt=document.createElement("option");
                                       
                                        opt.value=Id[i].text;
                                           
                                        opt.text=Name[i].text;
                                       
                                        document.getElementById("ddlsubmenu").add(opt);
                                       
                                      }
                                   
                                }
                               
                            }
                             
                    }//    inner IF       
           
            } // Outer IF
           
        }
       
        function CreateXmlHttpRequestObject()
            {
                try
                {
                    request = new XMLHttpRequest();
                }
                catch(nething)
                {
                    try
                    {
                        request = new ActiveXObject('Msxml2.XMLHTTP');
                    }
                    catch(othr)
                    {
                        try
                        {
                            request = new ActiveXObject('Microsoft.XMLHTTP');
                        }
                        catch(err)
                        {
                            request = false;
                        }
                    }
                }
                if(!request)
                {
                    alert("Error initializing XMLHttpRequest object!");
                }
            }


&lt;/pre&gt;&lt;br /&gt;
code for ajax page i.e ajax.aspx&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;private void Page_Load(object sender, System.EventArgs e)
        {
                   
                        string id=string.Empty ;
            System.Text.StringBuilder strXml;
            string passedValue = Request.QueryString["id"];

                        string strFill=" select  PK_PRIMARY_KEY,TITLE_SUBMENU from SUBJECT_SUBMENU where FK_SUBJECTMENU_ID = '" + id + "' ";
           
            DataTable dttemp= con.connectiondatatable(strFill);
           


            int j=dttemp.Rows.Count;
            strXml = new System.Text.StringBuilder ();
            strXml.Append("");
           
            if(j &amp;gt; 0)
            {
             
                for(int i=0 ; i
                {
                   
                    strXml.Append(""+dttemp.Rows[i]["PK_PRIMARY_KEY"].ToString() +" ");
                    strXml.Append(" "+dttemp.Rows[i]["TITLE_SUBMENU"].ToString()+" ");
                }

            }
            else
            {
               
                strXml.Insert(-1,"");
               
            }

            strXml.Append("");
            XmlDocument xTemplate = new XmlDocument();
            xTemplate.LoadXml(strXml.ToString());

            Response.ContentType = "text/xml";
            Response.CacheControl = "No-cache";
            xTemplate.Save(Response.OutputStream);
           
            // Put user code to initialize the page here
        }
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;There are two tables&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;1.SUBJECTMENU&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;2.SUBJECT_SUBMENU&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Relation between them&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SUBJECT_SUBMENU.FK_SUBJECTMENU_ID=SUBJECTMENU.PK_SUBJECTMENU_ID&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Step 1:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create two tables must have relationship between them like above.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;step 2:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Bind 1st dropdown on page load.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;step 3:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Write code for client side as well as ajax page.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;When u change 1st dropdown ,2nd dropdown will change.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;How to create a ajax page:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Add a webform and delete all code that will bydefault in client except tag containing page inherit&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;&amp;lt;%@ Page language="c#" Codebehind="AJAX.aspx.cs" AutoEventWireup="false" Inherits="KnowledgeSharing.AJAX" %&amp;gt;
&lt;/pre&gt;except this one&lt;br /&gt;
&lt;br /&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/2704622294705175240-2843364167318521781?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KkNySgMV0F2o7GPGTTCHq4VPM6o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KkNySgMV0F2o7GPGTTCHq4VPM6o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KkNySgMV0F2o7GPGTTCHq4VPM6o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KkNySgMV0F2o7GPGTTCHq4VPM6o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/juqvVHX4Q-o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/2843364167318521781/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2010/02/bind-dropdown-according-to-data-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2843364167318521781?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/2843364167318521781?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/juqvVHX4Q-o/bind-dropdown-according-to-data-in.html" title="Bind a dropdown according to data in another drop down using traditional AJAX" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2010/02/bind-dropdown-according-to-data-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08DRX4yfSp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-3053598687180720348</id><published>2010-02-22T10:07:00.001-08:00</published><updated>2011-08-11T11:04:34.095-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T11:04:34.095-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><title>Encrypt web config in Asp.net</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;You can encrypt sections of a configuration file to protect sensitive&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;information used by your application. This improves security by making it difficult for unauthorized access even if an attacker gains access to your configuration file.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The .NET Framework includes two protected-configuration providers that can be used to encrypt sections of a configuration file.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;·        RSAProtectedConfigurationProvider, which uses the RSACryptoServiceProvider to encrypt configuration sections.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;·         DPAPIProtectedConfigurationProvider, which uses the Windows Data Protection API (DPAPI) to encrypt configuration sections.&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The unprotected app.config file&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;This is what the app.config file looks like when it is unprotected:&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;

&amp;lt;configuration&amp;gt;

&amp;lt;connectionStrings&amp;gt;

&amp;lt;add name="SampleSqlServer" connectionString=   "Data Source=localhost;Integrated Security=SSPI;

  Initial Catalog=SampleDatabase;" /&amp;gt;

&amp;lt;/connectionStrings&amp;gt;

&amp;lt;/configuration&amp;gt;
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The protected app.config file&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;This is what the app.config file looks like when it is protected using the built-in .NET 2.0 framework ConfigurationSection.Protect () functionality:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Using RsaProtectedConfigurationProvider&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;

&amp;lt;configuration&amp;gt;

    &amp;lt;connectionStrings

 configProtectionProvider="RsaProtectedConfigurationProvider"&amp;gt;

    &amp;lt;EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"

      xmlns="http://www.w3.org/2001/04/xmlenc#"&amp;gt;

      &amp;lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /&amp;gt;

      &amp;lt;KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"&amp;gt;

        &amp;lt;EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"&amp;gt;

          &amp;lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /&amp;gt;

          &amp;lt;KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"&amp;gt;

            &amp;lt;KeyName&amp;gt;RSA Key&amp;lt;/KeyName&amp;gt;

          &amp;lt;/KeyInfo&amp;gt;

          &amp;lt;CipherData&amp;gt;            &amp;lt;CipherValue&amp;gt;RXO/zmmy3sR0iOJoF4ooxkFxwelVYpT0riwP2mYpR3FU+r6BPfvsqb384pohivkyNY7Dm4lPgR2bE9F7k6TblLVJFvnQu7p7d/yjnhzgHwWKMqb0M0t0Y8DOwogkDDXFxs1UxIhtknc+2a7UGtGh6Di3N572qxdfmGfQc7ZbwNE=

            &amp;lt;/CipherValue&amp;gt;

          &amp;lt;/CipherData&amp;gt;

        &amp;lt;/EncryptedKey&amp;gt;

      &amp;lt;/KeyInfo&amp;gt;

      &amp;lt;CipherData&amp;gt;        &amp;lt;CipherValue&amp;gt;KMNKBuV9nOid8pUvdNLY5I8R7BaEGncjkwYgshW8ClKjrXSM7zeIRmAy/cTaniu8Rfk92KVkEK83+UlQd+GQ6pycO3eM8DTM5kCyLcEiJa5XUAQv4KITBNBN6fBXsWrGuEyUDWZYm6Eijl8DqRDb11i+StkBLlHPyyhbnCAsXdz5CaqVuG0obEy2xmnGQ6G3Mzr74j4ifxnyvRq7levA2sBR4lhE5M80Cd5yKEJktcPWZYM99TmyO3KYjtmRW/Ws/XO3z9z1b1KohE5Ok/YX1YV0+Uk4/yuZo0Bjk+rErG505YMfRVtxSJ4ee418ZMfp4vOaqzKrSkHPie3zIR7SuVUeYPFZbcV65BKCUlT4EtPLgi8CHu8bMBQkdWxOnQEIBeY+TerAee/SiBCrA8M/n9bpLlRJkUb+URiGLoaj+XHym//fmCclAcveKlba6vKrcbqhEjsnY2F522yaTHcc1+wXUWqif7rSIPhc0+MT1hB1SZjd8dmPgtZUyzcL51DoChy+hZ4vLzE=

        &amp;lt;/CipherValue&amp;gt;

      &amp;lt;/CipherData&amp;gt;

    &amp;lt;/EncryptedData&amp;gt;

  &amp;lt;/connectionStrings&amp;gt;

&amp;lt;/configuration&amp;gt;

Using  DataProtectionConfigurationProvider

&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;

&amp;lt;configuration&amp;gt;

&amp;lt;connectionStrings configProtectionProvider="DataProtectionConfigurationProvider"&amp;gt;

    &amp;lt;EncryptedData&amp;gt;

      &amp;lt;CipherData&amp;gt;        &amp;lt;CipherValue&amp;gt;AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAC604ocVBjE6iwNotzM4ZMQQAAAACAAAAAAADZgAAqAAAABAAAABWwjYy7bwZdDql3nImdFcfAAAAAASAAACgAAAAEAAAAK/xpOyKKzMSGwg/XsFAi/5gAQAAVOSKtGe5k21uyyxt35111auSE746lH5Ij8E1839D9e/eoFKvxCXFkBtlQD/sftjEGzfrmeTQQMMP2c5kWCGINH1N5NOReK+vOxZHQzkUJxn4D2fOxknLrprMvnRawhPmuqLcHC3iZTxWnxYL9pSGs3Gk9bEbhhFFNZN/0AvJ6OlqfvhpaI6zA1NIbS4MYcQ3lAsmupjE4deOB7ocTooJTWoToAxVJ0gC+hJnQ7ZwHiQLUIGmeaAs8nt7t8NJSWMhsFHbYzjpSGO4q8Iet1xsCnbxo5CH/N9mdC8SZ9Nz4XLt9TlmWJhjFIuCbv7YoqhI8895EQsOsQ9VumFaj1jIqNHMS8lWLcZULC7ZM1Yn/Dvhk+bNgaljLNRotdPeMIwLAbqVUY9kzeM1alVbFNkmC0uvApCli4lAq5n9rNyK5xktzxbA0QFRrI2W1A9ns3Y6g5Jcy9ztdEVfSbU+jGkvPBQAAACdTt+x46DXMgPiRLp9lMd36IFWsA==&amp;lt;/CipherValue&amp;gt;

      &amp;lt;/CipherData&amp;gt;

    &amp;lt;/EncryptedData&amp;gt;

  &amp;lt;/connectionStrings&amp;gt;

&amp;lt;/configuration&amp;gt;
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;How this was done&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;In order to protect a section of the app.config file, we can use the ProtectSection() function to encrypt that portion of the file. There is no need to unprotect the section. We can still read the information from the section; the built-in configuration manager will automatically decrypt the cipher text.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;private void ProtectSection(string sectionName)

{

    // Open the app.config file.

    Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

   

    // Get the section in the file.

    ConfigurationSection section = config.GetSection(sectionName);

   

    // If the section exists and the section is not readonly, then  

    // protect the section.

    if (section != null)

    {

        if (!section.IsReadOnly())

        {

            // Protect the section.

            section.SectionInformation.ProtectSection ("RsaProtectedConfigurationProvider");

            section.SectionInformation.ForceSave = true;

            // Save the change.

            config.Save(ConfigurationSaveMode.Modified);

         }

     }

}
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Getting the value&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;As stated above, there is no need to unprotect or decrypt the app.config file to get the value of the connection string; the decryption is handled by the .NET 2.0 framework. Simply open the app.config file and read the value of the connection string, like this:&lt;/div&gt;&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;// Open the app.config file.

Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

// Display the current connection string.

txtConnString.Text = config.ConnectionStrings.ConnectionStrings["SampleSqlServer"].ConnectionString;
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-3053598687180720348?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YJWl8uceSRKfA6P9Q7W0UB4mGv0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YJWl8uceSRKfA6P9Q7W0UB4mGv0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YJWl8uceSRKfA6P9Q7W0UB4mGv0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YJWl8uceSRKfA6P9Q7W0UB4mGv0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/vz7_k7jLR1U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/3053598687180720348/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2010/02/encrypt-web-config-in-aspnet.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/3053598687180720348?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/3053598687180720348?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/vz7_k7jLR1U/encrypt-web-config-in-aspnet.html" title="Encrypt web config in Asp.net" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2010/02/encrypt-web-config-in-aspnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIBQHo9fCp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-1657062569398058821</id><published>2010-02-22T10:06:00.001-08:00</published><updated>2011-08-11T11:15:51.464-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T11:15:51.464-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><title>How to restrict user to copy from a textbox or paste text to textbox using javascript</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;This code demonstrate how to restrict user to copy from a textbox or paste text to textbox using JavaScript.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Here is the code :&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;&amp;lt;script language="javascript"&amp;gt;

function copy() {

    alert("Can't copy the text");

    return false;

}

function paste() {

    alert("can't paste text");

    return false;

} 

&amp;lt;/script&amp;gt;

&amp;lt;asp:TextBox ID="TextBox2" runat="server" Text="hi" oncopy="return copy();" onpaste="return paste();"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;

&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Abhay&lt;br /&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/2704622294705175240-1657062569398058821?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Sf088N86M5FOSHIYqPhuSeIz0u4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Sf088N86M5FOSHIYqPhuSeIz0u4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Sf088N86M5FOSHIYqPhuSeIz0u4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Sf088N86M5FOSHIYqPhuSeIz0u4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/LPdlb7e0UhE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/1657062569398058821/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2010/02/how-to-restrict-user-to-copy-from.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/1657062569398058821?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/1657062569398058821?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/LPdlb7e0UhE/how-to-restrict-user-to-copy-from.html" title="How to restrict user to copy from a textbox or paste text to textbox using javascript" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2010/02/how-to-restrict-user-to-copy-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EFR3Y6eCp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-7421388350278135201</id><published>2010-02-22T10:05:00.001-08:00</published><updated>2011-08-11T11:00:16.810-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T11:00:16.810-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ajax" /><title>How to use autocompleteTextbox in Ajax</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;It is easier for user searching a text when you enter some text, the all text begin with with that text will show so that you can chose it and go for searching.the type of thing is used by google seach,wikimapedia etc.i have used in my project.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;First you have install ajaxtoolkit ,add reference of it in your application.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ADD ScriptManager then add a textbox.&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: Verdana,sans-serif;"&gt;Drag and drop AutoCompleteExtender from it then the code will be like this&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;&amp;lt;%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %&amp;gt;

&amp;lt;body&amp;gt;

    &amp;lt;form id="form1" runat="server"&amp;gt;

    &amp;lt;div&amp;gt;

      &amp;lt;asp:ScriptManager ID="ScriptManager1" EnablePageMethods=true runat="server"&amp;gt;

        &amp;lt;/asp:ScriptManager&amp;gt;

    &amp;lt;asp:TextBox ID="txt1" runat=server &amp;gt;&amp;lt;/asp:TextBox&amp;gt;

  

    &amp;lt;cc1:AutoCompleteExtender

    runat="server"

    ID="autoComplete1"

    TargetControlID="txt1"//target control

    ServiceMethod="Getdata"//method should be pagemethod

    MinimumPrefixLength="1" //minimum character for showing data

    CompletionInterval="100"//completioninterval

    EnableCaching="true"

    CompletionSetCount="20"

     &amp;gt;

      

&amp;lt;/cc1:AutoCompleteExtender&amp;gt;

     

    &amp;lt;/div&amp;gt;

    &amp;lt;/form&amp;gt;

&amp;lt;/body&amp;gt;
&lt;/pre&gt;Then goto serverside&lt;br /&gt;
&lt;br /&gt;
add namespace&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;using System.Web.Services;
&lt;/pre&gt;But reference  for webservice added before if not then add first.&lt;br /&gt;
&lt;br /&gt;
Write function for getting data&lt;br /&gt;
&lt;pre class="cpp" name="code"&gt;[WebMethod]//MUST BE USED BEFORE FUNCTION

//METHOD MUST BE STATIC

           public static string[] Getdata(string text, int count)

          {

          

                      string sql = "Select name from  L_PHYSICALEXAM Where name like @text";

            SqlConnection conn = new SqlConnection( your connection string);

            SqlDataAdapter da = new SqlDataAdapter(sql,conn);

           

            da.SelectCommand.Parameters.Add("@prefixText", SqlDbType.VarChar, 50).Value = text+ "%";

            DataTable dt = new DataTable();

            try

            {

                da.Fill(dt);

            }

            catch(System.Exception er)

            {

                string st = er.ToString();

            }

         

            string[] items = new string[dt.Rows.Count];

            int i = 0;

            foreach (DataRow dr in dt.Rows)

            {

               items.SetValue(dr["Name"].ToString(),i);

  i++;             }

            return items;

          

        }
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;When you enter first character it will start show those data starting from that character from database.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2704622294705175240-7421388350278135201?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5_zbHRFZVB6tGBrhb83xxXjrgJA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5_zbHRFZVB6tGBrhb83xxXjrgJA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5_zbHRFZVB6tGBrhb83xxXjrgJA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5_zbHRFZVB6tGBrhb83xxXjrgJA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/xYKnrHo5MMg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/7421388350278135201/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2010/02/how-to-use-autocompletetextbox-in-ajax.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/7421388350278135201?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/7421388350278135201?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/xYKnrHo5MMg/how-to-use-autocompletetextbox-in-ajax.html" title="How to use autocompleteTextbox in Ajax" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2010/02/how-to-use-autocompletetextbox-in-ajax.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIDR3s-eSp7ImA9WhdQEEU.&quot;"><id>tag:blogger.com,1999:blog-2704622294705175240.post-7076620418049713641</id><published>2010-02-22T10:04:00.001-08:00</published><updated>2011-08-11T11:16:16.551-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T11:16:16.551-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><title>How to pass value from parent page to pop up without using querystring</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;If you want pass some value from parent page to pop up without using query string then you can pass it as argument.&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Take this example&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;For modalDialogue:&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;var retnBlood = window.showModalDialog("path of the pop up page, pass your argument, "status:No;dialogHeight:400px;dialogWidth:600px;resizable:0;scrollbars:1;center:yes");&lt;/pre&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;You can find the value of argument in modal dialogue by this code&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;For Modal Dialogue:&lt;/b&gt;&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;function Show()

{

 var argVal = window.dialogArguments;

//save it in a hiddenfield as use it

}
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;Call this function at pageload using below code&lt;/b&gt;&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;protected void Page_Load(object sender, EventArgs e)

{               

ClientScript.RegisterStartupScript(this.GetType(), "alert", "&amp;amp;ltscript&amp;amp;gtShow();&amp;amp;lt/script&amp;amp;gt");

}
&lt;/pre&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;If you are using simple pop up instead of modal dialogue then use like below&lt;/b&gt;&lt;/div&gt;&lt;pre class="cpp" name="code"&gt;function Show()

{

 var argVal = Window.opener;

//save it in a hiddenfield as use it

}
&lt;/pre&gt;&lt;br /&gt;
Thanks,&lt;br /&gt;
Abhay&lt;br /&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/2704622294705175240-7076620418049713641?l=coolkumarabhay.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OtBbdQ4Rt9Esfkaq-2rOYiQ4Gcg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OtBbdQ4Rt9Esfkaq-2rOYiQ4Gcg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OtBbdQ4Rt9Esfkaq-2rOYiQ4Gcg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OtBbdQ4Rt9Esfkaq-2rOYiQ4Gcg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/LYAVO/~4/wN2kGeMCjuU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://coolkumarabhay.blogspot.com/feeds/7076620418049713641/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://coolkumarabhay.blogspot.com/2010/02/how-to-pass-value-from-parent-page-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/7076620418049713641?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2704622294705175240/posts/default/7076620418049713641?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/LYAVO/~3/wN2kGeMCjuU/how-to-pass-value-from-parent-page-to.html" title="How to pass value from parent page to pop up without using querystring" /><author><name>abhay</name><uri>http://www.blogger.com/profile/17101818360967544252</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://2.bp.blogspot.com/_W5cUQuw0MQc/SwPZPA_wNDI/AAAAAAAABng/oNpdaKMReNg/S220/abhay.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://coolkumarabhay.blogspot.com/2010/02/how-to-pass-value-from-parent-page-to.html</feedburner:origLink></entry></feed>

