<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-24657923</id><updated>2012-02-16T01:45:43.463-08:00</updated><category term='dropdown'/><category term='headertemplate'/><category term='Unix'/><category term='Visual Studio'/><category term='ImageCommand'/><category term='color change'/><category term='checkbox'/><category term='CLR'/><category term='Microsoft'/><category term='XSLT'/><category term='Architecture'/><category term='FAQ'/><category term='SQL 2008'/><category term='SQL'/><category term='XSL'/><category term='Javascript'/><category term='client side'/><category term='Web Services'/><category term='AJAX'/><category term='Dynamic Programming'/><category term='XML'/><category term='Interview Questions'/><category term='Java'/><category term='unselect all'/><category term='Resigtry'/><category term='C#'/><category term='Outlook Programming'/><category term='User Controls'/><category term='select all'/><category term='Gridview'/><category term='css'/><category term='Computer Security'/><category term='SQL 2000'/><category term='Linux'/><category term='Windows Programming'/><category term='asp.net'/><category term='.net'/><category term='CommaondField'/><category term='Concepts'/><category term='News'/><title type='text'>Code Center</title><subtitle type='html'>Code and Code only, this blog is for code lovers.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24657923.post-7641728236791552903</id><published>2010-06-03T05:19:00.000-07:00</published><updated>2010-06-03T05:33:55.322-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='color change'/><category scheme='http://www.blogger.com/atom/ns#' term='dropdown'/><title type='text'>To change the background color or to change the inner text of a item in dropdown</title><content type='html'>&lt;span&gt;&lt;a href="http://www.amazon.com/Breach-of-Trust-ebook/dp/B001SK4JXK?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Breach of Trust" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B001SK4JXK&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B001SK4JXK" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/Exile-Main-Street-Rolling-Stones/dp/B0039TD7RC?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Exile on Main Street" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B0039TD7RC&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0039TD7RC" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/Avatar-Two-Disc-Blu-ray-DVD-Combo/dp/B002VPE1B6?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Avatar (Two-Disc Blu-ray/DVD Combo) [Blu-ray]" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B002VPE1B6&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B002VPE1B6" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To change the background color or to change the inner text of a item in dropdown&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Loop around the dropdown&lt;br /&gt;for (row = 0; row &amp;lt; ddlUserName.Items.Count; row++)&lt;br /&gt;{&lt;br /&gt;// To color a particular user name &lt;br /&gt;if (ddlUserName.Items[row].Value == this.USERID.ToString())&lt;br /&gt;ddlUserName.Items[row].Attributes.Add("style",&lt;br /&gt;"background-color:" + "#663333;color:#ffffff;");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-7641728236791552903?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/7641728236791552903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=7641728236791552903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/7641728236791552903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/7641728236791552903'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2010/06/to-change-background-color-or-to-change.html' title='To change the background color or to change the inner text of a item in dropdown'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8875386830203650900</id><published>2010-06-02T22:50:00.000-07:00</published><updated>2010-06-03T05:35:33.374-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='headertemplate'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='client side'/><category scheme='http://www.blogger.com/atom/ns#' term='checkbox'/><category scheme='http://www.blogger.com/atom/ns#' term='unselect all'/><category scheme='http://www.blogger.com/atom/ns#' term='select all'/><category scheme='http://www.blogger.com/atom/ns#' term='Gridview'/><title type='text'>Gridview headertemplate with checkbox and client side ( javascript) handling of select all / unselect all</title><content type='html'>&lt;span&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=anandathirumurugan&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B000V5Z6RG&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/Hitachi-C10FCE2-10-Inch-Compound-Miter/dp/B000V5Z6RG?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Hitachi C10FCE2 10-Inch Compound Miter Saw" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B000V5Z6RG&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B000V5Z6RG" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/9-5x10mm-Japanese-saltwater-cultured-necklace/dp/B0000VM6V0?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="9.5x10mm AAA Quality Japanese Akoya saltwater cultured pearl necklace 51&amp;quot; triple strand Rope" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B0000VM6V0&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0000VM6V0" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Gridview headertemplate with checkbox and client side handling of select all / unselect all using javascript.&lt;br /&gt;courtesy from &lt;br /&gt;&lt;a href="http://dotnetslackers.com/Community/blogs/kaushalparik/archive/2008/07/16/checkbox-in-headertemplate-to-select-all-checkboxes-inside-a-gridview-using-javascript.aspx"&gt;http://dotnetslackers.com/Community/blogs/kaushalparik/archive/2008/07/16/checkbox-in-headertemplate-to-select-all-checkboxes-inside-a-gridview-using-javascript.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Idea and code from this site, I enhached and made small corrections this for my application, according to my requirement&lt;br /&gt;&lt;br /&gt;Thanks to http://dotnetslackers.com/ for all the code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;input type="hidden" id="hdnCheckBoxValue" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;table&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td style="width: 100px;"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp:GridView ID="gvVendorBulletin"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Columns&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HeaderText="" ItemStyle-BorderWidth="0"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp:CheckBox ID="chkItem" runat="server" onclick="VendorItemSelected(this)" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;HeaderTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp:CheckBox ID="chkHdrItem" runat="server" onclick="VendorSelectAll(this)" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/HeaderTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/asp:TemplateField&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Columns&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/asp:GridView&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;br /&gt;&lt;br /&gt;function callFileDownload(a,b)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;function callCheckAllVendor(CheckBox) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TotalChkBx = parseInt('&amp;lt;%= this.gvVendorBulletin.Rows.Count %&amp;gt;');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var TargetBaseControl = document.getElementById('&amp;lt;%= this.gvVendorBulletin.ClientID %&amp;gt;');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var TargetChildControl = "chkItem";&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var Inputs = TargetBaseControl.getElementsByTagName("input");&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var flag = true;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById("hdnCheckBoxValue").value = true;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var iCount = 0; iCount &amp;lt; Inputs.length; ++iCount) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (Inputs[iCount].type == 'checkbox' &amp;amp;&amp;amp; Inputs[iCount].id.indexOf(TargetChildControl, 0) &amp;gt;= 0) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!Inputs[iCount].checked) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;flag = false;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById("hdnCheckBoxValue").value = false;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function VendorSelectAll(CheckBox) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TotalChkBx = parseInt('&amp;lt;%= this.gvVendorBulletin.Rows.Count %&amp;gt;');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var TargetBaseControl = document.getElementById('&amp;lt;%= this.gvVendorBulletin.ClientID %&amp;gt;');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var TargetChildControl = "chkItem";&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var Inputs = TargetBaseControl.getElementsByTagName("input");&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var iCount = 0; iCount &amp;lt; Inputs.length; ++iCount) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (Inputs[iCount].type == 'checkbox' &amp;amp;&amp;amp; Inputs[iCount].id.indexOf(TargetChildControl, 0) &amp;gt;= 0)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Inputs[iCount].checked = CheckBox.checked;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function VendorItemSelected(CheckBox) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TotalChkBx = parseInt('&amp;lt;%= this.gvVendorBulletin.Rows.Count %&amp;gt;');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var TargetBaseControl = document.getElementById('&amp;lt;%= this.gvVendorBulletin.ClientID %&amp;gt;');&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var TargetChildControl = "chkHdrItem";&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var Inputs = TargetBaseControl.getElementsByTagName("input");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!CheckBox.checked) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var iCount = 0; iCount &amp;lt; Inputs.length; ++iCount) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (Inputs[iCount].type == 'checkbox' &amp;amp;&amp;amp; Inputs[iCount].id.indexOf(TargetChildControl, 0) &amp;gt;= 0)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Inputs[iCount].checked = CheckBox.checked;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;callCheckAllVendor(CheckBox);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var flags;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (document.getElementById("hdnCheckBoxValue").value == "true") {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;flags = true;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;flags = false;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var iCount = 0; iCount &amp;lt; Inputs.length; ++iCount) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (Inputs[iCount].type == 'checkbox' &amp;amp;&amp;amp; Inputs[iCount].id.indexOf(TargetChildControl, 0) &amp;gt;= 0)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Inputs[iCount].checked = flags;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-8875386830203650900?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8875386830203650900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8875386830203650900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8875386830203650900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8875386830203650900'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2010/06/gridview-headertemplate-with-checkbox_1596.html' title='Gridview headertemplate with checkbox and client side ( javascript) handling of select all / unselect all'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-4311477684475051651</id><published>2010-06-02T22:28:00.000-07:00</published><updated>2010-06-03T05:30:02.669-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ImageCommand'/><category scheme='http://www.blogger.com/atom/ns#' term='CommaondField'/><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Programming'/><title type='text'>Dynamically add CommandField of type Image to a gridview or any container.</title><content type='html'>&lt;span&gt;&lt;a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Kindle Wireless Reading Device (6" Display, Global Wireless, Latest Generation)&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0015T963C" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=anandathirumurugan&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B002VPE1B6&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;/span&gt;Dynamically add CommandField of type Image to a grid or any container. &lt;br /&gt;&lt;br /&gt;if (!IsPostBack)&lt;br /&gt;{&lt;br /&gt;if (Session["USERTYPE"].ToString() == "S")&lt;br /&gt;{&lt;br /&gt;CommandField ImageCommand = new CommandField();&lt;br /&gt;ImageCommand.ButtonType = ButtonType.Image;&lt;br /&gt;ImageCommand.DeleteImageUrl = "~/images/delete.gif";&lt;br /&gt;ImageCommand.ShowCancelButton = false;&lt;br /&gt;ImageCommand.ShowDeleteButton = true;&lt;br /&gt;GridView1.Columns.Add(ImageCommand);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Then do the normal &lt;br /&gt;&lt;br /&gt;protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;to delete or change as per your requirements.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-4311477684475051651?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/4311477684475051651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=4311477684475051651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4311477684475051651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4311477684475051651'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2010/06/dynamically-add-commaondfield-of-type.html' title='Dynamically add CommandField of type Image to a gridview or any container.'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-4145215377158288369</id><published>2009-07-08T23:54:00.000-07:00</published><updated>2009-07-09T00:02:14.463-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>A New Operating System from GOOGLE: IS that a Downfall to WINDOWS?</title><content type='html'>Google is about to introduce a new OS in the middle of 2010, is that meant to compete the giant Windows?, Is that to be a David to Windows&lt;span class="BAB_CPTermStyle"&gt;&lt;/span&gt;?&lt;br /&gt;&lt;br /&gt;Read further:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html"&gt;Google Blog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://economictimes.indiatimes.com/Infotech/Google-to-take-on-Microsofts-Windows-OS-with-Chrome/articleshow/4755887.cms"&gt;Economic Times&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-4145215377158288369?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/4145215377158288369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=4145215377158288369' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4145215377158288369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4145215377158288369'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2009/07/new-operating-system-from-google-is.html' title='A New Operating System from GOOGLE: IS that a Downfall to WINDOWS?'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-3436231470042328579</id><published>2008-12-10T01:08:00.000-08:00</published><updated>2008-12-10T01:09:11.517-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>It's Time to Get Good at Functional Programming</title><content type='html'>&lt;h5&gt;&lt;a href="http://www.ddj.com/development-tools/212201710"&gt;It's Time to Get Good at Functional Programming&lt;/a&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-3436231470042328579?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/3436231470042328579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=3436231470042328579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/3436231470042328579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/3436231470042328579'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/12/its-time-to-get-good-at-functional.html' title='It&apos;s Time to Get Good at Functional Programming'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8818842595071114200</id><published>2008-12-08T06:03:00.000-08:00</published><updated>2008-12-08T06:04:14.049-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Linux Clone of Microsoft's Silverlight in Beta</title><content type='html'>&lt;a href="http://www.internetnews.com/dev-news/article.php/3788406"&gt;&lt;b&gt;&lt;b class="headline"&gt;Linux Clone of Microsoft's Silverlight in Beta&lt;/b&gt;&lt;/b&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-8818842595071114200?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8818842595071114200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8818842595071114200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8818842595071114200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8818842595071114200'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/12/linux-clone-of-microsofts-silverlight.html' title='Linux Clone of Microsoft&apos;s Silverlight in Beta'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-6335500125450636152</id><published>2008-12-08T05:46:00.000-08:00</published><updated>2008-12-08T05:47:47.094-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>To get the query string through javascript (Client side)</title><content type='html'>window.location.search.substring(1);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-6335500125450636152?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/6335500125450636152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=6335500125450636152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/6335500125450636152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/6335500125450636152'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/12/to-get-query-string-through-javascript.html' title='To get the query string through javascript (Client side)'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-1471857855773986995</id><published>2008-12-07T22:11:00.001-08:00</published><updated>2008-12-07T22:11:59.036-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Google unleashes unlocked G1 on developers</title><content type='html'>&lt;a href="http://news.cnet.com/8301-17938_105-10116531-1.html"&gt;Google unleashes unlocked G1 on developers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-1471857855773986995?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/1471857855773986995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=1471857855773986995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/1471857855773986995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/1471857855773986995'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/12/google-unleashes-unlocked-g1-on.html' title='Google unleashes unlocked G1 on developers'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-5011159776482194360</id><published>2008-11-26T21:17:00.000-08:00</published><updated>2010-06-03T05:31:49.794-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outlook Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>To get the email addresses from aliases names : Outlook Programming using C#</title><content type='html'>&lt;span&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=anandathirumurugan&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0015T963C&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/Girl-Kicked-Hornets-Nest-ebook/dp/B0031YJFCQ?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="The Girl Who Kicked the Hornet's Nest" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B0031YJFCQ&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0031YJFCQ" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/Breach-of-Trust-ebook/dp/B001SK4JXK?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Breach of Trust" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B001SK4JXK&amp;amp;tag=anandathirumurugan" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B001SK4JXK" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;span&gt;&lt;a href="http://www.amazon.com/Breach-of-Trust-ebook/dp/B001SK4JXK?ie=UTF8&amp;amp;tag=anandathirumurugan&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Breach of Trust&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=anandathirumurugan&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B001SK4JXK" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;" width="1" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To get the email addresses from aliases names : Outlook Programming using C#&lt;br /&gt;IDE : Visual Studio 2008&lt;br /&gt;&lt;br /&gt;Please ignore inappropriate content as put entire code since I am adding some more functionality other than finding the address through aliases names.&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt;using Microsoft.Office.Interop.Outlook;&lt;br /&gt;using System.Runtime.InteropServices;&lt;br /&gt;using System.IO;&lt;br /&gt;using ObjOutlook = Microsoft.Office.Interop.Outlook;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;namespace Stmp_Client_2008&lt;br /&gt;{&lt;br /&gt;public partial class Form1 : Form&lt;br /&gt;{&lt;br /&gt;public String MailsSub;&lt;br /&gt;&lt;br /&gt;public String Cc;&lt;br /&gt;public String To;&lt;br /&gt;public String Bcc;&lt;br /&gt;public String SenderMailAddr;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private static ArrayList emailCollection = new ArrayList();&lt;br /&gt;public static Boolean SuccMail = false;&lt;br /&gt;public static Boolean MailFlag = false;&lt;br /&gt;&lt;br /&gt;ObjOutlook.Application App = new ObjOutlook.ApplicationClass();&lt;br /&gt;ObjOutlook.NameSpace NS;&lt;br /&gt;ObjOutlook.MAPIFolder CheckFold;&lt;br /&gt;ObjOutlook.MAPIFolder MovingFold;&lt;br /&gt;ObjOutlook.MAPIFolder ErrMovingFold;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;const int S_OK = 0;&lt;br /&gt;&lt;br /&gt;[DllImport("MAPI32.DLL", CharSet = CharSet.Ansi, EntryPoint = "HrGetOneProp@12")]&lt;br /&gt;private static extern void HrGetOneProp(IntPtr pmp, uint ulPropTag, out IntPtr ppProp);&lt;br /&gt;&lt;br /&gt;[DllImport("MAPI32.DLL", CharSet = CharSet.Ansi, EntryPoint = "HrSetOneProp@8")]&lt;br /&gt;private static extern void HrSetOneProp(IntPtr pmp, IntPtr pprop);&lt;br /&gt;&lt;br /&gt;[DllImport("MAPI32.DLL", CharSet = CharSet.Ansi, EntryPoint = "MAPIFreeBuffer@4")]&lt;br /&gt;private static extern void MAPIFreeBuffer(IntPtr lpBuffer);&lt;br /&gt;&lt;br /&gt;[DllImport("MAPI32.DLL", CharSet = CharSet.Ansi)]&lt;br /&gt;private static extern int MAPIInitialize(IntPtr lpMapiInit);&lt;br /&gt;&lt;br /&gt;[DllImport("MAPI32.DLL", CharSet = CharSet.Ansi)]&lt;br /&gt;private static extern void MAPIUninitialize();&lt;br /&gt;&lt;br /&gt;const string IID_IMAPIProp = "00020303-0000-0000-C000-000000000046";&lt;br /&gt;const uint PR_SMTP_ADDRESS = 972947486;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public struct SPropValue&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Property tag for the property. Property tags are 32-bit unsigned integers consisting of the property's unique identifier in the high-order 16 bits and the property's type in the low-order 16 bits.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public uint ulPropTag;&lt;br /&gt;&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Reserved for MAPI; do not use.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public uint dwAlignPad;&lt;br /&gt;&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Union of data values, the specific value dictated by the property type.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public long Value;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public Form1()&lt;br /&gt;{&lt;br /&gt;InitializeComponent();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void Form1_Load(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;private ObjOutlook.MAPIFolder GetFolder(ObjOutlook.Folders ReadFold, string name)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;ObjOutlook.MAPIFolder TempStr = null;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;foreach (ObjOutlook.MAPIFolder MovFold in ReadFold)&lt;br /&gt;{&lt;br /&gt;if (MovFold.Name == name)&lt;br /&gt;{&lt;br /&gt;TempStr = MovFold;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (MovFold.Folders.Count &amp;gt; 0)&lt;br /&gt;{&lt;br /&gt;ObjOutlook.MAPIFolder TempStr2 = null;&lt;br /&gt;&lt;br /&gt;TempStr2 = GetFolder(MovFold.Folders, name);&lt;br /&gt;if (TempStr2 != null)&lt;br /&gt;{&lt;br /&gt;TempStr = TempStr2;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;return TempStr;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//From the URL http://weblogs.asp.net/cumpsd/articles/89697.aspx&lt;br /&gt;&lt;br /&gt;private static void AddAddress(string emailAddress)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;emailAddress = emailAddress.Trim();&lt;br /&gt;&lt;br /&gt;emailAddress = emailAddress.ToLower();&lt;br /&gt;&lt;br /&gt;if (!emailCollection.Contains(emailAddress))&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;emailCollection.Add(emailAddress);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;} /* AddAddress */&lt;br /&gt;&lt;br /&gt;private string GetEmailAddressFromExchange(string emailName)&lt;br /&gt;{&lt;br /&gt;ObjOutlook.MailItem loDummyMsg = (ObjOutlook.MailItem)App.CreateItem(ObjOutlook.OlItemType.olMailItem);&lt;br /&gt;ObjOutlook.Recipient loAddress = loDummyMsg.Recipients.Add(emailName);&lt;br /&gt;loAddress.Resolve();&lt;br /&gt;string SMTPAddress = GetMAPIProperty(loAddress.AddressEntry.MAPIOBJECT, PR_SMTP_ADDRESS);&lt;br /&gt;&lt;br /&gt;return SMTPAddress;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private string GetMAPIProperty(object oMAPIObject, uint uiPropertyTag)&lt;br /&gt;{&lt;br /&gt;if (oMAPIObject == null)&lt;br /&gt;{&lt;br /&gt;return "";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;string sProperty = "";&lt;br /&gt;IntPtr pPropValue = IntPtr.Zero;&lt;br /&gt;&lt;br /&gt;IntPtr IUnknown = IntPtr.Zero;&lt;br /&gt;IntPtr IMAPIProperty = IntPtr.Zero;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;MAPIInitialize(IntPtr.Zero);&lt;br /&gt;&lt;br /&gt;IUnknown = Marshal.GetIUnknownForObject(oMAPIObject);&lt;br /&gt;&lt;br /&gt;Guid guidMAPIProp = new Guid(IID_IMAPIProp);&lt;br /&gt;&lt;br /&gt;if (Marshal.QueryInterface(IUnknown, ref guidMAPIProp, out IMAPIProperty) != S_OK)&lt;br /&gt;{&lt;br /&gt;return "";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;HrGetOneProp(IMAPIProperty, uiPropertyTag, out pPropValue);&lt;br /&gt;&lt;br /&gt;if (pPropValue == IntPtr.Zero)&lt;br /&gt;{&lt;br /&gt;return "";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;SPropValue propValue = (SPropValue)Marshal.PtrToStructure(pPropValue, typeof(SPropValue));&lt;br /&gt;&lt;br /&gt;sProperty = Marshal.PtrToStringAnsi(new IntPtr(propValue.Value));&lt;br /&gt;}&lt;br /&gt;catch (System.Exception ex)&lt;br /&gt;{&lt;br /&gt;throw ex;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;finally&lt;br /&gt;{&lt;br /&gt;if (pPropValue != IntPtr.Zero)&lt;br /&gt;{&lt;br /&gt;MAPIFreeBuffer(pPropValue);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (IMAPIProperty != IntPtr.Zero)&lt;br /&gt;{&lt;br /&gt;Marshal.Release(IMAPIProperty);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (IUnknown != IntPtr.Zero)&lt;br /&gt;{&lt;br /&gt;Marshal.Release(IUnknown);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;MAPIUninitialize();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;return sProperty;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private void button1_Click(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;NS = App.GetNamespace("MAPI");&lt;br /&gt;CheckFold = GetFolder(NS.Folders, "Sample");&lt;br /&gt;//MovingFold = GetFolder(NS.Folders, "HK_MailRead");&lt;br /&gt;//ErrMovingFold = GetFolder(NS.Folders, "HK_ErrMail");&lt;br /&gt;&lt;br /&gt;ObjOutlook.Items olmailItems = CheckFold.Items;&lt;br /&gt;int iter=0;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;//ObjOutlook.MAPIFolder ChkFld = NS.GetDefaultFolder(ObjOutlook.OlDefaultFolders.olFolderInbox);&lt;br /&gt;&lt;br /&gt;if (CheckFold.Items.Count &amp;gt; 0)&lt;br /&gt;{&lt;br /&gt;// foreach (ObjOutlook.MailItem ListItem in ChkFld.Items)&lt;br /&gt;//{&lt;br /&gt;for (int iteration = 1; iteration &amp;lt;= CheckFold.Items.Count; iteration++)&lt;br /&gt;{&lt;br /&gt;ObjOutlook.MailItem ListItem = (ObjOutlook.MailItem)CheckFold.Items[iteration];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MailsSub = ListItem.Subject;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if (MailsSub.ToLower().StartsWith("RE") || MailsSub.ToLower().StartsWith("Ka"))&lt;br /&gt;{&lt;br /&gt;//Cc = ListItem.CC.ToString();&lt;br /&gt;//To = ListItem.To.ToString();&lt;br /&gt;//Bcc = ListItem.To.ToString();&lt;br /&gt;//SenderMailAddr = ListItem.SenderEmailAddress.ToString();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;ObjOutlook.Items ioItems = (ObjOutlook.Items)CheckFold.Items;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;string emailname;&lt;br /&gt;string emailWithDomainName;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;foreach (ObjOutlook.MailItem olMail in olmailItems)&lt;br /&gt;{&lt;br /&gt;foreach (ObjOutlook.Recipient olRecipient in olMail.Recipients)&lt;br /&gt;{&lt;br /&gt;// string address = olRecipient.AddressEntry.GetExchangeUser().Address.ToString();&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;emailname = olRecipient.Name;&lt;br /&gt;emailWithDomainName = GetEmailAddressFromExchange(emailname);&lt;br /&gt;emailCollection[iter] = emailWithDomainName;&lt;br /&gt;iter++;&lt;br /&gt;// ObjOutlook.ContactItem oCt = (ObjOutlook.ContactItem)olmailItems;&lt;br /&gt;//string emaill = oCt.Email1Address.ToString();&lt;br /&gt;}&lt;br /&gt;catch { }&lt;br /&gt;try { AddAddress(olRecipient.Address ); }&lt;br /&gt;catch { }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;try { Cc = ListItem.CC.ToString(); }&lt;br /&gt;catch { }&lt;br /&gt;&lt;br /&gt;try { To = ListItem.To.ToString(); }&lt;br /&gt;catch { }&lt;br /&gt;try { Bcc = ListItem.To.ToString(); }&lt;br /&gt;catch { }&lt;br /&gt;try { SenderMailAddr = ListItem.SenderEmailAddress.ToString(); }&lt;br /&gt;catch { }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;catch { }&lt;br /&gt;&lt;br /&gt;for (int i = 0; i &amp;lt; emailCollection.Count; i++)&lt;br /&gt;{&lt;br /&gt;listBox1.Items.Add(emailCollection[i].ToString());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Happy Coding!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-5011159776482194360?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/5011159776482194360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=5011159776482194360' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5011159776482194360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5011159776482194360'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/11/to-get-email-addresses-from-aliases.html' title='To get the email addresses from aliases names : Outlook Programming using C#'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-5775776385906625297</id><published>2008-11-24T22:35:00.000-08:00</published><updated>2008-11-24T22:38:46.143-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='User Controls'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>To create a User Control for add new rows dynamically using JavaScript, Asp.net, C#</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CTHIRUM%7E2%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CTHIRUM%7E2%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CTHIRUM%7E2%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;User Control Code&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;i style=""&gt;AddMore.ascx&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=""&gt;                &lt;/span&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;font-family:&amp;quot;;font-size:10;"  &gt;&lt;%&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;@&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:maroon;"&gt;Control&lt;/span&gt; &lt;span style="color:red;"&gt;Language&lt;/span&gt;&lt;span style="color:blue;"&gt;="c#"&lt;/span&gt; &lt;span style="color:red;"&gt;Inherits&lt;/span&gt;&lt;span style="color:blue;"&gt;="Ind.UC.AddMore"&lt;/span&gt; &lt;span style="color:red;"&gt;CodeFile&lt;/span&gt;&lt;span style="color:blue;"&gt;="AddMore.ascx.cs"&lt;/span&gt; &lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;%&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;table&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:red;"&gt;cellpadding&lt;/span&gt;&lt;span style="color:blue;"&gt;="0"&lt;/span&gt; &lt;span style="color:red;"&gt;cellspacing&lt;/span&gt;&lt;span style="color:blue;"&gt;="0"&lt;/span&gt; &lt;span style="color:red;"&gt;width&lt;/span&gt;&lt;span style="color:blue;"&gt;="100%"&lt;/span&gt; &lt;span style="color:red;"&gt;align&lt;/span&gt;&lt;span style="color:blue;"&gt;="center"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="tblAddMore"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt; &lt;span style="color:red;"&gt;align&lt;/span&gt;&lt;span style="color:blue;"&gt;="right"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;class&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="btnAdd"&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;value&lt;/span&gt;&lt;span style="color:blue;"&gt;="Add Row"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;class&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="btnDelete"&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;value&lt;/span&gt;&lt;span style="color:blue;"&gt;="Delete Row"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt; &lt;span style="color:red;"&gt;style&lt;/span&gt;&lt;span style="color:blue;"&gt;="display:none"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt; &lt;span style="color:red;"&gt;align&lt;/span&gt;&lt;span style="color:blue;"&gt;="right"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;class&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="btnGet"&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;value&lt;/span&gt;&lt;span style="color:blue;"&gt;="Get Values"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt; &lt;span style="color:blue;"&gt;="hidden"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt; &lt;span style="color:blue;"&gt;="hdnArray"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;!--&lt;/span--&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;table&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;script&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:red;"&gt;language&lt;/span&gt;&lt;span style="color:blue;"&gt;="javascript"&lt;/span&gt; &lt;span style="color:red;"&gt;src&lt;/span&gt;&lt;span style="color:blue;"&gt;="js/CommonControls.js"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;script&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;script&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:red;"&gt;language&lt;/span&gt;&lt;span style="color:blue;"&gt;="javascript"&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="text/javascript"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; getObj(id) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; document.getElementById(id);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; getAllValues(tableId)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; table = getObj(tableId);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; str=&lt;span style="color:maroon;"&gt;""&lt;/span&gt;;&lt;span style=""&gt;             &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=1; i &lt; style=""&gt;       &lt;/span&gt;&lt;span style=""&gt;   &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;{&lt;span style=""&gt;                 &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;str+=&lt;span style="color:maroon;"&gt;"Row"&lt;/span&gt;+i+&lt;span style="color:maroon;"&gt;".value = "&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; j=0; j &lt; style=""&gt;   &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;{&lt;span style=""&gt;     &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; k=0; k &lt;&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;{ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                    &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; childNode = table.rows[i].cells[j].childNodes[k];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                    &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(childNode.type==&lt;span style="color:maroon;"&gt;"text"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                          &lt;/span&gt;str += &lt;span style="color:maroon;"&gt;"'"&lt;/span&gt;+childNode.value+&lt;span style="color:maroon;"&gt;"', "&lt;/span&gt;;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                              &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;alert(str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;!--&lt;/span--&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;script&lt;/span&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;i style=""&gt;AddMore.ascx.cs&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;namespace&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; Ind.UC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;using&lt;/span&gt; System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;using&lt;/span&gt; System.Web.UI.HtmlControls;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt; &lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;summary&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/summary&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&lt;span style=""&gt;         &lt;/span&gt;Summary description for AddMore.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt; &lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;partial&lt;/span&gt; &lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;AddMore&lt;/span&gt; : System.Web.UI.&lt;span style="color:teal;"&gt;UserControl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//protected System.Web.UI.HtmlControls.HtmlInputButton&lt;span style=""&gt;  &lt;/span&gt;btnDelete;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;"&gt;string&lt;/span&gt; clickEvent;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;string&lt;/span&gt; onclick {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;get&lt;/span&gt;{&lt;span style="color:blue;"&gt;return&lt;/span&gt; clickEvent;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;set&lt;/span&gt;{clickEvent = &lt;span style="color:blue;"&gt;value&lt;/span&gt;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//&lt;span style=""&gt;          &lt;/span&gt;private void Page_Load(object sender, System.EventArgs e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//&lt;span style=""&gt;                &lt;/span&gt;// Put user code to initialize the page here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//&lt;span style=""&gt;          &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;span style=""&gt;            &lt;/span&gt;#region&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; Web Form Designer generated code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;override&lt;/span&gt; &lt;span style="color:blue;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; OnInit(&lt;span style="color:teal;"&gt;EventArgs&lt;/span&gt; e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:green;"&gt;// CODEGEN: This call is required by the ASP.NET Web Form Designer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;InitializeComponent();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;base&lt;/span&gt;.OnInit(e);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//Required method for Designer support - do not modify the contents of this method with the code editor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;private&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; InitializeComponent() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:green;"&gt;//this.Load += new System.EventHandler(this.Page_Load);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:green;"&gt;//this.btnAddMore.Attributes.Add("onclick",this.clickEvent);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.btnAdd.Attributes.Add(&lt;span style="color:maroon;"&gt;"onclick"&lt;/span&gt;, &lt;span style="color:maroon;"&gt;"javascript:addRowInATable('tblAddMorea')"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.btnDelete.Attributes.Add(&lt;span style="color:maroon;"&gt;"onclick"&lt;/span&gt;, &lt;span style="color:maroon;"&gt;"javascript:deleteRowInATable('tblAddMorea')"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.btnGet.Attributes.Add(&lt;span style="color:maroon;"&gt;"onclick"&lt;/span&gt;, &lt;span style="color:maroon;"&gt;"javascript:getAllValues()"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;span style=""&gt;            &lt;/span&gt;#endregion&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color:blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color:teal;"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;"  &gt;CommonControls.js&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;/*Commonly Used Functions*/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;/*Created By : Ananda Thirumurugan.V */&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;/*Date : 15_JUNE_2007&lt;span style=""&gt;  &lt;/span&gt;*/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;var&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; arrElements = &lt;span style="color:blue;"&gt;new&lt;/span&gt; Array();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; callGrabFunction(tableID,hdnArray)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;{&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; getValuesInACell(cell) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0;i&lt;cell.childnodes.length;i++)&gt;&lt;/cell.childnodes.length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; childNode = cell.childNodes[i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;getValuesOfAControl(childNode);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; getValuesOfAControl(control) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"select-one"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.selectedIndex=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"text"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;alert(control.value);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//control.value = "";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//control.disabled=false;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//if(control.getAttribute("defaultRead")) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//&lt;span style=""&gt;    &lt;/span&gt;if(control.getAttribute("defaultRead") == 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//&lt;span style=""&gt;          &lt;/span&gt;control.readOnly=true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"textarea"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.value = &lt;span style="color:maroon;"&gt;""&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"checkbox"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.checked = &lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"select-multiple"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; j=childNode.options.length-1;j&gt;0;j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.options[j].selected == &lt;span style="color:blue;"&gt;true&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;control.options[j].selected == &lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:green;"&gt;//childNode.remove(j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function used to addrow in a table(Table id)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; addRowInATable(tableID) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; tableObj = getId(tableID);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; rowObj = tableObj.insertRow(tableObj.rows.length);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;addCellInARow(tableObj, rowObj);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;assignRowClass(tableObj);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function to add specific number of rows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; addSpecificRows(tblID, count) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0;i&lt;count;i++)&gt;&lt;/count;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;addRowInATable(tblID);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:green;"&gt;//addRowInATable(tblID);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function adds a cell in a row(Table &amp;amp; row object)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; addCellInARow(tableObj, rowObj) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0; i&lt;tableobj.rows[1].cells.length;&gt;&lt;/tableobj.rows[1].cells.length;&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; cellObj = rowObj.insertCell(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;cellObj.innerHTML = tableObj.rows[1].cells[i].innerHTML;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:green;"&gt;//&lt;span style=""&gt;    &lt;/span&gt;alert(tableObj.rows[i].cells[0].innerHTML)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:green;"&gt;//&lt;span style=""&gt;    &lt;/span&gt;alert(tableObj.rows[i].cells[i].innerHTML)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;clearValuesInACell(cellObj);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function calls corresponding function based on the control type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; correspondingClearCall(control) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; type=returnControlType(control);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:green;"&gt;//alert(control.childNodes[0].tagName);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(type==&lt;span style="color:maroon;"&gt;"DIV"&lt;/span&gt;){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(type=&lt;span style="color:maroon;"&gt;"TABLE"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;      &lt;/span&gt;dsarClearValuesInATable(control);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(type==&lt;span style="color:maroon;"&gt;"TR"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;dsarClearValuesInARow(control);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(type==&lt;span style="color:maroon;"&gt;"TD"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;clearValuesInACell(control);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(type.match(/INPUT|SELECT|TEXTAREA/gi)) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;clearValuesInAChildNode(control);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; returnControlType(control) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; control.tagName;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;/*//function &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;function clearValuesInADiv() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;span style=""&gt;      &lt;/span&gt;var length = arguments.length;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;span style=""&gt;      &lt;/span&gt;for(var i=0;i&lt;length;i++)&gt;&lt;/length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;span style=""&gt;            &lt;/span&gt;clearValuesInATable();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;}*/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function clears value of a cell (function will not remove dropdown options)(cell).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; clearValuesInACell(cell) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0;i&lt;cell.childnodes.length;i++)&gt;&lt;/cell.childnodes.length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; childNode = cell.childNodes[i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;clearValuesOfAControl(childNode);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;// function clears values of a control and also enables them&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; clearValuesOfAControl(control) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"select-one"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.selectedIndex=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"text"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.value = &lt;span style="color:maroon;"&gt;""&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.getAttribute(&lt;span style="color:maroon;"&gt;"defaultRead"&lt;/span&gt;)) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.getAttribute(&lt;span style="color:maroon;"&gt;"defaultRead"&lt;/span&gt;) == 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;control.readOnly=&lt;span style="color:blue;"&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"textarea"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.value = &lt;span style="color:maroon;"&gt;""&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"checkbox"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.checked = &lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; &lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.type == &lt;span style="color:maroon;"&gt;"select-multiple"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; j=childNode.options.length-1;j&gt;0;j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.options[j].selected == &lt;span style="color:blue;"&gt;true&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;control.options[j].selected == &lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:green;"&gt;//childNode.remove(j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;control.disabled=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;// function deletes a row in a table. Expects a table id as a parameter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; deleteRowInATable(tableId) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; tableObj = getId(tableId)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=tableObj.rows.length-1;i&gt;=1;i--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; length = tableObj.rows[i].cells[tableObj.rows[i].cells.length-1].childNodes.length;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; j=0;j&lt;length;j++)&gt;&lt;/length;j++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(tableObj.rows[i].cells[tableObj.rows[i].cells.length-1].childNodes[j].type==&lt;span style="color:maroon;"&gt;"checkbox"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(tableObj.rows[i].cells[tableObj.rows[i].cells.length-1].childNodes[j].checked==&lt;span style="color:blue;"&gt;true&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                              &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; childNode=tableObj.rows[i].cells[tableObj.rows[i].cells.length-1].childNodes[j];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                              &lt;/span&gt;j=length;&lt;span style=""&gt;                           &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                              &lt;/span&gt;deleteRowByControl(childNode);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function deletes the row containing the control.(control object)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; deleteRowByControl(control) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; row=control.parentNode.parentNode;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; tableObj=row.parentNode;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(row.rowIndex != 1) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;row.parentNode.deleteRow(row.rowIndex);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;assignRowClass(tableObj);}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;/span&gt; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;alert(&lt;span style="color:maroon;"&gt;"* This row cannot be deleted."&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;control.checked=&lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;false&lt;/span&gt;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function applies alternating class to the rows in a table.(Table Object)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; assignRowClass(tableObj) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=1;i&lt;tableobj.rows.length;i++)&gt;&lt;/tableobj.rows.length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; rowObj = tableObj.rows[i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(rowObj.rowIndex%2==0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;rowObj.className=&lt;span style="color:maroon;"&gt;"tablecontent2"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;rowObj.className=&lt;span style="color:maroon;"&gt;"tablecontent1"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function returns necessary validation parameters&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; returnValidationParameters(controlID) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; controlID.valid.split(&lt;span style="color:maroon;"&gt;"_"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function validates only mandatory controls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; validateMandatoryControls(childNode) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;((childNode.type == &lt;span style="color:maroon;"&gt;"text"&lt;/span&gt;)||(childNode.type == &lt;span style="color:maroon;"&gt;"textarea"&lt;/span&gt;)) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(trim(childNode.value)==&lt;span style="color:maroon;"&gt;""&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;alert(returnAlertMessage(childNode)+childNode.errname);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;childNode.focus();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;false&lt;/span&gt;;}}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(childNode.type == &lt;span style="color:maroon;"&gt;"select-one"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(trim(childNode.value)==&lt;span style="color:maroon;"&gt;""&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;alert(returnAlertMessage(childNode)+childNode.errname);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;childNode.focus();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;false&lt;/span&gt;;}}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(childNode.type == &lt;span style="color:maroon;"&gt;"select-multiple"&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(!validateMutipleDropdown(childNode)) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;alert(returnAlertMessage(childNode)+childNode.errname);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;childNode.focus();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;false&lt;/span&gt;;}}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function returns true if any multiple dropdown option is selected (except Select)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; validateMutipleDropdown(control) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0;i&lt;control.options.length;i++)&gt;&lt;/control.options.length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;(control.options[i].selected == &lt;span style="color:blue;"&gt;true&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                  &lt;/span&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;((control.options[i].value != &lt;span style="color:maroon;"&gt;""&lt;/span&gt;)||(control.options[i].value != &lt;span style="color:maroon;"&gt;"0"&lt;/span&gt;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;true&lt;/span&gt;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function enables divs(multiple, give as comma seperated(no ' or ""))//&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; DSAREnableDivs() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; length = arguments.length;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0;i&lt;length;i++)&gt;&lt;/length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;arguments[i].style.display=&lt;span style="color:maroon;"&gt;"block"&lt;/span&gt;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function disables divs(multiple, give as comma seperated(no ' or ""))//&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; DSARDisableDivs() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt; length = arguments.length;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;(&lt;span style="color:blue;"&gt;var&lt;/span&gt; i=0;i&lt;length;i++)&gt;&lt;/length;i++)&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;arguments[i].style.display=&lt;span style="color:maroon;"&gt;"none"&lt;/span&gt;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function removes spaces and returns the string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; trim(str) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; str.toString().replace(/(^\s*|\s*$)/gi,&lt;span style="color:maroon;"&gt;""&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; showPopupPage(url) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;window.open(url,&lt;span style="color:maroon;"&gt;""&lt;/span&gt;,&lt;span style="color:maroon;"&gt;"height=400,width=600,toolbar=no,minimize=no,status=no,memubar=no,location=no, scrollbars=yes"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;//function returns object of any element / control, given the id.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;function&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; getId(controlID) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; document.getElementById(controlID);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;/*Commonly Used Functions*/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;"  &gt;Default2.aspx&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;font-family:&amp;quot;;font-size:10;"  &gt;&lt;%&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;@&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:maroon;"&gt;Page&lt;/span&gt; &lt;span style="color:red;"&gt;Language&lt;/span&gt;&lt;span style="color:blue;"&gt;="C#"&lt;/span&gt; &lt;span style="color:red;"&gt;AutoEventWireup&lt;/span&gt;&lt;span style="color:blue;"&gt;="true"&lt;/span&gt; &lt;span style="color:red;"&gt;CodeFile&lt;/span&gt;&lt;span style="color:blue;"&gt;="Default2.aspx.cs"&lt;/span&gt; &lt;span style="color:red;"&gt;Inherits&lt;/span&gt;&lt;span style="color:blue;"&gt;="Default2"&lt;/span&gt; &lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;%&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;font-family:&amp;quot;;font-size:10;"  &gt;&lt;%&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;@&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:maroon;"&gt;Register&lt;/span&gt; &lt;span style="color:red;"&gt;Assembly&lt;/span&gt;&lt;span style="color:blue;"&gt;="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:red;"&gt;Namespace&lt;/span&gt;&lt;span style="color:blue;"&gt;="System.Web.UI"&lt;/span&gt; &lt;span style="color:red;"&gt;TagPrefix&lt;/span&gt;&lt;span style="color:blue;"&gt;="asp"&lt;/span&gt; &lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;%&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;font-family:&amp;quot;;font-size:10;"  &gt;&lt;%&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;@&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:maroon;"&gt;Register&lt;/span&gt; &lt;span style="color:red;"&gt;Src&lt;/span&gt;&lt;span style="color:blue;"&gt;="AddMore.ascx"&lt;/span&gt; &lt;span style="color:red;"&gt;TagName&lt;/span&gt;&lt;span style="color:blue;"&gt;="AddMore"&lt;/span&gt; &lt;span style="color:red;"&gt;TagPrefix&lt;/span&gt;&lt;span style="color:blue;"&gt;="uc1"&lt;/span&gt; &lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;%&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;!--&lt;/span--&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;DOCTYPE&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:red;"&gt;html&lt;/span&gt; &lt;span style="color:red;"&gt;PUBLIC&lt;/span&gt; &lt;span style="color:blue;"&gt;"-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;/span&gt; &lt;span style="color:blue;"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;html&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;="http://www.w3.org/1999/xhtml"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;head&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;title&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;/span&gt;Custom Controls&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;title&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;!--&lt;/span--&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;head&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;body&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;form&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="form1"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;asp&lt;/span&gt;&lt;span style="color:blue;"&gt;:&lt;/span&gt;&lt;span style="color:maroon;"&gt;ScriptManager&lt;/span&gt; &lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;="ScriptManager1"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;asp&lt;/span&gt;&lt;span style="color:blue;"&gt;:&lt;/span&gt;&lt;span style="color:maroon;"&gt;ScriptManager&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;asp&lt;/span&gt;&lt;span style="color:blue;"&gt;:&lt;/span&gt;&lt;span style="color:maroon;"&gt;UpdatePanel&lt;/span&gt; &lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;="UpdatePanel1"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;ContentTemplate&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;div&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;table&lt;/span&gt; &lt;span style="color:red;"&gt;cellpadding&lt;/span&gt;&lt;span style="color:blue;"&gt;="0"&lt;/span&gt; &lt;span style="color:red;"&gt;cellspacing&lt;/span&gt;&lt;span style="color:blue;"&gt;="0"&lt;/span&gt; &lt;span style="color:red;"&gt;width&lt;/span&gt;&lt;span style="color:blue;"&gt;="100%"&lt;/span&gt; &lt;span style="color:red;"&gt;align&lt;/span&gt;&lt;span style="color:blue;"&gt;="center"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="tblAddMorea"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;Add and delete demo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="text"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="text"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="text"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="checkbox"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;td&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;tr&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;uc1&lt;/span&gt;&lt;span style="color:blue;"&gt;:&lt;/span&gt;&lt;span style="color:maroon;"&gt;AddMore&lt;/span&gt; &lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;="AddMore1"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;table&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;                &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;div&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;ContentTemplate&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;asp&lt;/span&gt;&lt;span style="color:blue;"&gt;:&lt;/span&gt;&lt;span style="color:maroon;"&gt;UpdatePanel&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt;&lt;span style="color:maroon;"&gt;input&lt;/span&gt; &lt;span style="color:red;"&gt;class&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;id&lt;/span&gt;&lt;span style="color:blue;"&gt;="btnGets"&lt;/span&gt; &lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;="button"&lt;/span&gt; &lt;span style="color:red;"&gt;value&lt;/span&gt;&lt;span style="color:blue;"&gt;="Get Valuess"&lt;/span&gt; &lt;span style="color:red;"&gt;runat&lt;/span&gt;&lt;span style="color:blue;"&gt;="server"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:red;"&gt;onclick&lt;/span&gt;&lt;span style="color:blue;"&gt;="javascript:getAllValues('tblAddMorea')"&lt;/span&gt; &lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color:maroon;"&gt;form&lt;/span&gt;&lt;span style="color:blue;"&gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;!--&lt;/span--&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;body&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;!--&lt;/span--&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:maroon;"   &gt;html&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;Default2.aspx.cs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Data;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Configuration;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Collections;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Web;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Web.Security;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Web.UI;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Web.UI.WebControls;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Web.UI.WebControls.WebParts;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Web.UI.HtmlControls;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;using&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; System.Runtime.InteropServices;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;public&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt;span style="color:blue;"&gt;partial&lt;/span&gt; &lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;Default2&lt;/span&gt; : System.Web.UI.&lt;span style="color:teal;"&gt;Page&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;[&lt;span style="color:teal;"&gt;DllImport&lt;/span&gt;(&lt;span style="color:maroon;"&gt;"user32.dll"&lt;/span&gt;, CharSet = &lt;span style="color:teal;"&gt;CharSet&lt;/span&gt;.Unicode)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;extern&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; MessageBox(&lt;span style="color:teal;"&gt;IntPtr&lt;/span&gt; hWnd,&lt;span style="color:teal;"&gt;String&lt;/span&gt; Text,&lt;span style="color:teal;"&gt;String&lt;/span&gt; Caption,&lt;span style="color:blue;"&gt;uint&lt;/span&gt; type);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color:blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color:teal;"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;     &lt;/span&gt;&lt;span style=""&gt;   &lt;/span&gt;&lt;span style="color:green;"&gt;//MessageBox(new IntPtr(0), "Hello World", "Hello Dialog", 0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;span style=""&gt;  &lt;/span&gt;&lt;span style="color:green;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:green;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:12;"  &gt;Happy Coding!!!!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:12;"  &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:10;color:blue;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-5775776385906625297?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/5775776385906625297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=5775776385906625297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5775776385906625297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5775776385906625297'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/11/to-create-user-control-for-add-new-rows.html' title='To create a User Control for add new rows dynamically using JavaScript, Asp.net, C#'/><author><name>Largic</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_HOI4WP61el4/Sdy3CPw1Z7I/AAAAAAAAAw8/TOOnZHX77Uw/S220/Child.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-5284927694350004585</id><published>2008-10-17T04:14:00.001-07:00</published><updated>2008-11-04T06:42:15.073-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>Runtime Hosts</title><content type='html'>&lt;div dir="ltr"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;The common language runtime has been designed to support a variety of different types of applications, from Web server applications to applications with a traditional rich Windows user interface. Each type of application requires a runtime host to start it. The runtime host loads the runtime into a process, creates the application domains within the process, and loads user code into the application domains. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;The .NET Framework ships with a number of different runtime hosts, including the hosts listed in the following table. &lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="border: 1pt solid rgb(221, 221, 221); margin: auto auto auto 4.7pt; width: 97%;" border="1" cellpadding="0" width="97%"&gt;  &lt;tbody&gt; &lt;tr style=""&gt; &lt;td style="border-style: solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(200, 205, 222); border-width: 1pt; padding: 4.7pt; background: rgb(204, 204, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="bottom"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="color: rgb(0, 0, 102);font-family:'Verdana','sans-serif';font-size:10;"  &gt;Runtime Host &lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(200, 205, 222); border-width: 1pt; padding: 4.7pt; background: rgb(204, 204, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="bottom"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="color: rgb(0, 0, 102);font-family:'Verdana','sans-serif';font-size:10;"  &gt;Description &lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr style=""&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;&lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Loads the runtime into the process that is to handle the Web request. &lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; also creates an application domain for each Web application that will run on a Web server. &lt;/span&gt;&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr style=""&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Microsoft Internet Explorer &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Creates application domains in which to run managed controls. The .NET Framework supports the download and execution of browser-based controls. The runtime interfaces with the extensibility mechanism of Microsoft Internet Explorer through a mime filter to create application domains in which to run the managed controls. By default, one application domain is created for each Web site. &lt;/span&gt;&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr style=""&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Shell executables &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: white none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Invokes runtime hosting code to transfer control to the runtime each time an executable is launched from the shell. &lt;/span&gt;&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt; &lt;/span&gt;&lt;/p&gt;  &lt;div class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Microsoft provides a set of APIs for writing your own runtime hosts. &lt;/span&gt;&lt;/div&gt;  &lt;div class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;&lt;/span&gt; &lt;/div&gt;  &lt;div class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt; &lt;p class="doctext" style="margin: 14.05pt 0in;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;A runtime host is defined as any process that loads the .NET runtime and runs code in a managed environment. The most common scenario is that a runtime host is simply a bootstrap program that executes from the Windows shell, loads the runtime into memory, and then loads one or more managed assemblies. An assembly is the unit of deployment in .NET roughly analogous to an executable program or DLL in prior versions of Windows.&lt;a name="ch02index20"&gt;&lt;/a&gt;&lt;a name="ch02index19"&gt;&lt;/a&gt;&lt;a name="ch02index18"&gt;&lt;/a&gt;&lt;a name="ch02index17"&gt;&lt;/a&gt;&lt;a name="ch02index16"&gt;&lt;/a&gt;&lt;a name="ch02index15"&gt;&lt;/a&gt;&lt;a name="ch02index14"&gt;&lt;/a&gt;&lt;a name="ch02index13"&gt;&lt;/a&gt;&lt;a name="ch02index12"&gt;&lt;/a&gt;&lt;a name="ch02index11"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="doctext" style="margin: 14.05pt 0in;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;A runtime host loads the runtime by using the &lt;/span&gt;&lt;tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;ICorRuntimeHost&lt;/span&gt;&lt;/tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt; or &lt;/span&gt;&lt;tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;CorBindToRuntimeEx&lt;/span&gt;&lt;/tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;, prior to Whidbey. These APIs call a shim DLL, &lt;/span&gt;&lt;tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;MSCOREE.DLL&lt;/span&gt;&lt;/tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;, whose only job is to load the runtime. Only a single copy of the runtime (also known as the CLR) engine can ever be loaded into a process during the process's lifetime; it is not possible to run multiple versions of the CLR within the same host. In pre-Whidbey versions of .NET, a host could specify only a limited number of parameters to &lt;/span&gt;&lt;tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;ICorRuntime Host&lt;/span&gt;&lt;/tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt; or &lt;/span&gt;&lt;tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;CorBindToRuntimeEx&lt;/span&gt;&lt;/tt&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;, namely the following:&lt;/span&gt;&lt;/p&gt;  &lt;p class="doclist" style="margin: 14.05pt 0in 14.05pt 0.5in; text-indent: -0.25in;"&gt;&lt;span style=";font-family:Symbol;font-size:10;color:black;"   &gt;&lt;span style=""&gt;·&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Server or workstation behavior&lt;/span&gt;&lt;/p&gt;  &lt;p class="doclist" style="margin: 14.05pt 0in 14.05pt 0.5in; text-indent: -0.25in;"&gt;&lt;span style=";font-family:Symbol;font-size:10;color:black;"   &gt;&lt;span style=""&gt;·&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Version of the CLR (for example, version 1.0.3705.0)&lt;/span&gt;&lt;/p&gt;  &lt;p class="doclist" style="margin: 14.05pt 0in 14.05pt 0.5in; text-indent: -0.25in;"&gt;&lt;span style=";font-family:Symbol;font-size:10;color:black;"   &gt;&lt;span style=""&gt;·&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Garbage collection behavior&lt;/span&gt;&lt;/p&gt;  &lt;p class="doclist" style="margin: 14.05pt 0in 14.05pt 0.5in; text-indent: -0.25in;"&gt;&lt;span style=";font-family:Symbol;font-size:10;color:black;"   &gt;&lt;span style=""&gt;·&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Whether or not to share Just-In-Time compiled code across AppDomains (an AppDomain is a subdivision of the CLR runtime space)&lt;/span&gt;&lt;/p&gt;  &lt;p class="doctext" style="margin: 14.05pt 0in;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Two examples of specialized runtime hosts are the &lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; worker process and Internet Explorer. The &lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; worker process differs in code location and how the executable code, threads, and AppDomains are organized. (We'll discuss AppDomains in the next section.) The &lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; worker process divides code into separate "applications," application being a term that is borrowed from Internet Information Server to denote code running in a virtual directory. Code is located in virtual directories, which are mapped to physical directories in the IIS metabase. Internet Explorer is another runtime host with behaviors that differ from the &lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; worker or SQL Server 2005. IE loads code when it encounters a specific type of &amp;lt;object&amp;gt; tag in a Web page. The location of the code is obtained from an HTML attribute of the tag. SQL Server 2005 is an example of a specialized runtime host that goes far beyond &lt;a href="http://asp.net/"&gt;ASP.NET&lt;/a&gt; in specialization and control of CLR semantics.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:130%;color:black;"   &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;b&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:9;color:black;"   &gt;&lt;a href="http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp"&gt;&lt;span style="color: rgb(128, 0, 128);"&gt;http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;b&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:15;color:black;"   &gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/span&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/24657923-5284927694350004585?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/5284927694350004585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=5284927694350004585' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5284927694350004585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5284927694350004585'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/10/runtime-hosts.html' title='Runtime Hosts'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-2872060140718441881</id><published>2008-10-16T23:18:00.001-07:00</published><updated>2008-11-04T06:40:40.094-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>Reference counting:</title><content type='html'>&lt;div dir="ltr"&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span  lang="EN" style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:100%;"&gt;In computer science, &lt;b&gt;reference counting&lt;/b&gt; is a technique of storing the number of references, pointers, or handles to a resource such as an object or block of memory. It is typically used as a means of de allocating objects which are no longer referenced.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(248, 252, 255) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span  lang="EN" style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span  lang="EN" style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:100%;"&gt;Reference counting is often known as a garbage collection algorithm where each object contains a count of the number of references to it held by other objects. If an object's reference count reaches zero, the object has become inaccessible, and it is put on a list of objects to be destroyed.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(248, 252, 255) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span  lang="EN" style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:100%;"&gt;Simple reference counts require frequent updates. Whenever a reference is destroyed or overwritten, the reference count of the object it references is decremented, and whenever one is created or copied, the reference count of the object it references is incremented.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="background: rgb(248, 252, 255) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span  lang="EN" style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:100%;"&gt;Reference counting is also used in disk operating systems and distributed systems, where full non-incremental tracing garbage collection is too time consuming because of the size of the object graph and slow access speed.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;font-size:11;"  lang="EN"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:11;"  lang="EN"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:'Verdana','sans-serif';"&gt;&lt;/span&gt;&lt;span style="line-height: 115%;font-size:11;"  lang="EN"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';color:black;"  &gt;COM developers are accustomed to implementing reference counting as a manual memory management technique. Each time an object is referenced, a counter is incremented. When a reference to an object goes out of scope, the counter is decremented. When an object's reference count reaches zero, the object is terminated and its memory is freed. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:'Verdana','sans-serif';color:black;"  &gt;The reference counting scheme is the source of many bugs&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:'Verdana','sans-serif';color:black;"  &gt;. If the reference counting rules are not followed precisely, objects might be freed prematurely or unreferenced objects might accumulate in &lt;/span&gt;&lt;span style="line-height: 140%;font-family:'Verdana','sans-serif';color:black;"  &gt;memory&lt;/span&gt;&lt;span style=";font-family:'Verdana','sans-serif';color:black;"  &gt;. Circular references are also a common source of bugs. A circular reference occurs when a child object has a reference to a parent object, and the parent object has a reference to the child object. This scenario prevents either object from being released or destroyed. The only solution is for the parent and child objects to agree on a fixed pattern of usage and destruction, such as where the parent always deletes the child first. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 9.35pt; vertical-align: top; line-height: 140%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';color:black;"  &gt;When you develop applications in a language that targets the common language runtime, the runtime's garbage collector eliminates the need for reference counting and, as a result, the bugs that can arise from this manual memory management scheme. &lt;/span&gt;&lt;span style="font-size:11;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:78%;"  lang="EN"&gt;&lt;a href="http://en.wikipedia.org/wiki/Reference_counting#Advantages_and_disadvantages"&gt;Advantages and Disadvantages&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:85%;"  lang="EN"&gt;References:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:14;"  lang="EN"&gt;&lt;a href="http://en.wikipedia.org/wiki/Reference_counting"&gt;&lt;span style="color: rgb(128, 0, 128);font-size:85%;" &gt;http://en.wikipedia.org/wiki/Reference_counting&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:15;"  &gt;&lt;a href="http://www.brpreiss.com/books/opus5/html/page421.html"&gt;&lt;span style="color: rgb(128, 0, 128);font-size:85%;" &gt;http://www.brpreiss.com/books/opus5/html/page421.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-2872060140718441881?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/2872060140718441881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=2872060140718441881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/2872060140718441881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/2872060140718441881'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/10/reference-counting.html' title='Reference counting:'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8085134233602531921</id><published>2008-10-16T01:41:00.001-07:00</published><updated>2008-11-04T06:41:07.538-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>To display the message box in asp.net</title><content type='html'>&lt;div dir="ltr"&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:13;" &gt;&lt;span style="font-family:Calibri;"&gt;Use the namespace &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Courier New';font-size:12;color:blue;"   &gt;using&lt;/span&gt;&lt;span style="line-height: 115%;font-family:'Courier New';font-size:12;"  &gt; System.Runtime.InteropServices;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:13;" &gt;&lt;span style="font-family:Calibri;"&gt;Then use DllImport &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;"&lt;/span&gt;&lt;b&gt;&lt;span style="line-height: 115%;font-family:'Arial','sans-serif';font-size:13;color:black;"   &gt;DllImportAttribute Class&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="line-height: 115%;font-family:'Arial','sans-serif';font-size:17;color:black;"   &gt; &lt;/span&gt;&lt;/b&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;Indicates that the attributed method is exposed by an unmanaged dynamic-link library (DLL) as a static entry point."&lt;/span&gt;&lt;span style="line-height: 115%;font-size:13;" &gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:13;" &gt;&lt;span style="font-family:Calibri;"&gt;Use the lines below&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Courier New';font-size:12;"  &gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;DllImport&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"user32.dll"&lt;/span&gt;, CharSet = &lt;span style="color: rgb(43, 145, 175);"&gt;CharSet&lt;/span&gt;.Unicode)]&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Courier New';font-size:12;color:blue;"   &gt;public&lt;/span&gt;&lt;span style=";font-family:'Courier New';font-size:12;"  &gt; &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;extern&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; MessageBox(&lt;span style="color: rgb(43, 145, 175);"&gt;IntPtr&lt;/span&gt; hWnd,&lt;span style="color: rgb(43, 145, 175);"&gt;String&lt;/span&gt; Text,&lt;span style="color: rgb(43, 145, 175);"&gt;String &lt;/span&gt;Caption,&lt;span style="color:blue;"&gt;uint&lt;/span&gt; type);&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Courier New';font-size:12;"  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Courier New';font-size:12;"  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Courier New';font-size:12;"  &gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.intptr.aspx"&gt;&lt;span style="color:#800080;"&gt;InPtr&lt;/span&gt;&lt;/a&gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;This type implements the &lt;a id="ctl00_rs1_mainContentContainer_ctl29" href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializable.aspx"&gt;&lt;span target="T:System.Runtime.Serialization.ISerializable"&gt;&lt;span style="color:#800080;"&gt;ISerializable&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt; interface.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Verdana','sans-serif';font-size:10;color:black;"   &gt;And then put this code&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-family:'Courier New';font-size:10;"  &gt;MessageBox(&lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;IntPtr&lt;/span&gt;(0), &lt;span style="color: rgb(163, 21, 21);"&gt;"Hello World"&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;"Hello Dialog name"&lt;/span&gt;, 0);&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="border: 1pt solid rgb(221, 221, 221); margin: auto auto auto 4.7pt; width: 97%;" border="1" cellpadding="0" width="97%"&gt;  &lt;tbody&gt; &lt;tr style=""&gt; &lt;td style="border-style: solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(200, 205, 222); border-width: 1pt; padding: 4.7pt; background: rgb(239, 239, 247) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="bottom"&gt;  &lt;p class="MsoNormal" style="margin: 4.7pt 0in; line-height: normal;"&gt;&lt;b&gt;&lt;span style="color: rgb(0, 0, 102);font-family:'Verdana','sans-serif';font-size:8;"  &gt;Note:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr style=""&gt; &lt;td style="border: 1pt solid rgb(213, 213, 211); padding: 4.7pt; background: rgb(247, 247, 255) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" valign="top"&gt;  &lt;p class="MsoNormal" style="margin: 0in 0.95pt 0pt; line-height: normal;"&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:8;color:black;"   &gt;The &lt;/span&gt;&lt;b&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:8;color:black;"   &gt;DllImportAttribute&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:'Verdana','sans-serif';font-size:8;color:black;"   &gt; does not support marshaling of generic types. &lt;/span&gt;&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="line-height: 115%;font-size:13;" &gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-8085134233602531921?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8085134233602531921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8085134233602531921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8085134233602531921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8085134233602531921'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/10/to-display-message-box-in-aspnet.html' title='To display the message box in asp.net'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-3778125326170085666</id><published>2008-10-15T05:26:00.001-07:00</published><updated>2008-11-04T06:42:49.237-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2000'/><title type='text'>To get the row number in SQL2000.</title><content type='html'>&lt;div dir="ltr"&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt;SELECT *,&lt;strong&gt;(SELECT COUNT(*) FROM Mas_Company &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt;&lt;strong&gt;e2 WHERE e2.Company_Code &amp;lt;= e.Company_Code) AS 'rownumber'&lt;/strong&gt;, Mas_Company.*, Company_Code AS Expr1, Company_Name AS Expr2, Company_SName AS Expr3, Company_Add1 AS Expr4,&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt;Company_Add2 AS Expr5, Company_City AS Expr6, Company_Pincode AS Expr7, Company_ph_no AS Expr8, Company_Active_Flag AS Expr9&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt;FROM Mas_Company e&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-3778125326170085666?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/3778125326170085666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=3778125326170085666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/3778125326170085666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/3778125326170085666'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/10/to-get-row-number-in-sql2000.html' title='To get the row number in SQL2000.'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8717294290642528279</id><published>2008-09-15T04:23:00.001-07:00</published><updated>2008-11-04T06:43:14.510-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>To Avoid the session end showing up the yellow page</title><content type='html'>&lt;div dir="ltr"&gt;&lt;br /&gt;&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                if (Session["USER"] != null)&lt;br /&gt;                {&lt;br /&gt;                    _PKID = Convert.ToInt32(hshTableSession["UserPKID"]);&lt;br /&gt;                }&lt;br /&gt;                else { _PKID = 0; }&lt;br /&gt;            }&lt;br /&gt;            catch { Response.Redirect("LoginPage.aspx"); }&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/24657923-8717294290642528279?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8717294290642528279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8717294290642528279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8717294290642528279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8717294290642528279'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/09/to-avoid-session-end-showing-up-yellow.html' title='To Avoid the session end showing up the yellow page'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-5793746639257361243</id><published>2008-07-31T02:34:00.001-07:00</published><updated>2008-11-04T06:43:31.326-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Grid View CSS</title><content type='html'>&lt;div dir="ltr"&gt;The css for the grid view&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.grdFrame&lt;br /&gt;{&lt;br /&gt;    border-style:solid;&lt;br /&gt;    border-color:#BDCAD0;&lt;br /&gt;    border-width:1px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.grdHeaderStyle&lt;br /&gt;{&lt;br /&gt;    font-family:"Trebuchet MS";&lt;br /&gt;    font-size:9pt;&lt;br /&gt;    font-weight:bold;&lt;br /&gt;    color:#015aad;&lt;br /&gt;    text-decoration:none;   &lt;br /&gt;    background-color:#cfdfe9;&lt;br /&gt;    border-bottom-style:solid;&lt;br /&gt;    border-bottom-color:#BDCAD0;&lt;br /&gt;    border-bottom-width:1px;&lt;br /&gt;    height: 25px;&lt;br /&gt;    padding-left:5px;&lt;br /&gt;    text-align: left;   &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.grdRowStyle&lt;br /&gt;{&lt;br /&gt;    font-family:Helvetica;&lt;br /&gt;    font-size:9pt;&lt;br /&gt;    color:#191A1C;&lt;br /&gt;    font-weight:400;&lt;br /&gt;    display:block;&lt;br /&gt;    text-decoration:none;&lt;br /&gt;    background-color:#FFFFFF;   &lt;br /&gt;    border-bottom-style:solid;&lt;br /&gt;    border-bottom-color:#BDCAD0;&lt;br /&gt;    border-bottom-width:1px;&lt;br /&gt;    padding-left: 5px;&lt;br /&gt;    padding-right: 5px;&lt;br /&gt;    text-align:left;&lt;br /&gt;    height: 30px;&lt;br /&gt;    text-align:left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.grdAltRowStyle&lt;br /&gt;{&lt;br /&gt;    font-family:Helvetica;&lt;br /&gt;    font-size:9pt;&lt;br /&gt;    font-weight:400;&lt;br /&gt;    display:block;&lt;br /&gt;    color:#191A1C;&lt;br /&gt;    text-decoration:none;&lt;br /&gt;    background-color:#ebf4f7;   &lt;br /&gt;    border-bottom-style:solid;&lt;br /&gt;    border-bottom-color:#BDCAD0;&lt;br /&gt;    border-bottom-width:1px;&lt;br /&gt;    padding-left: 5px;&lt;br /&gt;    text-align:left;&lt;br /&gt;    height: 20px;&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/24657923-5793746639257361243?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/5793746639257361243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=5793746639257361243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5793746639257361243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5793746639257361243'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/07/grid-view-css.html' title='Grid View CSS'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-1442241727165586112</id><published>2008-07-29T03:16:00.001-07:00</published><updated>2008-11-04T06:43:46.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>A New search engine</title><content type='html'>&lt;div dir="ltr"&gt;A New search engine&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cuil.com/"&gt;http://www.cuil.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;claims that it's searching &lt;b&gt;121,617,892,992 &lt;/b&gt;web pages&lt;br /&gt;&lt;br /&gt;Sad end (Or Beginning) ?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.webpronews.com/topnews/2008/07/28/cuil-crashes-and-burns-at-launch"&gt;http://www.webpronews.com/topnews/2008/07/28/cuil-crashes-and-burns-at-launch&lt;/a&gt;&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/24657923-1442241727165586112?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/1442241727165586112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=1442241727165586112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/1442241727165586112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/1442241727165586112'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/07/new-search-engine.html' title='A New search engine'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-4466962920038413273</id><published>2008-07-28T03:37:00.001-07:00</published><updated>2008-11-04T06:44:00.928-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Google Counts More Than 1 Trillion Unique Web URLs</title><content type='html'>&lt;div dir="ltr"&gt;&lt;a href="http://www.cio.com/article/print/439495"&gt;http://www.cio.com/article/print/439495&lt;/a&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/24657923-4466962920038413273?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/4466962920038413273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=4466962920038413273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4466962920038413273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4466962920038413273'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/07/google-counts-more-than-1-trillion.html' title='Google Counts More Than 1 Trillion Unique Web URLs'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-5646971445906647410</id><published>2008-07-23T04:36:00.001-07:00</published><updated>2008-11-04T06:44:21.005-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>10 ASP.NET Performance and Scalability Secrets</title><content type='html'>&lt;div dir="ltr"&gt;&lt;a href="http://msmvps.com/blogs/omar/archive/2008/01/30/10-asp-net-performance-and-scalability-secrets.aspx"&gt;http://msmvps.com/blogs/omar/archive/2008/01/30/10-asp-net-performance-and-scalability-secrets.aspx&lt;/a&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/24657923-5646971445906647410?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/5646971445906647410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=5646971445906647410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5646971445906647410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/5646971445906647410'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/07/10-aspnet-performance-and-scalability.html' title='10 ASP.NET Performance and Scalability Secrets'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8116726558461975504</id><published>2008-04-30T00:06:00.001-07:00</published><updated>2008-11-04T06:44:42.868-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Fast, Streaming AJAX proxy - continuously download from cross domain</title><content type='html'>&lt;span id="intelliTXT"&gt;Due to browser's prohibition on cross domain XMLHTTP call, all AJAX websites must have server side proxy to fetch content from external domain like Flickr or Digg. From client side javascript code, an XMLHTTP call goes to the server side proxy hosted on the same domain and then the proxy downloads the content from the external server and sends back to the browser. In general, all AJAX websites on the Internet that are showing content from external domains are following this proxy approach except some rare ones who are using JSONP. Such a proxy gets a very large number of hits when a lot of component on the website are downloading content from external domains. So, it becomes a scalability issue when the proxy starts getting millions of hits. Moreover, web page's overall load performance largely depends on the performance of the proxy as it delivers content to the page. In this article, we will take a look how we can take a conventional AJAX Proxy and make it faster, asynchronous .....................for full article read &lt;a href="http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx"&gt;http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Author's address&lt;br /&gt;&lt;br /&gt;&lt;span id="intelliTXT"&gt;&lt;a href="http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx"&gt;http://msmvps.com/blogs/omar/archive/2008/04/14/fast-streaming-ajax-proxy-continuously-download-from-cross-domain.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Blogger's address&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.thirusystems.com/"&gt;http://www.thirusystems.com/&lt;/a&gt;&lt;br /&gt;&lt;span id="intelliTXT"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-8116726558461975504?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8116726558461975504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8116726558461975504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8116726558461975504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8116726558461975504'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/04/fast-streaming-ajax-proxy-continuously.html' title='Fast, Streaming AJAX proxy - continuously download from cross domain'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-1783664877959081075</id><published>2008-04-23T04:03:00.000-07:00</published><updated>2008-11-04T06:45:14.782-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>Serviced Component</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;A serviced component is the mechanism that enables COM+ services to be available to .NET Framework classes. This section describes how to configure and register serviced components for access to COM+ services.  &lt;p&gt;Just-in-Time (JIT) Activation, Synchronization, Object Pooling, Transactions, and Shared Property Management are examples of well-known COM+ services that are available for you to use. There are also other COM+ services, such as loosely coupled events, Queued Components, and role-based security that you can use to write flexible, Web-based applications.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Note&lt;/b&gt;   &lt;i style=""&gt;You can modify any Common Language Specification (CLS)–compliant class to use COM+ services. The &lt;a href="http://msdn2.microsoft.com/en-us/library/system.enterpriseservices%28VS.71%29.aspx" id="ctl00_rs1_mainContentContainer_ctl01"&gt;System.EnterpriseServices&lt;/a&gt; namespace provides custom attributes and classes for accessing these services from managed code.&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;i style=""&gt;Detailed Reading:&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwritingservicedcomponents.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwritingservicedcomponents.asp&lt;/a&gt;&lt;/p&gt;  &lt;br /&gt;Owners site : &lt;a href="http://www.thirusystems.com/"&gt;http://www.thirusystems.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Blog: &lt;a href="http://codecenter.blogspot.com/"&gt;http://codecenter.blogspot.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-1783664877959081075?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/1783664877959081075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=1783664877959081075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/1783664877959081075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/1783664877959081075'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/04/serviced-component-serviced-component.html' title='Serviced Component'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-4034843581030497492</id><published>2008-04-04T01:39:00.001-07:00</published><updated>2008-11-04T06:45:34.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Computer Hangs After 49.7 Days in Windows OS</title><content type='html'>&lt;div class="gmail_quote"&gt;&lt;div link="blue" vlink="purple" lang="EN-US"&gt;&lt;div&gt;&lt;p&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;Will Windows work continuously for more than 49.7 days?&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;Here is a bit of information, which may surprise you all&lt;/span&gt;&lt;span style="color:black;"&gt;. Windows &lt;/span&gt;&lt;span style=";font-size:14;color:black;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;crashes automatically if you don't switch off the machine for 49.7 Days&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;Microsoft accepts this. Do you know why?&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;In Windows the Virtual Machine Manager (here after referred as VMM) is &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;responsible for creation, execution, monitoring and termination of &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;virtual machines. This VMM, which is a 32 bit, protected mode operating &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;system entity, provides a number of system services at chip level. One &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;of these services is "Get_System_Time". This particular service loads &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;the EAX register with the time in milliseconds since Windows started on &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;that machine. This service is accurate to 1 ms. EAX is a 32 bit register &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;in Intel 386 Processor onwards.&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;So the maximum number of milliseconds it can hold is&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;(232)-1 = 4294967295 milliseconds = 4294967.295 seconds = 71582.79 &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;minutes = 1193 hours = 49.7 days.&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;So after 49.7 days the EAX resets to zero. Most of the Drivers use this &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;Time Service to keep track of the Timeout of various services they &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;provide. So after 49.7 days the drivers cannot use the Get_System_Time &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;function of VMM and they crash taking the OS along with.&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;Please check this knowledge base article 216641:&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);"&gt;&lt;a href="http://support.microsoft.com/kb/216641/EN-US/" target="_blank"&gt;http://support.microsoft.com/kb/216641/EN-US/&lt;/a&gt;&lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:14;" &gt;  &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:12;" &gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="color: rgb(49, 132, 155);font-size:10;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;"Kumar @ Vimal S" &amp;lt;&lt;a href="mailto:skumarstech@gmail.com"&gt;skumarstech@gmail.com&lt;/a&gt;&amp;gt;,&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-4034843581030497492?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/4034843581030497492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=4034843581030497492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4034843581030497492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/4034843581030497492'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/04/computer-hangs-after-497-days-in.html' title='Computer Hangs After 49.7 Days in Windows OS'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-7754086181323513453</id><published>2008-03-26T23:17:00.001-07:00</published><updated>2008-11-04T06:45:52.554-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Resigtry'/><title type='text'>How to Fix Double Click Always Opens Search in Windows Explorer</title><content type='html'>&lt;div class="gmail_quote"&gt;If you mess around in the registry, or install some different software packages that add things to the right-click menu, you can end up with a problem where the default action on a folder is always "Search…", even though you set it to something else. &lt;p&gt;There's a quick and easy fix for this problem. Open up regedit.exe by using Start\Run and then browse down to this registry key:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;HKEY_CLASSES_ROOT\Directory\shell&lt;/p&gt; &lt;/blockquote&gt; &lt;p&gt;Double-click on the default value and set it to "none" without the quotes, as seen here:&lt;/p&gt; &lt;p&gt;&lt;img src="http://www.howtogeek.com/wp-content/uploads/2006/11/WindowsLiveWriter/HowtoFixDoubleClickAlwaysOpensSearchinWi_B6ED/regfolder.png" width="430" height="94" /&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;This will restore the normal behavior.&lt;/p&gt; &lt;p&gt;Update&lt;/p&gt; &lt;p&gt;If you are also experiencing this problem when you try to click on a drive, you can run this command from the run box or command prompt:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;regsvr32 /i shell32.dll&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;This should restore the normal behavior.&lt;/p&gt; &lt;p&gt;If you are getting a message that says "Windows cannot find 'PET32.exe'", then at some point you had a virus, or still have a virus. First, make sure that you run a virus scanner to get rid of the virus. Then run the regsvr32 command above, which should fix the problem.&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.thirusystems.com/"&gt;http://www.thirusystems.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://codecenter.blogspot.com/"&gt;http://codecenter.blogspot.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-7754086181323513453?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/7754086181323513453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=7754086181323513453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/7754086181323513453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/7754086181323513453'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/03/how-to-fix-double-click-always-opens.html' title='How to Fix Double Click Always Opens Search in Windows Explorer'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8607484416065767808</id><published>2008-03-04T06:29:00.000-08:00</published><updated>2008-11-04T06:46:11.267-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>.NET Framework 3.0</title><content type='html'>&lt;a href="http://en.wikipedia.org/wiki/.net_framework"&gt;.NET Framework 3.0 new features&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.NET Framework 3.0, formerly called WinFX, includes a new set of managed code APIs that are an integral part of Windows Vista and Windows Server 2008 operating systems. It is also available for Windows XP SP2 and Windows Server 2003 as a download. There are no major architectural changes included with this release; .NET Framework 3.0 uses the Common Language Runtime of .NET Framework 2.0.[13] Unlike the previous major .NET releases, there was no .NET Compact Framework release made as a counterpart of this version.&lt;br /&gt;&lt;br /&gt;.NET Framework 3.0 consists of four major new components:&lt;br /&gt;&lt;br /&gt;   * &lt;span style="font-weight: bold;"&gt;Windows Presentation Foundation (WPF)&lt;/span&gt;, formerly code-named Avalon; a new user interface subsystem and API based on XML and vector graphics, which uses 3D computer graphics hardware and Direct3D technologies. See WPF SDK for developer articles and documentation on WPF.&lt;br /&gt;   *&lt;span style="font-weight: bold;"&gt; Windows Communication Foundation (WCF)&lt;/span&gt;, formerly code-named Indigo; a service-oriented messaging system which allows programs to interoperate locally or remotely similar to web services.&lt;br /&gt;   * Windows Workflow Foundation (WF) allows for building of task automation and integrated transactions using workflows.&lt;br /&gt;   * Windows CardSpace, formerly code-named InfoCard; a software component which securely stores a person's digital identities and provides a unified interface for choosing the identity for a particular transaction, such as logging in to a website.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Windows Presentation Foundation (WPF)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://http//en.wikipedia.org/wiki/Windows_Presentation_Foundation"&gt;http://en.wikipedia.org/wiki/Windows_Presentation_Foundation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; Windows Communication Foundation (WCF)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Windows_Communication_Foundation"&gt;http://en.wikipedia.org/wiki/Windows_Communication_Foundation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="font-weight: bold;"&gt;Windows Workflow Foundation (WF)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Windows_Workflow_Foundation"&gt;http://en.wikipedia.org/wiki/Windows_Workflow_Foundation&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;Windows CardSpace&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Windows_CardSpace"&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/Windows_CardSpace&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-8607484416065767808?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8607484416065767808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8607484416065767808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8607484416065767808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8607484416065767808'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/03/net-framework-30.html' title='.NET Framework 3.0'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-8254182520362015902</id><published>2008-02-26T21:43:00.000-08:00</published><updated>2008-11-04T06:46:33.553-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>New features of Visual Studio 2008</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style=";font-family:Calibri;font-size:18;"  &gt;New features of Visual Studio 2008&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The following are important new features that are part of new Visual Studio 2008.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Settings Migration:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;If you have Visual Studio 2005 and Visual Studio 2008 installed on the same computer, then when you first start Visual Studio 2008, you can migrate most of your settings from Visual Studio 2005.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Community and Help Menus:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The Community menu has been removed for Visual Studio 2008. The commands formerly known as Ask a Question and Check Question Status have been combined into a new command named MSDN Forums, which is on the Help menu.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;General User Elements:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Several user interface (UI) elements have been updated. These include the following:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;IDE Navigator: An improved interface makes      switching between items easier.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Common dialog boxes: Visual Studio 2008 uses      Windows standard dialog boxes instead of custom dialog boxes. This makes      the navigation experience more consistent with that of Windows.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;You can now specify a custom font for IDE      elements not identified individually in the Show settings for list in the      Fonts and Colors, Environment, Options Dialog Box by using the new option      Environment Font.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Web Application Projects:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The new Web application project model provides the same Web project semantics as the Visual Studio .NET 2003 Web project model. This includes a structure based on project files and a build model based on compiling all the code for a project into a single assembly. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Other changes:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;FrontPage Server Extensions are no longer required.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Internet Information Services is no longer mandatory. Support for both IIS and the built-in ASP.NET Development Server is included.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;AJAX Development:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The AJAX server-based and client-based programming models are supported by the following:&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Server controls that support server-based AJAX      development. This includes the ScriptManager, UpdatePanel, UpdateProgress,      and Timer controls. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;The Microsoft AJAX Library, which supports      client-based, object-oriented development. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Server classes that enable you to develop      server controls that map to custom client components whose events and      properties are set declaratively. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Support for script globalization and      localization. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Support for Windows Presentation Foundation (WPF) Applications:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Windows Presentation Foundation (WPF) applications have been added to Visual Studio 2008. There are four WPF project types:&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;WPF Application (.xaml, .exe)&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;WPF Browser Application (.exe, .xbap)&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;WPF Custom Control Library (.dll)&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;WPF User Control Library (.dll)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Support for Web Application Projects:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Web Application projects were included in Visual Studio 2008. The new Web Application project model provides the same Web Application project semantics as the Visual Studio .NET 2003 Web project model.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Multitargeting Support:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Multitargeting lets you target code to a specific .NET Framework version:&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;.NET Framework 2.0, which was included with      Visual Studio 2005.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;.NET Framework 3.0, which is included with      Windows Vista.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;.NET Framework 3.5, which is included with      Visual Studio 2008.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Enhanced ClickOnce Deployment:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;ClickOnce deployment has the following new features:&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;ClickOnce supports the deployment of WPF Web      Browser Applications. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;ClickOnce gives ISVs the option to re-sign the      application manifest with their customer's company name, application name,      and deployment/support URL. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;You can build and deploy Visual Studio Tools      for Office applications by using the Project Designer's Publish page or      the Publish Wizard.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;ClickOnce supports manifest generation under      User Access Control (UAC) on Windows Vista.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Updated Windows Installer Deployment:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Windows Installer deployment has been updated for:&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Installation on Windows Vista is smooth.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Supports applications which are targeting new      .NET Framework 3.0 and 3.5 versions.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;CSS Design Tools:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Working with cascading style sheets (CSS) is enhanced in Visual Studio 2008 and easier than ever. Much of the work designing the layout and styling content can be done in Design view using the CSS Properties grid, the Apply Styles and Manage Styles panes, and the Direct Style Application tool. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Improved IntelliSense:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;IntelliSense has been improved and now supports JScript authoring and ASP.NET AJAX scripting. Client script that is included in a Web page by using &lt;script&gt;&lt;/script&gt; tags now has the benefit of IntelliSense, as do .js script files.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Integrated WPF Designer:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The WPF Designer combines real-time editing of XAML with an enhanced graphical design-time experience. The following features are new for the WPF Designer:&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;SplitView lets you adjust objects in the      graphical designer and immediately view the changes to the underlying XAML      code. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;The Document Outline window lets you view and      move through your XAML with full selection synchronization between the      designer, the document outline, the XAML editor, and the Properties      window.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;IntelliSense in the XAML editor enables rapid      code entry. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Grid lines can be added to grids in the      designer to enable easy grid-based control placement. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Snap lines let you easily align controls and      text.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Design-time extensibility supports design mode      and property editors.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Data:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;The Object Relational Designer provided for      creating and editing the LINQ to SQL objects that map between an      application and a database. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;N-Tier support for typed datasets provides      enhancements to the Dataset Designer that assist in separating      TableAdapter code and typed dataset code into discrete projects. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Hierarchical update capabilities have been      incorporated into the Dataset Designer to enable saving data in multiple      related tables. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Local database caching incorporates a SQL      Server Compact 3.5 database and Microsoft Synchronization Services for      ADO.NET into an application and prepares the application to periodically      synchronize the data with a remote database on a server. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family:Calibri;"&gt;Microsoft SQL Server Compact 3.5 is a compact      database that can be deployed on desktop computers, smart devices, and      Tablet PCs. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Language-Integrated Query (LINQ):&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Language-Integrated Query (LINQ) is a new set of features in Visual Studio 2008 that extend powerful query capabilities into the language syntax of C# and Visual Basic. Visual Studio 2008 includes LINQ provider assemblies that enable language-integrated querying of .NET Framework collections (LINQ to Objects), SQL Databases (LINQ to SQL), ADO.NET Datasets (LINQ to ADO.NET), and XML documents (LINQ to XML).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Client Application Services:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Client application services are new in the .NET Framework 3.5 and enable Windows-based applications to easily access the ASP.NET login, roles, and profile services. These services let you authenticate users and retrieve user roles and application settings from a shared server. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;New Report Projects:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Visual Studio 2008 includes two new project templates for creating reporting applications. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Report Wizard:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Visual Studio 2008 introduces a Report Wizard, which guides you through the steps to create a basic report. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Expression Editor Enhancement:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The Expression Editor now provides sample expressions that you can use in report expressions. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;ReportViewer Printing:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The RSClientPrint control is now available when the ASP.NET ReportViewer control is configured for local processing. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;PDF Compression:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The ReportViewer controls will now compress reports that are rendered or exported to the PDF format when they are configured for local processing.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Multiple Processor Capabilities:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;MSBuild now recognizes when a system is using multiple processors, either multicore processors or multiple separate processors. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Enhanced Logging:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Build event logging has been upgraded to handle multi-processor builds. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Technical References:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;a href="http://msdn.microsoft.com/"&gt;http://msdn.microsoft.com&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-8254182520362015902?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/8254182520362015902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=8254182520362015902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8254182520362015902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/8254182520362015902'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/02/new-features-of-visual-studio-2008.html' title='New features of Visual Studio 2008'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-3844836425903816530</id><published>2008-02-22T00:45:00.000-08:00</published><updated>2008-11-04T06:46:59.496-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008'/><title type='text'>New features in SQL Server 2008</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style=";font-family:Calibri;font-size:18;"  &gt;New features in SQL Server 2008&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;In SQL Server 2008, improvements are made to core database engine, Analysis Services, Integration Services, Replication, Reporting Services and Service broker. These features are based on the October, 2007 CTP; the final product may have variations to these features. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style=";font-family:Calibri;font-size:16;"  &gt;Database Engine Improvements&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Backup Compression:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;This is introduced in &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Enterprise&lt;/st1:place&gt;&lt;/st1:city&gt; or above editions. Now sql server supports compressing backups.  Compressed backup can be restored to any edition of sql server 2008.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Configuration Servers:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;This is a new method of administering multiple servers.  An instance of sql server is designated as a configuration server to maintain list of registered servers. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Change Tracking:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server now allows applications to obtain incremental changes to user tables by tracking changes, which enables developing synchronization applications is easier and faster.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;FILESTREAM storage:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;FILESTREAM in SQL Server 2008 enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system.  FILESTREAM integrates the SQL Server Database Engine with an NTFS file system by storing varbinary(max) binary large object (BLOB) data as files on the file system. Transact-SQL statements can insert, update, query, search, and back up FILESTREAM data.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Hot Add CPU:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server 2008 supports dynamically adding CPUs to a running system. Adding CPUs can occur physically by adding new hardware, logically by online hardware partitioning, or virtually through a virtualization layer.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Plan Guide Enhancements:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The sp_create_plan_guide stored procedure has been extended to accept XML Showplan output directly in the @hints parameter instead of embedding the output in the USE PLAN hint. This simplifies the process of applying a fixed query plan as a plan guide hint.  You can create multiple OBJECT or SQL plan guides for the same query and batch or module. However, only one of these plan guides can be enabled at any given time.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Query Processing on Partitioned Objects:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server 2008 improves query processing performance on partitioned tables for many parallel plans, changes the way parallel and serial plans are represented, and enhances the partitioning information provided in both compile-time and run-time execution plans.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Partition Switching on Partitioned Tables and Indexes:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Partitioning data enables you to manage and access subsets of your data quickly and efficiently while maintaining the integrity of the entire data collection. Now you can use partition switching to quickly and efficiently transfer subsets of your data by switching a partition from one table to another.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Resource Governor:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Resource Governor is a feature that you can use to manage SQL Server workload and system resource consumption. Resource Governor enables you to limit the amount of CPU and memory that incoming application requests can use.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Extensible Key Management:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The Extensible Key Management (EKM) feature in the &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Enterprise&lt;/st1:place&gt;&lt;/st1:city&gt;, Developer, and Evaluation Editions of SQL Server 2008 allows third-party enterprise key management and hardware security module (HSM) vendors to register their devices in SQL Server.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Transparent Data Encryption:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Transparent Data Encryption introduces a new database option that encrypts the database files automatically, without needing to alter any applications.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Server Administration:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server 2008 introduces Declarative Management, a new policy-based management framework for the SQL Server Database Engine.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Spatial Data Storage, Methods and Indexing:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Spatial data represents information about the physical location and shape of geometric objects. These objects can be point locations or more complex objects such as countries, roads, or lakes.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server Management Studio Enhancements:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Transact-SQL Query Editor IntelliSense:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The Transact-SQL Editor now provides IntelliSense functionality such as word completion and error underlining. IntelliSense is provided for frequently used Transact-SQL elements.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Transact-SQL Error List Window:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server Management Studio includes an Error List window that displays the syntax and semantic errors generated from the IntelliSense code in the Transact-SQL Query Editor.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Tools Enhancements:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server Management Studio has the following improvements:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;In the Query Editor window, you can query multiple servers at the same time by opening query windows from registered server groups. The query results can be combined into a single results pane, or can be returned in separate results panes. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;You can access SQL Server Profiler from the Query Editor window, from the Query menu, the Query Editor toolbar, or by pressing CTRL+ALT+P.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;You can now open tables by using a Return Top n rows option.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;On the Tools/Option menu, you can specify the action that results by double-clicking tables in Object Explorer.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Transact-SQL Enhancements:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Lock Escalation Option - A new LOCK_ESCALATION option of ALTER TABLE allows you to disable lock escalation on a table.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Query Hints - Table hints can now be specified as query hints to provide advanced query performance tuning options.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;hierarchyid Data Type - SQL Server 2008 introduces a new system-provided data type to encapsulate hierarchical relationships.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;MERGE Statement - This new Transact-SQL statement performs INSERT, UPDATE, or DELETE operations on a target table based on the results of a join with a source table. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Table-Valued Parameters - The Database Engine introduces a new parameter type that can reference user-defined table types. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;User-Defined Table Type - The Database Engine introduces a new user-defined table type that supports representing table structures for use as parameters in stored procedures and functions, or in a batch or the body of a stored procedure or function. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Compatibility Level - ALTER DATABASE SET COMPATIBILITY_LEVEL replaces sp_dbcmptlevel for setting the database compatibility level. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;GROUPING SETS - The GROUPING SETS, ROLLUP, and CUBE operators are added to the GROUP BY clause. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Table Hints - The FORCESEEK table hint is added to provide advanced query performance tuning options. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Transact-SQL Row Constructors - Transact-SQL is enhanced to allow multiple value inserts within a single INSERT statement.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Data Collector:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server 2008 introduces a data collector that you can use to obtain and save data that is gathered from several sources.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Database Mirroring:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Log Performance Enhancements:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;Compression of stream data for which at least a 12.5 percent compression ratio can be achieved.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;Write-ahead on the incoming log stream on the mirror server.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt; Improved use of log send buffers.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;®&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;Page read-ahead during the undo phase.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Automatic Recovery from Corrupted Pages&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Calibri;"&gt;: &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;A database mirroring partner running on SQL Server 2008 or later versions automatically tries to resolve certain types of errors that prevent reading a data page.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;SQL Dependency Reporting Enhancements:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server 2008 introduces a new catalog view and system functions to provide consistent and reliable SQL dependency reporting.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server Extended Events:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;SQL Server 2008 introduces SQL Server Extended Events, an event infrastructure for server systems.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Change Data Capture:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;Change data capture is designed to capture insert, update, and delete activity applied to SQL Server tables, and to make the details of the changes available in an easily consumed relational format.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Optimized Bitmap Filtering:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The query optimizer can place bitmap filters dynamically in parallel query plans to improve the performance of queries against a star schema.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;Dynamic Management Views:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;There are five new dynamic management views to present memory information.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;u1:p&gt;&lt;span style="font-family:Calibri;"&gt; &lt;/span&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:Calibri;"&gt;DDL Triggers and Event Notifications:&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;u1:p&gt;&lt;/u1:p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Calibri;"&gt;The class of events on which you can create DDL triggers and event notifications is expanded to include numerous stored procedures that perform DDL-like operations.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;For more info visit:&lt;/p&gt;&lt;p class="MsoNormal"&gt;http://www.microsoft.com/sql/2008/default.mspx&lt;/p&gt;&lt;p class="MsoNormal"&gt;http://geekswithblogs.net/Sreeblog/articles/117576.aspx&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-3844836425903816530?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/3844836425903816530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=3844836425903816530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/3844836425903816530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/3844836425903816530'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2008/02/new-features-in-sql-server-2008.html' title='New features in SQL Server 2008'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-116115504166498002</id><published>2006-10-18T00:03:00.000-07:00</published><updated>2008-11-04T06:47:24.294-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Top 10 Reasons to Switch from Java to Visual C#</title><content type='html'>Top 10 Reasons to Switch from Java to Visual C#&lt;br /&gt;By Will Wagers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"Prepare to be assimilated.... Resistance is futile."&lt;br /&gt;- Borg, "Q, Who?", Startrek: The Next Generation&lt;br /&gt;&lt;br /&gt;Why should a Java developer switch to C#? Here are the major reasons in alphabetical order:&lt;br /&gt;&lt;br /&gt;1. "C Style" memory access&lt;br /&gt;Rather than forcing developers to write code to access application programming interfaces (APIs) in other languages in order to access specific memory locations ( e.g. hardware-mapped memory), C# allows developers to use "C style" memory management and pointers when necessary. Of course, one of the major design goals of the Java language and other object-oriented languages is specifically to outlaw such access. A fact which Microsoft acknowledges by forcing the C# programmer to label such accesses with the unsafe keyword.&lt;br /&gt;&lt;br /&gt;2. Extensions for component-oriented development&lt;br /&gt;Visual C# provides developers with a powerful component-oriented development language that includes support for properties, indexers, delegates, inheritance, versioning, and attributes, without the need for esoteric or rigid naming patterns and companion classes.&lt;br /&gt;&lt;br /&gt;3. Familiarity&lt;br /&gt;Java developers will immediately find Visual C# to be familiar and comfortable. C# is like Java on steroids. There are some extra keywords; and, Visual C# supports some extra constructs. But, a Java coder can learn the C# language in a day or two. Learning the APIs is a different matter.&lt;br /&gt;&lt;br /&gt;4. Interactive XML Web services&lt;br /&gt;Visual C# allows developers to deploy and consume rich, interactive XML Web services that reduce development time by enabling software aggregation from any platform. Microsoft is famous for hiding the details from the developer: This is both good and bad. New developers may not actually know or understand what is going on under the hood. On the other hand, it does increase productivity. Of course, Java developers have a variety of IDEs such as Eclipse to choose from. All of which provide some degree of support for Web services.&lt;br /&gt;&lt;br /&gt;5. Leverage the .NET Framework&lt;br /&gt;Visual C# provides developers with access to the Microsoft .NET Framework--a robust, thread-safe library of collection classes, data access classes, networking functions, etc. Recently, however, various bridge software offer .NET access from Java programs as well as access to the rich Java libraries from .NET languages.&lt;br /&gt;&lt;br /&gt;6. Object-based type system&lt;br /&gt;Visual C# provides developers an object-based type system that eliminates the need for complex, verbose data marshalling code commonly required by Java applications.&lt;br /&gt;&lt;br /&gt;7. Standards-based language&lt;br /&gt;Visual C# provides developers with a standards-based language (ECMA) with all its advantages. This is a significant advantage over the Java language.&lt;br /&gt;&lt;br /&gt;8. Target any device&lt;br /&gt;Visual C# lets developers target desktop computers or a variety of handheld and wireless devices using identical tools and skills. True, but all the devices must be Windows based.&lt;br /&gt;&lt;br /&gt;9. Visual Studio .NET IDE&lt;br /&gt;Visual C# provides developers with the Visual Studio .NET integrated development environment (IDE) which includes support for task lists, property editors, Microsoft IntelliSense®, Forms designers, etc. For development on Windows platform, Visual Studio is king. However, Visual Studio lags Eclipse and other IDEs except in Microsoft-specific features.&lt;br /&gt;&lt;br /&gt;10. XML comments&lt;br /&gt;Visual C# allows developers to use eXtensible Markup Language (XML) Comments to provide useful and customizable source code documentation. Of course, so does Java although Microsoft does add its own twists to it.&lt;br /&gt;&lt;br /&gt;Conclusion&lt;br /&gt;A form of this top 10 list originated with Microsoft. But, because both Java software and Visual C# evolve competitively, non-Microsoft oriented features tend to be matched by each competitor in turn. There is no real reason to use Visual C# instead of Java in general; because, each has its own advantages and disadvantages which may or may not be important in specific situations. Unless you work in a Microsoft-only shop, the requirements of the project should dictate both the language and other software employed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-116115504166498002?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/116115504166498002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=116115504166498002' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/116115504166498002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/116115504166498002'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/10/top-10-reasons-to-switch-from-java-to.html' title='Top 10 Reasons to Switch from Java to Visual C#'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-116115328750330272</id><published>2006-10-17T23:31:00.000-07:00</published><updated>2008-11-04T06:47:57.181-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Interview Questions</title><content type='html'>&lt;strong&gt;C# Interview Questions&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;General Questions&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Does C# support multiple-inheritance?&lt;br /&gt;No.&lt;br /&gt;&lt;br /&gt;Who is a protected class-level variable available to?&lt;br /&gt;It is available to any sub-class (a class inheriting this class).&lt;br /&gt;&lt;br /&gt;Are private class-level variables inherited?&lt;br /&gt;Yes, but they are not accessible.  Although they are not visible or accessible via the class interface, they are inherited. &lt;br /&gt;&lt;br /&gt;Describe the accessibility modifier "protected internal".&lt;br /&gt;It is available to classes that are within the same assembly and derived from the specified base class.&lt;br /&gt;&lt;br /&gt;What's the top .NET class that everything is derived from?&lt;br /&gt;System.Object.&lt;br /&gt;&lt;br /&gt;What does the term immutable mean?&lt;br /&gt;The data value may not be changed.  Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory. &lt;br /&gt;&lt;br /&gt;What's the difference between System.String and System.Text.StringBuilder classes?&lt;br /&gt;System.String is immutable.  System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. &lt;br /&gt;&lt;br /&gt;What's the advantage of using System.Text.StringBuilder over System.String?&lt;br /&gt;StringBuilder is more efficient in cases where there is a large amount of string manipulation.  Strings are immutable, so each time a string is changed, a new instance in memory is created.&lt;br /&gt;&lt;br /&gt;Can you store multiple data types in System.Array?&lt;br /&gt;No.&lt;br /&gt;&lt;br /&gt;What's the difference between the System.Array.CopyTo() and System.Array.Clone()?&lt;br /&gt;The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array.  The CopyTo() method copies the elements into another existing array.  Both perform a shallow copy.  A shallow copy means the contents (each array element) contains references to the same object as the elements in the original array.  A deep copy (which neither of these methods performs) would create a new instance of each element's object, resulting in a different, yet identacle object.&lt;br /&gt;&lt;br /&gt;How can you sort the elements of the array in descending order?&lt;br /&gt;By calling Sort() and then Reverse() methods.&lt;br /&gt;&lt;br /&gt;What's the .NET collection class that allows an element to be accessed using a unique key?&lt;br /&gt;HashTable.&lt;br /&gt;&lt;br /&gt;What class is underneath the SortedList class?&lt;br /&gt;A sorted HashTable.&lt;br /&gt;&lt;br /&gt;Will the finally block get executed if an exception has not occurred?­&lt;br /&gt;Yes.&lt;br /&gt;&lt;br /&gt;What's the C# syntax to catch any possible exception?&lt;br /&gt;A catch block that catches the exception of type System.Exception.  You can also omit the parameter data type in this case and just write catch {}. &lt;br /&gt;&lt;br /&gt;Can multiple catch blocks be executed for a single try statement?&lt;br /&gt;No.  Once the proper catch block processed, control is transferred to the finally block (if there are any).&lt;br /&gt;&lt;br /&gt;Explain the three services model commonly know as a three-tier application.&lt;br /&gt;Presentation (UI), Business (logic and underlying code) and Data (from storage or other sources).&lt;br /&gt;&lt;br /&gt;Class Questions&lt;br /&gt;&lt;br /&gt;What is the syntax to inherit from a class in C#?&lt;br /&gt;Place a colon and then the name of the base class.&lt;br /&gt;Example: class MyNewClass : MyBaseClass&lt;br /&gt;&lt;br /&gt;Can you prevent your class from being inherited by another class?&lt;br /&gt;Yes.  The keyword "sealed" will prevent the class from being inherited.&lt;br /&gt;&lt;br /&gt;Can you allow a class to be inherited, but prevent the method from being over-ridden?&lt;br /&gt;Yes.  Just leave the class public and make the method sealed.&lt;br /&gt;&lt;br /&gt;What's an abstract class?&lt;br /&gt;A class that cannot be instantiated.  An abstract class is a class that must be inherited and have the methods overridden.  An abstract class is essentially a blueprint for a class without any implementation. &lt;br /&gt;&lt;br /&gt;When do you absolutely have to declare a class as abstract?&lt;br /&gt;1. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden.&lt;br /&gt;2.   When at least one of the methods in the class is abstract.&lt;br /&gt;&lt;br /&gt;What is an interface class?&lt;br /&gt;Interfaces, like classes, define a set of properties, methods, and events. But unlike classes, interfaces do not provide implementation. They are implemented by classes, and defined as separate entities from classes. &lt;br /&gt;&lt;br /&gt;Why can't you specify the accessibility modifier for methods inside the interface?&lt;br /&gt;They all must be public, and are therefore public by default.&lt;br /&gt;&lt;br /&gt;Can you inherit multiple interfaces?&lt;br /&gt;Yes.  .NET does support multiple interfaces.&lt;br /&gt;&lt;br /&gt;What happens if you inherit multiple interfaces and they have conflicting method names?&lt;br /&gt;It's up to you to implement the method inside your own class, so implementation is left entirely up to you. This might cause a problem on a higher-level scale if similarly named methods from different interfaces expect different data, but as far as compiler cares you're okay.&lt;br /&gt;To Do: Investigate&lt;br /&gt;&lt;br /&gt;What's the difference between an interface and abstract class?&lt;br /&gt;In an interface class, all methods are abstract - there is no implementation.  In an abstract class some methods can be concrete.  In an interface class, no accessibility modifiers are allowed.  An abstract class may have accessibility modifiers.&lt;br /&gt;&lt;br /&gt;What is the difference between a Struct and a Class?&lt;br /&gt;Structs are value-type variables and are thus saved on the stack, additional overhead but faster retrieval.  Another difference is that structs  cannot inherit.&lt;br /&gt;&lt;br /&gt;Method and Property Questions&lt;br /&gt;&lt;br /&gt;What's the implicit name of the parameter that gets passed into the set method/property of a class?&lt;br /&gt;Value.  The data type of the value parameter is defined by whatever data type the property is declared as. &lt;br /&gt;&lt;br /&gt;What does the keyword "virtual" declare for a method or property?&lt;br /&gt;The method or property can be overridden.&lt;br /&gt;&lt;br /&gt;How is method overriding different from method overloading?&lt;br /&gt;When overriding a method, you change the behavior of the method for the derived class.  Overloading a method simply involves having another method with the same name within the class. &lt;br /&gt;&lt;br /&gt;Can you declare an override method to be static if the original method is not static?&lt;br /&gt;No.  The signature of the virtual method must remain the same.  (Note: Only the keyword virtual is changed to keyword override) &lt;br /&gt;&lt;br /&gt;What are the different ways a method can be overloaded?&lt;br /&gt;Different parameter data types, different number of parameters, different order of parameters.&lt;br /&gt;&lt;br /&gt;If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?&lt;br /&gt;Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.&lt;br /&gt;&lt;br /&gt;Events and Delegates&lt;br /&gt;&lt;br /&gt;What's a delegate?&lt;br /&gt;A delegate object encapsulates a reference to a method.&lt;br /&gt;&lt;br /&gt;What's a multicast delegate?&lt;br /&gt;A delegate that has multiple handlers assigned to it.  Each assigned handler (method) is called.&lt;br /&gt;&lt;br /&gt;XML Documentation Questions&lt;br /&gt;&lt;br /&gt;Is XML case-sensitive?&lt;br /&gt;Yes.&lt;br /&gt;&lt;br /&gt;What's the difference between // comments, /* */ comments and /// comments?&lt;br /&gt;Single-line comments, multi-line comments, and XML documentation comments.&lt;br /&gt;&lt;br /&gt;How do you generate documentation from the C# file commented properly with a command-line compiler?&lt;br /&gt;Compile it with the /doc switch.&lt;br /&gt;&lt;br /&gt;Debugging and Testing Questions&lt;br /&gt;&lt;br /&gt;What debugging tools come with the .NET SDK?&lt;br /&gt;1.   CorDBG – command-line debugger.  To use CorDbg, you must compile the original C# file using the /debug switch.&lt;br /&gt;2.   DbgCLR – graphic debugger.  Visual Studio .NET uses the DbgCLR.&lt;br /&gt;&lt;br /&gt;What does assert() method do?&lt;br /&gt;In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false.  The program proceeds without any interruption if the condition is true.&lt;br /&gt;&lt;br /&gt;What's the difference between the Debug class and Trace class?&lt;br /&gt;Documentation looks the same.  Use Debug class for debug builds, use Trace class for both debug and release builds. &lt;br /&gt;&lt;br /&gt;Why are there five tracing levels in System.Diagnostics.TraceSwitcher?&lt;br /&gt;The tracing dumps can be quite verbose.  For applications that are constantly running you run the risk of overloading the machine and the hard drive.  Five levels range from None to Verbose, allowing you to fine-tune the tracing activities.&lt;br /&gt;&lt;br /&gt;Where is the output of TextWriterTraceListener redirected?&lt;br /&gt;To the Console or a text file depending on the parameter passed to the constructor.&lt;br /&gt;&lt;br /&gt;How do you debug an ASP.NET Web application?&lt;br /&gt;Attach the aspnet_wp.exe process to the DbgClr debugger.&lt;br /&gt;&lt;br /&gt;What are three test cases you should go through in unit testing?&lt;br /&gt;1.       Positive test cases (correct data, correct output).&lt;br /&gt;2.       Negative test cases (broken or missing data, proper handling).&lt;br /&gt;3.       Exception test cases (exceptions are thrown and caught properly). &lt;br /&gt;&lt;br /&gt;Can you change the value of a variable while debugging a C# application?&lt;br /&gt;Yes.  If you are debugging via Visual Studio.NET, just go to Immediate window. &lt;br /&gt;&lt;br /&gt;ADO.NET and Database Questions&lt;br /&gt;&lt;br /&gt;What is the role of the DataReader class in ADO.NET connections?&lt;br /&gt;It returns a read-only, forward-only rowset from the data source.  A DataReader provides fast access when a forward-only sequential read is needed. &lt;br /&gt;&lt;br /&gt;What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?&lt;br /&gt;SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix.  OLE-DB.NET is a .NET layer on top of the OLE layer, so it's not as fastest and efficient as SqlServer.NET.&lt;br /&gt;&lt;br /&gt;What is the wildcard character in SQL?&lt;br /&gt;Let's say you want to query database with LIKE for all employees whose name starts with La. The wildcard character is %, the proper query with LIKE would involve 'La%'. &lt;br /&gt;&lt;br /&gt;Explain ACID rule of thumb for transactions.&lt;br /&gt;A transaction must be:&lt;br /&gt;1.       Atomic - it is one unit of work and does not dependent on previous and following transactions.&lt;br /&gt;2.       Consistent - data is either committed or roll back, no "in-between" case where something has been updated and something hasn't.&lt;br /&gt;3.        Isolated - no transaction sees the intermediate results of the current transaction).&lt;br /&gt;4.       Durable - the values persist if the data had been committed even if the system crashes right after. &lt;br /&gt;&lt;br /&gt;What connections does Microsoft SQL Server support?&lt;br /&gt;Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and password). &lt;br /&gt;&lt;br /&gt;Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?&lt;br /&gt;Windows Authentication is trusted because the username and password are checked with the Active Directory, the SQL Server authentication is untrusted, since SQL Server is the only verifier participating in the transaction. &lt;br /&gt;&lt;br /&gt;What does the Initial Catalog parameter define in the connection string?&lt;br /&gt;The database name to connect to.&lt;br /&gt; &lt;br /&gt;What does the Dispose method do with the connection object?&lt;br /&gt;Deletes it from the memory.&lt;br /&gt;To Do: answer better.   The current answer is not entirely correct.&lt;br /&gt;&lt;br /&gt;What is a pre-requisite for connection pooling?&lt;br /&gt;Multiple processes must agree that they will share the same connection, where every parameter is the same, including the security settings.   The connection string must be identical.&lt;br /&gt;&lt;br /&gt;Assembly Questions&lt;br /&gt;&lt;br /&gt;How is the DLL Hell problem solved in .NET?&lt;br /&gt;Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly. &lt;br /&gt;&lt;br /&gt;What are the ways to deploy an assembly?&lt;br /&gt;An MSI installer, a CAB archive, and XCOPY command.&lt;br /&gt;&lt;br /&gt;What is a satellite assembly?&lt;br /&gt;When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies. &lt;br /&gt;&lt;br /&gt;What namespaces are necessary to create a localized application?&lt;br /&gt;System.Globalization and System.Resources.&lt;br /&gt;&lt;br /&gt;What is the smallest unit of execution in .NET?&lt;br /&gt;an Assembly.&lt;br /&gt;&lt;br /&gt;When should you call the garbage collector in .NET?&lt;br /&gt;As a good rule, you should not call the garbage collector.  However, you could call the garbage collector when you are done using a large object (or set of objects) to force the garbage collector to dispose of those very large objects from memory.  However, this is usually not a good practice.&lt;br /&gt;&lt;br /&gt;How do you convert a value-type to a reference-type?&lt;br /&gt;Use Boxing.&lt;br /&gt;&lt;br /&gt;What happens in memory when you Box and Unbox a value-type?&lt;br /&gt;Boxing converts a value-type to a reference-type, thus storing the object on the heap.  Unboxing converts a reference-type to a value-type, thus storing the value on the stack.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-116115328750330272?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/116115328750330272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=116115328750330272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/116115328750330272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/116115328750330272'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/10/c-interview-questions.html' title='C# Interview Questions'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115829985783417180</id><published>2006-09-14T22:56:00.000-07:00</published><updated>2008-11-04T06:48:29.961-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Architecture'/><title type='text'>Two Tier Software Architectures</title><content type='html'>Two Tier Software Architectures&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Purpose and Origin&lt;br /&gt;&lt;br /&gt;Two tier software architectures were developed in the 1980s from the file server software architecture design. The two tier architecture is intended to improve usability by supporting a forms-based, user-friendly interface. The two tier architecture improves scalability by accommodating up to 100 users (file server architectures only accommodate a dozen users), and improves flexibility by allowing data to be shared, usually within a homogeneous environment [Schussel 96]. The two tier architecture requires minimal operator intervention, and is frequently used in non-complex, non-time critical information processing systems. Detailed readings on two tier architectures can be found in Schussel and Edelstein [Schussel 96, Edelstein 94].&lt;br /&gt;&lt;br /&gt;Technical Detail&lt;br /&gt;Two tier architectures consist of three components distributed in two layers: client (requester of services) and server (provider of services). The three components are&lt;br /&gt;&lt;br /&gt;User System Interface (such as session, text input, dialog, and display management services)&lt;br /&gt;Processing Management (such as process development, process enactment, process monitoring, and process resource services)&lt;br /&gt;Database Management (such as data and file services)&lt;br /&gt;The two tier design allocates the user system interface exclusively to the client. It places database management on the server and splits the processing management between client and server, creating two layers. Figure 38 depicts the two tier software architecture.&lt;br /&gt;&lt;br /&gt;In general, the user system interface client invokes services from the database management server. In many two tier designs, most of the application portion of processing is in the client environment. The database management server usually provides the portion of the processing related to accessing data (often implemented in store procedures). Clients commonly communicate with the server through SQL statements or a call-level interface. It should be noted that connectivity between tiers can be dynamically changed depending upon the user's request for data and services.&lt;br /&gt;&lt;br /&gt;As compared to the file server software architecture (that also supports distributed systems), the two tier architecture improves flexibility and scalability by allocating the two tiers over the computer network. The two tier improves usability (compared to the file sever software architecture) because it makes it easier to provide a customized user system interface.&lt;br /&gt;&lt;br /&gt;It is possible for a server to function as a client to a different server- in a hierarchical client/server architecture. This is known as a chained two tier architecture design.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usage Considerations&lt;br /&gt;Two tier software architectures are used extensively in non-time critical information processing where management and operations of the system are not complex. This design is used frequently in decision support systems where the transaction load is light. Two tier software architectures require minimal operator intervention. The two tier architecture works well in relatively homogeneous environments with processing rules (business rules) that do not change very often and when workgroup size is expected to be fewer than 100 users, such as in small businesses.&lt;br /&gt;&lt;br /&gt;Maturity&lt;br /&gt;Two tier client/server architectures have been built and fielded since the middle to late 1980s. The design is well known and used throughout industry. Two tier architecture development was enhanced by fourth generation languages.&lt;br /&gt;&lt;br /&gt;Costs and Limitations&lt;br /&gt;Scalability. The two tier design will scale-up to service 100 users on a network. It appears that beyond this number of users, the performance capacity is exceeded. This is because the client and server exchange "keep alive" messages continuously, even when no work is being done, thereby saturating the network [Schussel 96].&lt;br /&gt;Implementing business logic in stored procedures can limit scalability because as more application logic is moved to the database management server, the need for processing power grows. Each client uses the server to execute some part of its application code, and this will ultimately reduce the number of users that can be accommodated.&lt;br /&gt;&lt;br /&gt;Interoperability. The two tier architecture limits interoperability by using stored procedures to implement complex processing logic (such as managing distributed database integrity) because stored procedures are normally implemented using a commercial database management system's proprietary language. This means that to change or interoperate with more than one type of database management system, applications may need to be rewritten. Moreover, database management system's proprietary languages are generally not as capable as standard programming languages in that they do not provide a robust programming environment with testing and debugging, version control, and library management capabilities.&lt;br /&gt;&lt;br /&gt;System administration and configuration. Two tier architectures can be difficult to administer and maintain because when applications reside on the client, every upgrade must be delivered, installed, and tested on each client. The typical lack of uniformity in the client configurations and lack of control over subsequent configuration changes increase administrative workload.&lt;br /&gt;&lt;br /&gt;Batch jobs. The two tiered architecture is not effective running batch programs. The client is typically tied up until the batch job finishes, even if the job executes on the server; thus, the batch job and client users are negatively affected [Edelstein 94].&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dependencies&lt;br /&gt;Developing a two tier client/server architecture following an object-oriented methodology would be dependent on the CORBA standards for design implementation. See Common Object Request Broker Architecture.&lt;br /&gt;&lt;br /&gt;Alternatives&lt;br /&gt;Possible alternatives for two tier client server architectures are&lt;br /&gt;&lt;br /&gt;the three-tier architecture (see Three Tier Software Architectures) if there is a requirement to accommodate greater than 100 users&lt;br /&gt;distributed/collaborative architectures (see Distributed/Collaborative Enterprise Architectures) if there is a requirement to design on an enterprise-wide scale. An enterprise-wide design is comprised of numerous smaller systems or subsystems.&lt;br /&gt;When preparing a two tier architecture for possible migration to an alternative three tier architecture, the following five steps will make the transition less costly and of lower risk [Dickman 95]:&lt;br /&gt;&lt;br /&gt;Eliminate application diversity by ensuring a common, cross-hardware library and development tools.&lt;br /&gt;Develop smaller, more comparable service elements, and allow access through clearly-defined interfaces.&lt;br /&gt;Use an Interface Definition Language (IDL) to model service interfaces and build applications using header files generated when compiled.&lt;br /&gt;Place service elements into separate directories or files in the source code.&lt;br /&gt;Increase flexibility in distributed functionality by inserting service elements into Dynamic Linked Libraries (DLLs) so that they do not need to be complied into programs.&lt;br /&gt;Complementary Technologies&lt;br /&gt;Complementary technologies for two tier architectures are CASE (computer-aided software engineering) tools because they facilitate two tier architecture development, and open systems (see COTS and Open Systems-An Overview) because they facilitate developing architectures that improve scalability and flexibility.&lt;br /&gt;&lt;br /&gt;Index Categories&lt;br /&gt;This technology is classified under the following categories. Select a category for a list of related topics.&lt;br /&gt;Name of technology&lt;br /&gt;Two Tier Software Architectures&lt;br /&gt;&lt;br /&gt;Application category&lt;br /&gt;Client/Server (AP.2.1.2.1)&lt;br /&gt;&lt;br /&gt;Quality measures category&lt;br /&gt;Usability (QM.2.3)&lt;br /&gt;Maintainability (QM.3.1)&lt;br /&gt;Scalability (QM.4.3)&lt;br /&gt;&lt;br /&gt;Computing reviews category&lt;br /&gt;Distributed Systems (C.2.4)&lt;br /&gt;Software Engineering Design (D.2.10)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References and Information Sources&lt;br /&gt;[Dickman 95]  Dickman, A. "Two-Tier Versus Three-Tier Apps." Informationweek 553 (November 13, 1995): 74-80. &lt;br /&gt;[Edelstein 94]  Edelstein, Herb. "Unraveling Client/Server Architecture." DBMS 7, 5 (May 1994): 34(7). &lt;br /&gt;[Gallaugher 96]  Gallaugher, J. &amp;amp; Ramanathan, S. "Choosing a Client/Server Architecture. A Comparison of Two-Tier and Three-Tier Systems." Information Systems Management Magazine 13, 2 (Spring 1996): 7-13. &lt;br /&gt;[Louis 95]  Louis [online]. Available WWW&lt;br /&gt;&lt;url: is=""&gt; (1995). &lt;br /&gt;[Newell 95]  Newell, D.; Jones, O.; &amp;amp; Machura, M. "Interoperable Object Models for Large Scale Distributed Systems," 30-31. Proceedings. International Seminar on Client/Server Computing. La Hulpe, Belgium, October 30-31, 1995. London, England: IEE, 1995. &lt;br /&gt;[Schussel 96]  Schussel, George. Client/Server Past, Present, and Future [online]. Available WWW&lt;br /&gt;&lt;url: com="" geos=""&gt; (1995). &lt;br /&gt;&lt;br /&gt;Current Author/Maintainer&lt;br /&gt;Darleen Sadoski, GTE &lt;br /&gt;&lt;br /&gt;Ref : http://www.sei.cmu.edu/str/descriptions/twotier_body.html&lt;/url:&gt;&lt;/url:&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115829985783417180?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115829985783417180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115829985783417180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115829985783417180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115829985783417180'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/two-tier-software-architectures.html' title='Two Tier Software Architectures'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115823075043187678</id><published>2006-09-14T03:43:00.000-07:00</published><updated>2008-11-04T06:48:57.417-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><category scheme='http://www.blogger.com/atom/ns#' term='Computer Security'/><title type='text'>Denial-of-service attack</title><content type='html'>In Computer security a denial-of-service attack (DoS attack) is an attempt to make a computer resource unavailable to its intended users. Typically the targets are high-profile web servers, the attack aiming to cause the hosted web pages to be unavailable on the Internet. It is a computer crime that violates the Internet proper use policy as indicated by the Internet Architecture Board (IAB).&lt;br /&gt;DoS attacks have two general forms:&lt;br /&gt;Force the victim computer(s) to reset or consume its resources such that it can no longer provide its intended service.&lt;br /&gt;Obstruct the communication media between the intended users and the victim in such that they can no longer communicate adequately.&lt;br /&gt;A "denial-of-service" attack is characterized by an explicit attempt by attackers to prevent legitimate users of a service from using that service. Examples include&lt;br /&gt;attempts to "flood" a network, thereby preventing legitimate network traffic&lt;br /&gt;attempts to disrupt connections between two machines, thereby preventing access to a service&lt;br /&gt;attempts to prevent a particular individual from accessing a service&lt;br /&gt;attempts to disrupt service to a specific system or person&lt;br /&gt;Not all service outages, even those that result from malicious activity, are necessarily denial-of-service attacks. Other types of attack may include a denial of service as a component, but the denial of service may be part of a larger attack.&lt;br /&gt;Illegitimate use of resources may also result in denial of service. For example, an intruder may use one's anonymous FTP area as a place to store illegal copies of commercial software, consuming disk space and generating network traffic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115823075043187678?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115823075043187678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115823075043187678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115823075043187678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115823075043187678'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/denial-of-service-attack.html' title='Denial-of-service attack'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115822537326943823</id><published>2006-09-14T02:14:00.000-07:00</published><updated>2008-11-04T06:49:25.502-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><title type='text'>Ajax: A New Approach to Web Applications</title><content type='html'>By &lt;a href="http://www.adaptivepath.com/team/jjg.php"&gt;Jesse James Garrett&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If anything about current interaction design can be called “glamorous,” it’s creating Web applications. After all, when was the last time you heard someone rave about the interaction design of a product that wasn’t on the Web? (Okay, besides the iPod.) All the cool, innovative new projects are online.&lt;br /&gt;Despite this, Web interaction designers can’t help but feel a little envious of our colleagues who create desktop software. Desktop applications have a richness and responsiveness that has seemed out of reach on the Web. The same simplicity that enabled the Web’s rapid proliferation also creates a gap between the experiences we can provide and the experiences users can get from a desktop application.&lt;br /&gt;That gap is closing. Take a look at &lt;a href="http://www.google.com/webhp?complete=1&amp;amp;hl=en"&gt;Google Suggest&lt;/a&gt;. Watch the way the suggested terms update as you type, almost instantly. Now look at &lt;a href="http://maps.google.com/"&gt;Google Maps&lt;/a&gt;. Zoom in. Use your cursor to grab the map and scroll around a bit. Again, everything happens almost instantly, with no waiting for pages to reload.&lt;br /&gt;Google Suggest and Google Maps are two examples of a new approach to web applications that we at Adaptive Path have been calling Ajax. The name is shorthand for Asynchronous JavaScript + XML, and it represents a fundamental shift in what’s possible on the Web.&lt;br /&gt;Defining Ajax&lt;br /&gt;Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates:&lt;br /&gt;&lt;a href="http://www.adaptivepath.com/publications/essays/archives/000266.php"&gt;standards-based presentation&lt;/a&gt; using XHTML and CSS;&lt;br /&gt;dynamic display and interaction using the &lt;a href="http://www.scottandrew.com/weblog/articles/dom_1"&gt;Document Object Model&lt;/a&gt;;&lt;br /&gt;data interchange and manipulation using &lt;a href="http://www-106.ibm.com/developerworks/xml/library/x-xslt/?article=xr"&gt;XML and XSLT&lt;/a&gt;;&lt;br /&gt;asynchronous data retrieval using &lt;a href="http://www.xml.com/pub/a/2005/02/09/xml-http-request.html"&gt;XMLHttpRequest&lt;/a&gt;;&lt;br /&gt;and &lt;a href="http://www.crockford.com/javascript/javascript.html"&gt;JavaScript&lt;/a&gt; binding everything together.&lt;br /&gt;The classic web application model works like this: Most user actions in the interface trigger an HTTP request back to a web server. The server does some processing — retrieving data, crunching numbers, talking to various legacy systems — and then returns an HTML page to the client. It’s a model adapted from the Web’s original use as a hypertext medium, but as fans of &lt;a href="http://www.jjg.net/elements/"&gt;The Elements of User Experience&lt;/a&gt; know, what makes the Web good for hypertext doesn’t necessarily make it good for software applications.&lt;br /&gt;&lt;a href="http://www.adaptivepath.com/images/publications/essays/ajax-fig1.png"&gt;&lt;/a&gt;&lt;br /&gt;Figure 1: The traditional model for web applications (left) compared to the Ajax model (right).&lt;br /&gt;This approach makes a lot of technical sense, but it doesn’t make for a great user experience. While the server is doing its thing, what’s the user doing? That’s right, waiting. And at every step in a task, the user waits some more.&lt;br /&gt;Obviously, if we were designing the Web from scratch for applications, we wouldn’t make users wait around. Once an interface is loaded, why should the user interaction come to a halt every time the application needs something from the server? In fact, why should the user see the application go to the server at all?&lt;br /&gt;How Ajax is Different&lt;br /&gt;An Ajax application eliminates the start-stop-start-stop nature of interaction on the Web by introducing an intermediary — an Ajax engine — between the user and the server. It seems like adding a layer to the application would make it less responsive, but the opposite is true.&lt;br /&gt;Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine — written in JavaScript and usually tucked away in a hidden frame. This engine is responsible for both rendering the interface the user sees and communicating with the server on the user’s behalf. The Ajax engine allows the user’s interaction with the application to happen asynchronously — independent of communication with the server. So the user is never staring at a blank browser window and an hourglass icon, waiting around for the server to do something.&lt;br /&gt;&lt;a href="http://www.adaptivepath.com/images/publications/essays/ajax-fig2.png"&gt;&lt;/a&gt;&lt;br /&gt;Figure 2: The synchronous interaction pattern of a traditional web application (top) compared with the asynchronous pattern of an Ajax application (bottom).&lt;br /&gt;Every user action that normally would generate an HTTP request takes the form of a JavaScript call to the Ajax engine instead. Any response to a user action that doesn’t require a trip back to the server — such as simple data validation, editing data in memory, and even some navigation — the engine handles on its own. If the engine needs something from the server in order to respond — if it’s submitting data for processing, loading additional interface code, or retrieving new data — the engine makes those requests asynchronously, usually using XML, without stalling a user’s interaction with the application.&lt;br /&gt;Who’s Using Ajax&lt;br /&gt;Google is making a huge investment in developing the Ajax approach. All of the major products Google has introduced over the last year — &lt;a href="http://www.orkut.com/"&gt;Orkut&lt;/a&gt;, &lt;a href="http://www.gmail.com/"&gt;Gmail&lt;/a&gt;, the latest beta version of &lt;a href="http://groups-beta.google.com/"&gt;Google Groups&lt;/a&gt;, &lt;a href="http://www.google.com/webhp?complete=1&amp;amp;hl=en"&gt;Google Suggest&lt;/a&gt;, and &lt;a href="http://maps.google.com/"&gt;Google Maps&lt;/a&gt; — are Ajax applications. (For more on the technical nuts and bolts of these Ajax implementations, check out these excellent analyses of &lt;a href="http://johnvey.com/features/gmailapi/"&gt;Gmail&lt;/a&gt;, &lt;a href="http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html"&gt;Google Suggest&lt;/a&gt;, and &lt;a href="http://web.archive.org/web/20050331002145/jgwebber.blogspot.com/2005/02/mapping-google.html"&gt;Google Maps&lt;/a&gt;.) Others are following suit: many of the features that people love in &lt;a href="http://www.flickr.com/"&gt;Flickr&lt;/a&gt; depend on Ajax, and Amazon’s &lt;a href="http://www.a9.com/"&gt;A9.com&lt;/a&gt; search engine applies similar techniques.&lt;br /&gt;These projects demonstrate that Ajax is not only technically sound, but also practical for real-world applications. This isn’t another technology that only works in a laboratory. And Ajax applications can be any size, from the very simple, single-function Google Suggest to the very complex and sophisticated Google Maps.&lt;br /&gt;At Adaptive Path, we’ve been doing our own work with Ajax over the last several months, and we’re realizing we’ve only scratched the surface of the rich interaction and responsiveness that Ajax applications can provide. Ajax is an important development for Web applications, and its importance is only going to grow. And because there are so many developers out there who already know how to use these technologies, we expect to see many more organizations following Google’s lead in reaping the competitive advantage Ajax provides.&lt;br /&gt;Moving Forward&lt;br /&gt;The biggest challenges in creating Ajax applications are not technical. The core Ajax technologies are mature, stable, and well understood. Instead, the challenges are for the designers of these applications: to forget what we think we know about the limitations of the Web, and begin to imagine a wider, richer range of possibilities.&lt;br /&gt;It’s going to be fun.&lt;br /&gt;&lt;a name="qanda"&gt;&lt;br /&gt;Ajax Q&amp;amp;A&lt;/a&gt;&lt;br /&gt;March 13, 2005: Since we first published Jesse’s essay, we’ve received an enormous amount of correspondence from readers with questions about Ajax. In this Q&amp;amp;A, Jesse responds to some of the most common queries.&lt;br /&gt;Q. Did Adaptive Path invent Ajax? Did Google? Did Adaptive Path help build Google’s Ajax applications?&lt;br /&gt;A. Neither Adaptive Path nor Google invented Ajax. Google’s recent products are simply the highest-profile examples of Ajax applications. Adaptive Path was not involved in the development of Google’s Ajax applications, but we have been doing Ajax work for some of our other clients.&lt;br /&gt;Q. Is Adaptive Path selling Ajax components or trademarking the name? Where can I download it?&lt;br /&gt;A. Ajax isn’t something you can download. It’s an approach — a way of thinking about the architecture of web applications using certain technologies. Neither the Ajax name nor the approach are proprietary to Adaptive Path.&lt;br /&gt;Q. Is Ajax just another name for XMLHttpRequest?&lt;br /&gt;A. No. XMLHttpRequest is only part of the Ajax equation. XMLHttpRequest is the technical component that makes the asynchronous server communication possible; Ajax is our name for the overall approach described in the article, which relies not only on XMLHttpRequest, but on CSS, DOM, and other technologies.&lt;br /&gt;Q. Why did you feel the need to give this a name?&lt;br /&gt;A. I needed something shorter than “Asynchronous JavaScript+CSS+DOM+XMLHttpRequest” to use when discussing this approach with clients.&lt;br /&gt;Q. Techniques for asynchronous server communication have been around for years. What makes Ajax a “new” approach?&lt;br /&gt;A. What’s new is the prominent use of these techniques in real-world applications to change the fundamental interaction model of the Web. Ajax is taking hold now because these technologies and the industry’s understanding of how to deploy them most effectively have taken time to develop.&lt;br /&gt;Q. Is Ajax a technology platform or is it an architectural style?&lt;br /&gt;A. It’s both. Ajax is a set of technologies being used together in a particular way.&lt;br /&gt;Q. What kinds of applications is Ajax best suited for?&lt;br /&gt;A. We don’t know yet. Because this is a relatively new approach, our understanding of where Ajax can best be applied is still in its infancy. Sometimes the traditional web application model is the most appropriate solution to a problem.&lt;br /&gt;Q. Does this mean Adaptive Path is anti-Flash?&lt;br /&gt;A. Not at all. Macromedia is an Adaptive Path client, and we’ve long been supporters of Flash technology. As Ajax matures, we expect that sometimes Ajax will be the better solution to a particular problem, and sometimes Flash will be the better solution. We’re also interested in exploring ways the technologies can be mixed (as in the case of Flickr, which uses both).&lt;br /&gt;Q. Does Ajax have significant accessibility or browser compatibility limitations? Do Ajax applications break the back button? Is Ajax compatible with REST? Are there security considerations with Ajax development? Can Ajax applications be made to work for users who have JavaScript turned off?&lt;br /&gt;A. The answer to all of these questions is “maybe”. Many developers are already working on ways to address these concerns. We think there’s more work to be done to determine all the limitations of Ajax, and we expect the Ajax development community to uncover more issues like these along the way.&lt;br /&gt;Q. Some of the Google examples you cite don’t use XML at all. Do I have to use XML and/or XSLT in an Ajax application?&lt;br /&gt;A. No. XML is the most fully-developed means of getting data in and out of an Ajax client, but there’s no reason you couldn’t accomplish the same effects using a technology like &lt;a href="http://www.crockford.com/JSON/"&gt;JavaScript Object Notation&lt;/a&gt; or any similar means of structuring data for interchange.&lt;br /&gt;Q. Are Ajax applications easier to develop than traditional web applications?&lt;br /&gt;A. Not necessarily. Ajax applications inevitably involve running complex JavaScript code on the client. Making that complex code efficient and bug-free is not a task to be taken lightly, and better development tools and frameworks will be needed to help us meet that challenge.&lt;br /&gt;Q. Do Ajax applications always deliver a better experience than traditional web applications?&lt;br /&gt;A. Not necessarily. Ajax gives interaction designers more flexibility. However, the more power we have, the more caution we must use in exercising it. We must be careful to use Ajax to enhance the user experience of our applications, not degrade it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115822537326943823?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115822537326943823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115822537326943823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115822537326943823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115822537326943823'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/ajax-new-approach-to-web-applications.html' title='Ajax: A New Approach to Web Applications'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115754307079860611</id><published>2006-09-06T04:44:00.000-07:00</published><updated>2008-11-04T06:49:50.038-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Interview Questions'/><title type='text'>ASP.NET Questions</title><content type='html'>Why are you more likely to use HtmlControls rather than WebControls when migrating from ASP?&lt;br /&gt;Choice 1&lt;br /&gt;ASP pages are made from HTML elements, not controls, which map to the HtmlControls better.&lt;br /&gt;Choice 2&lt;br /&gt;HtmlControls involve less development effort.&lt;br /&gt;Choice 3&lt;br /&gt;HtmlControls have the same syntax as ASP HtmlControls.&lt;br /&gt;Choice 4&lt;br /&gt;HtmlControls can be used to transfer ASP session state.&lt;br /&gt;Choice 5&lt;br /&gt;ASP also uses HtmlControls.&lt;br /&gt;&lt;br /&gt;In a Web application, how many security-related events does the global.asax file provide?&lt;br /&gt;Choice 1&lt;br /&gt;1&lt;br /&gt;Choice 2&lt;br /&gt;2&lt;br /&gt;Choice 3&lt;br /&gt;3&lt;br /&gt;Choice 4&lt;br /&gt;4&lt;br /&gt;Choice 5&lt;br /&gt;More than 4&lt;br /&gt;&lt;br /&gt;Why does the Page object have an IsPostback property?&lt;br /&gt;Choice 1&lt;br /&gt;It is used to know that control events need to be thrown.&lt;br /&gt;Choice 2&lt;br /&gt;It is used in the Application_BeginRequest event to decide whether to authenticate a user.&lt;br /&gt;Choice 3&lt;br /&gt;It is used so that the Page can determine whether to load Viewstate.&lt;br /&gt;Choice 4&lt;br /&gt;It is used to determine whether to throw the Page_PostBack event.&lt;br /&gt;Choice 5&lt;br /&gt;It is used so that the controls can be loaded with their initial state when the page is first loaded.&lt;br /&gt;ASP.NET Fundamentals, Question 10 of 40&lt;br /&gt;&lt;br /&gt;A relationship between two DataTables within a DataSet is represented by which one of the following?&lt;br /&gt;Choice 1&lt;br /&gt;ForeignKey object&lt;br /&gt;Choice 2&lt;br /&gt;DataColumn object&lt;br /&gt;Choice 3&lt;br /&gt;DataTable object&lt;br /&gt;Choice 4&lt;br /&gt;PrimaryKey object&lt;br /&gt;Choice 5&lt;br /&gt;DataRelation object&lt;br /&gt;&lt;br /&gt;Which one of the following do you use to add a new cookie to store a 'LastVisit' date with the current time?&lt;br /&gt;Choice 1&lt;br /&gt;Response.Cookies.Add( new HttpCookie("LastVisit", DateTime.Now.ToString()) );&lt;br /&gt;Choice 2&lt;br /&gt;Response.Cookies.Add( new Cookie("LastVisit", DateTime.Now.ToString()) );&lt;br /&gt;Choice 3&lt;br /&gt;Response.Add( new Cookie("LastVisit", DateTime.Now.ToString()) );&lt;br /&gt;Choice 4&lt;br /&gt;Response.Cookies.Add( new HttpCookie("LastVisit", DateTime.Now) );&lt;br /&gt;Choice 5&lt;br /&gt;Response.Add( new HttpCookie("LastVisit", DateTime.Now.ToString()) );&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Assuming viewstate is enabled, what is wrong with the above code?&lt;br /&gt;Choice 1&lt;br /&gt;You need to check IsPostBack and bind the data only once.&lt;br /&gt;Choice 2&lt;br /&gt;The OnClick event fires before the Page_Load event.&lt;br /&gt;Choice 3&lt;br /&gt;The OnClick event does not fire until after the code is rendered.&lt;br /&gt;Choice 4&lt;br /&gt;The OnClick event will NEVER fire.&lt;br /&gt;Choice 5&lt;br /&gt;You cannot bind data in the Page_Load event.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Which object do you use as a means of reading a forward-only stream of rows when connecting to SQL Server 2000 database?&lt;br /&gt;Choice 1&lt;br /&gt;SqlServerDataAdapter&lt;br /&gt;Choice 2&lt;br /&gt;OleDbDataReader&lt;br /&gt;Choice 3&lt;br /&gt;SqlDataAdapter&lt;br /&gt;&lt;br /&gt;Choice 4&lt;br /&gt;OleDbDataAdapter&lt;br /&gt;Choice 5&lt;br /&gt;SqlDataReader&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What line in the above control needs to be added for Wednesday to be selected by default?&lt;br /&gt;Choice 1&lt;br /&gt;&lt;asp:listitem item="On" value="3" text="Wednesday"&gt;&lt;/asp:listitem&gt;&lt;br /&gt;Choice 2&lt;br /&gt;&lt;asp:listitem value="3" text="Wednesday" selected="Selected"&gt;&lt;/asp:listitem&gt;&lt;br /&gt;Choice 3&lt;br /&gt;&lt;asp:listitem value="3" text="Wednesday" selected="True"&gt;&lt;/asp:listitem&gt;&lt;br /&gt;Choice 4&lt;br /&gt;&lt;asp:listitem item="Selected" value="3" text="Wednesday"&gt;&lt;/asp:listitem&gt;&lt;br /&gt;Choice 5&lt;br /&gt;&lt;asp:listitem value="3" text="Wednesday" selected="On"&gt;&lt;/asp:listitem&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Which server setting must be set in order to be able to store objects outside of a page in an application?&lt;br /&gt;Choice 1&lt;br /&gt;Enable application storage&lt;br /&gt;Choice 2&lt;br /&gt;Enable variable storage&lt;br /&gt;Choice 3&lt;br /&gt;Enable server-side variables&lt;br /&gt;Choice 4&lt;br /&gt;Enable session state&lt;br /&gt;Choice 5&lt;br /&gt;Enable Web forms&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Under which one of the following situations is using a class inheriting from System.IO.Stream NOT appropriate?&lt;br /&gt;Choice 1&lt;br /&gt;Sending information across a network&lt;br /&gt;Choice 2&lt;br /&gt;Manipulating an XML DOM&lt;br /&gt;Choice 3&lt;br /&gt;Saving a file to disk&lt;br /&gt;Choice 4&lt;br /&gt;Loading a file from disk&lt;br /&gt;Choice 5&lt;br /&gt;Implementing a pipe&lt;br /&gt;ASP.NET Fundamentals&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sample Code&lt;br /&gt;&lt;br /&gt;For the code referenced above to work correctly in your application, in which one of the following directories does the compiled DLL from the file MyPage.aspx.cs need to be?&lt;br /&gt;Choice 1&lt;br /&gt;The same directory as the .aspx file calling it&lt;br /&gt;Choice 2&lt;br /&gt;The Web root for the application&lt;br /&gt;Choice 3&lt;br /&gt;/bin directory of the application&lt;br /&gt;Choice 4&lt;br /&gt;The Web root for the site&lt;br /&gt;Choice 5&lt;br /&gt;The directory named support&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115754307079860611?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115754307079860611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115754307079860611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115754307079860611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115754307079860611'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/aspnet-questions.html' title='ASP.NET Questions'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115754228452796450</id><published>2006-09-06T04:29:00.000-07:00</published><updated>2008-11-04T06:50:12.201-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>Assembly</title><content type='html'>Assembly&lt;br /&gt;&lt;br /&gt;In the &lt;a title="Microsoft .NET" href="http://en.wikipedia.org/wiki/Microsoft_.NET"&gt;Microsoft .NET&lt;/a&gt; framework an assembly is a partially &lt;a title="Compiler" href="http://en.wikipedia.org/wiki/Compiler"&gt;compiled&lt;/a&gt; code library for use in deployment, versioning and security. In the &lt;a title="Microsoft Windows" href="http://en.wikipedia.org/wiki/Microsoft_Windows"&gt;Microsoft Windows&lt;/a&gt; implementation of .NET, an assembly is a PE (portable &lt;a title="Executable" href="http://en.wikipedia.org/wiki/Executable"&gt;executable&lt;/a&gt;) file. There are two types, process assemblies (EXE) and library assemblies (DLL). A process assembly represents a process which will use &lt;a title="Class (computer science)" href="http://en.wikipedia.org/wiki/Class_%28computer_science%29"&gt;classes&lt;/a&gt; defined in library assemblies. In version 1.1 of the &lt;a title="Common Language Runtime" href="http://en.wikipedia.org/wiki/Common_Language_Runtime"&gt;CLR&lt;/a&gt; classes can only be exported from library assemblies; in version 2.0 this restriction is relaxed. The compiler will have a switch to determine if the assembly is a process or library and will set a flag in the PE file. .NET does not use the extension to determine if the file is a process or library. This means that a library may have either .dll or .exe as its extension.&lt;br /&gt;The code in an assembly is compiled into &lt;a title="Common Intermediate Language" href="http://en.wikipedia.org/wiki/Common_Intermediate_Language"&gt;CIL&lt;/a&gt;, which is then compiled into &lt;a title="Machine language" href="http://en.wikipedia.org/wiki/Machine_language"&gt;machine language&lt;/a&gt; at &lt;a title="Runtime" href="http://en.wikipedia.org/wiki/Runtime"&gt;runtime&lt;/a&gt; by the CLR.&lt;br /&gt;An assembly can consist of one or more files. Code files are called modules. An assembly can contain more than one code module and since it is possible to use different &lt;a title="Computer language" href="http://en.wikipedia.org/wiki/Computer_language"&gt;languages&lt;/a&gt; to create code modules this means that it is technically possible to use several different languages to create an assembly. In practice this rarely happens, principally because &lt;a title="Visual Studio" href="http://en.wikipedia.org/wiki/Visual_Studio"&gt;Visual Studio&lt;/a&gt; only allows developers to create assemblies that consist of a single code module.&lt;br /&gt;&lt;br /&gt;Assembly Manifest&lt;br /&gt;&lt;br /&gt;Every assembly, whether static or dynamic, contains a collection of data that describes how the elements in the assembly relate to each other. The assembly manifest contains this assembly metadata. An assembly manifest contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes. The assembly manifest can be stored in either a PE file (an .exe or .dll) with Microsoft intermediate language (MSIL) code or in a standalone PE file that contains only assembly manifest information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115754228452796450?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115754228452796450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115754228452796450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115754228452796450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115754228452796450'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/assembly.html' title='Assembly'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115754206810155294</id><published>2006-09-06T04:26:00.000-07:00</published><updated>2008-11-04T06:50:34.223-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='CLR'/><title type='text'>The Assembly Solution</title><content type='html'>To solve versioning problems, as well as the remaining problems that lead to DLL conflicts, the runtime uses assemblies to do the following:&lt;br /&gt;Enable developers to specify version rules between different software components.&lt;br /&gt;Provide the infrastructure to enforce versioning rules.&lt;br /&gt;Provide the infrastructure to allow multiple versions of a component to be run simultaneously (called side-by-side execution).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115754206810155294?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115754206810155294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115754206810155294' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115754206810155294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115754206810155294'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/assembly-solution.html' title='The Assembly Solution'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115711010881059178</id><published>2006-09-01T04:27:00.000-07:00</published><updated>2008-11-04T06:50:52.772-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Major types of JavaScript</title><content type='html'>There are 3 major types of JavaScript namely:&lt;br /&gt;&lt;br /&gt;Client-Side JavaScript (CSJS) -- an extended version of JavaScript that enables the enhancement and manipulation of web pages and client browsersServer-Side JavaScript (SSJS) -- an extended version of JavaScript that enables back-end access to databases, file systems, and serversCore JavaScript -- the base JavaScript languageClient-Side JavaScript (CSJS) and Server-Side JavaScript (SSJS) are dependent on the core JavaScript and cannot work without it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Client-Side JavaScriptClient-Side JavaScript (CSJS) is the single most popular language on the Internet, used in major web pages which are too numerous to be counted. CSJS is composed of core JavaScript and many additional objects, such as the following: document form frame window The objects in CSJS enable you to manipulate HTML documents (checking form fields, submitting forms, creating dynamic pages, and such) and the browser itself (directing the browser to load other HTML pages, display messages, and so on).Server-Side JavaScript Server-side JavaScript (SSJS) is composed of core JavaScript and additional objects and functions for accessing databases and file systems, sending e-mail, and so on. SSJS enables developers to quickly and easily create database-driven web applications by leveraging their existing knowledge of JavaScript. It's used to create and/or customize server-based applications by scripting the interaction between objects.SSJS is included with the Netscape Enterprise Server and is ideal for creating web applications that can be run on any platform, on any browser, and in any language. Why create something in Visual Basic or PowerBuilder that can be run on only one platform, when you can create a web application with SSJS that can be run on any existing platform (such as UNIX, Mac, and Windows) and even future platforms (like BEOS)? SSJS is also available in the Actra line of E-Commerce applications from Netscape, so that customers can customize their applications. The objects employed in the Actra implementation of SSJS are different from those used on the Enterprise Server because the data access engines are different. However, the core language is the same.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115711010881059178?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115711010881059178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115711010881059178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115711010881059178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115711010881059178'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/major-types-of-javascript.html' title='Major types of JavaScript'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115711006432116935</id><published>2006-09-01T04:24:00.000-07:00</published><updated>2008-11-04T06:51:12.101-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Client-side and Server-side JavaScript</title><content type='html'>Client-side JavaScript (CSJS) is &lt;a title="JavaScript" href="http://en.wikipedia.org/wiki/JavaScript"&gt;JavaScript&lt;/a&gt; that runs on &lt;a title="Client-side" href="http://en.wikipedia.org/wiki/Client-side"&gt;client-side&lt;/a&gt;, i.e. the web browser, hence is for &lt;a title="Client-side scripting" href="http://en.wikipedia.org/wiki/Client-side_scripting"&gt;client-side scripting&lt;/a&gt;. While JavaScript was originally created to run on client-side, this term was coined because the language is no longer limited to just client-side, e.g. &lt;a title="Server-side JavaScript" href="http://en.wikipedia.org/wiki/Server-side_JavaScript"&gt;server-side JavaScript&lt;/a&gt; (SSJS) is also available.&lt;br /&gt;&lt;br /&gt;Server-side JavaScript (SSJS) refers to &lt;a title="JavaScript" href="http://en.wikipedia.org/wiki/JavaScript"&gt;JavaScript&lt;/a&gt; that runs on &lt;a title="Server-side" href="http://en.wikipedia.org/wiki/Server-side"&gt;server-side&lt;/a&gt;. This term was coined because the language was originally limited to just &lt;a title="Client-side" href="http://en.wikipedia.org/wiki/Client-side"&gt;client-side&lt;/a&gt;, i.e. &lt;a title="Client-side JavaScript" href="http://en.wikipedia.org/wiki/Client-side_JavaScript"&gt;client-side JavaScript&lt;/a&gt; (CSJS).&lt;br /&gt;&lt;br /&gt;This article explains the three major types of JavaScript, client-side, server-side and the core language. Server-side JavaScript is ideal for creating web applications that can be run on any platform, on any browser, and in any language. See the article for other advantages and disadvantages of each.&lt;br /&gt;Most people think that JavaScript is a form of Java, but that is not true. Java is a programming language developed by Sun Microsystems, while JavaScript was created by Netscape to extend the functions a browser can perform.&lt;br /&gt;Uses of JavaScript:&lt;br /&gt;Menus for Navigation&lt;br /&gt;Form Validation&lt;br /&gt;Popup Windows&lt;br /&gt;Password Protecting&lt;br /&gt;Math Functions&lt;br /&gt;Special effects with document and background&lt;br /&gt;Status bar manipulation&lt;br /&gt;Messages&lt;br /&gt;Mouse Cursor Effects&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115711006432116935?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115711006432116935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115711006432116935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115711006432116935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115711006432116935'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/09/client-side-and-server-side-javascript.html' title='Client-side and Server-side JavaScript'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115702918442303173</id><published>2006-08-31T05:58:00.000-07:00</published><updated>2008-11-04T06:51:45.277-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Web Service XML Output</title><content type='html'>using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Diagnostics;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Services;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using System.Xml.Xsl;&lt;br /&gt;using System.Xml;&lt;br /&gt;&lt;br /&gt;namespace Xsl&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for MyService.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class MyService : System.Web.Services.WebService&lt;br /&gt;{&lt;br /&gt;public MyService()&lt;br /&gt;{&lt;br /&gt;//CODEGEN: This call is required by the ASP.NET Web Services Designer&lt;br /&gt;InitializeComponent();&lt;br /&gt;}&lt;br /&gt;#region Component Designer generated code&lt;br /&gt;//Required by the Web Services Designer&lt;br /&gt;private IContainer components = null;&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Required method for Designer support - do not modify&lt;br /&gt;/// the contents of this method with the code editor.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;private void InitializeComponent()&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Clean up any resources being used.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;protected override void Dispose( bool disposing )&lt;br /&gt;{&lt;br /&gt;if(disposing &amp;amp;&amp;amp; components != null)&lt;br /&gt;{&lt;br /&gt;components.Dispose();&lt;br /&gt;}&lt;br /&gt;base.Dispose(disposing);&lt;br /&gt;}&lt;br /&gt;#endregion&lt;br /&gt;// WEB SERVICE EXAMPLE&lt;br /&gt;// The HelloWorld() example service returns the string Hello World&lt;br /&gt;// To build, uncomment the following lines then save and build the project&lt;br /&gt;// To test this web service, press F5&lt;br /&gt;[WebMethod]&lt;br /&gt;public string CallServices()&lt;br /&gt;{&lt;br /&gt;string view = "";&lt;br /&gt;SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;SqlCommand cmd = new SqlCommand("select * from BrandMaster1 for xml raw",con);&lt;br /&gt;con.Open();&lt;br /&gt;XmlReader xr = cmd.ExecuteXmlReader();&lt;br /&gt;xr.Read();&lt;br /&gt;for(;xr.ReadState !=ReadState.EndOfFile;)&lt;br /&gt;{&lt;br /&gt;view += xr.ReadOuterXml();&lt;br /&gt;}&lt;br /&gt;view = "&lt;root&gt;" + view + "&lt;/root&gt;";&lt;br /&gt;XmlDocument xmldom = new XmlDocument();&lt;br /&gt;XslTransform xsltrans = new XslTransform();&lt;br /&gt;MemoryStream ms = new MemoryStream();&lt;br /&gt;StreamReader sr = new StreamReader(ms);&lt;br /&gt;xmldom.LoadXml(view);&lt;br /&gt;xsltrans.Load(Server.MapPath("newservices.xsl"));&lt;br /&gt;xsltrans.Transform(xmldom,null,ms,null);&lt;br /&gt;ms.Seek(0,SeekOrigin.Begin);&lt;br /&gt;//divXsl.InnerHtml = sr.ReadToEnd();&lt;br /&gt;string retval = sr.ReadToEnd();&lt;br /&gt;return retval;&lt;br /&gt;}&lt;br /&gt;[WebMethod]&lt;br /&gt;public void CallEdit(int pkid,string brandcode,string brandname)&lt;br /&gt;{&lt;br /&gt;string conss = "update BrandMaster1 set BrandCode = '"+ brandcode.ToString() +"'" + ",BrandName = '"+ brandname + "'" + " where pkid = '"+ pkid +"'";&lt;br /&gt;SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;SqlCommand cmd = new SqlCommand(conss,con);&lt;br /&gt;con.Open();&lt;br /&gt;SqlDataReader dr = cmd.ExecuteReader();&lt;br /&gt;while (dr.Read())&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;[WebMethod]&lt;br /&gt;public void CallDelete(int pkid)&lt;br /&gt;{&lt;br /&gt;string conss = "delete from BrandMaster1 " + " where pkid = '"+ pkid +"'";&lt;br /&gt;SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;SqlCommand cmd = new SqlCommand(conss,con);&lt;br /&gt;con.Open();&lt;br /&gt;SqlDataReader dr = cmd.ExecuteReader();&lt;br /&gt;while (dr.Read())&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;[WebMethod]&lt;br /&gt;public string JavaScriptCall()&lt;br /&gt;{&lt;br /&gt;string view = "";&lt;br /&gt;SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;SqlCommand cmd = new SqlCommand("select * from BrandMaster1 for xml auto,elements",con);&lt;br /&gt;con.Open();&lt;br /&gt;XmlReader xr = cmd.ExecuteXmlReader();&lt;br /&gt;xr.Read();&lt;br /&gt;for(;xr.ReadState !=ReadState.EndOfFile;)&lt;br /&gt;{&lt;br /&gt;view += xr.ReadOuterXml();&lt;br /&gt;}&lt;br /&gt;view = "&lt;root&gt;" + view + "&lt;/root&gt;";&lt;br /&gt;return view;&lt;br /&gt;}&lt;br /&gt;[WebMethod]&lt;br /&gt;public string CallStoredProc(string spName)&lt;br /&gt;{&lt;br /&gt;string view = "";&lt;br /&gt;SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;SqlCommand cmd = new SqlCommand(spName,con);&lt;br /&gt;cmd.CommandType = CommandType.StoredProcedure;&lt;br /&gt;con.Open();&lt;br /&gt;XmlReader xr = cmd.ExecuteXmlReader();&lt;br /&gt;xr.Read();&lt;br /&gt;for(;xr.ReadState !=ReadState.EndOfFile;)&lt;br /&gt;{&lt;br /&gt;view += xr.ReadOuterXml();&lt;br /&gt;}&lt;br /&gt;view = "&lt;root&gt;" + view + "&lt;/root&gt;";&lt;br /&gt;return view;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[WebMethod]&lt;br /&gt;public string CallAssign(int pkid)&lt;br /&gt;{&lt;br /&gt;string view = "";&lt;br /&gt;SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;SqlCommand cmd = new SqlCommand("select * from BrandMaster1 " + "where pkid '"+ pkid +"' ",con);&lt;br /&gt;con.Open();&lt;br /&gt;XmlReader xr = cmd.ExecuteXmlReader();&lt;br /&gt;xr.Read();&lt;br /&gt;for(;xr.ReadState !=ReadState.EndOfFile;)&lt;br /&gt;{&lt;br /&gt;view += xr.ReadOuterXml();&lt;br /&gt;}&lt;br /&gt;view = "&lt;root&gt;" + view + "&lt;/root&gt;";&lt;br /&gt;XmlDocument xmldom = new XmlDocument();&lt;br /&gt;XslTransform xsltrans = new XslTransform();&lt;br /&gt;MemoryStream ms = new MemoryStream();&lt;br /&gt;StreamReader sr = new StreamReader(ms);&lt;br /&gt;xmldom.LoadXml(view);&lt;br /&gt;xsltrans.Load(Server.MapPath("newservices.xsl"));&lt;br /&gt;xsltrans.Transform(xmldom,null,ms,null);&lt;br /&gt;ms.Seek(0,SeekOrigin.Begin);&lt;br /&gt;//divXsl.InnerHtml = sr.ReadToEnd();&lt;br /&gt;string retval = sr.ReadToEnd();&lt;br /&gt;return retval;&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/24657923-115702918442303173?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115702918442303173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115702918442303173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115702918442303173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115702918442303173'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/08/web-service-xml-output.html' title='Web Service XML Output'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115702801416498234</id><published>2006-08-31T05:39:00.000-07:00</published><updated>2008-11-04T06:52:18.021-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSL'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>To bind xsl with xml in Javascript</title><content type='html'>function callXMLXSLTransform(xmlStr,xslPath)&lt;br /&gt;{&lt;br /&gt;xml = new ActiveXObject("Microsoft.XMLDOM");&lt;br /&gt;xml.async = false;&lt;br /&gt;xml.load(xmlStr);&lt;br /&gt;var xsl = new ActiveXObject("Microsoft.XMLDOM");&lt;br /&gt;xsl.async = false;&lt;br /&gt;xsl.load(xslPath);&lt;br /&gt;return xml.transformNode(xsl);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115702801416498234?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115702801416498234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115702801416498234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115702801416498234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115702801416498234'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/08/to-bind-xsl-with-xml-in-javascript.html' title='To bind xsl with xml in Javascript'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115382725984619862</id><published>2006-07-25T04:33:00.000-07:00</published><updated>2008-11-04T06:53:02.379-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><title type='text'>JavaScript ProjWS-3</title><content type='html'>callWebServiceDisplay();&lt;br /&gt;&lt;br /&gt;function callWebServiceDisplay()&lt;br /&gt;{&lt;br /&gt; var httpObj = new ActiveXObject("MSXml2.XMLHTTP");&lt;br /&gt; httpObj.open("POST","http://localhost/Diageeo/Xsl/MyService.asmx",false);&lt;br /&gt; httpObj.setRequestHeader("SOAPAction","http://tempuri.org/CallServices");&lt;br /&gt; httpObj.setRequestHeader("Content-Type","text/xml");&lt;br /&gt; httpObj.send(getMy());&lt;br /&gt; alert(httpObj.responseText);&lt;br /&gt;// alert(httpObj.responseText);&lt;br /&gt; var jj = encodeXml(httpObj.responseText);&lt;br /&gt; divDisplay.innerHTML = jj;&lt;br /&gt; return httpObj.responseText;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function encodeXml(str){&lt;br /&gt; //str = str.replace(/&amp;amp;/gi, "&amp;amp;");&lt;br /&gt; str = str.replace(/&amp;lt;/gi, "&lt;");    str = str.replace(/&amp;gt;/gi, "&gt;");&lt;br /&gt; return str;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function getMy()&lt;br /&gt;{&lt;br /&gt; var obj = ""; &lt;br /&gt; obj  = "&lt;soap:envelope xsi="http://www.w3.org/2001/XMLSchema-instance" xsd="http://www.w3.org/2001/XMLSchema" soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;soap:body&gt;&lt;callservicesresponse xmlns="http://tempuri.org/"&gt;&lt;callservicesresult&gt;string&lt;/callservicesresult&gt;&lt;/callservicesresponse&gt;&lt;/soap:body&gt;&lt;/soap:envelope&gt;";&lt;br /&gt; alert(obj);&lt;br /&gt; return obj;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115382725984619862?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115382725984619862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115382725984619862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382725984619862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382725984619862'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/07/javascript-projws-3.html' title='JavaScript ProjWS-3'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115382718585224965</id><published>2006-07-25T04:32:00.000-07:00</published><updated>2006-09-05T03:06:14.293-07:00</updated><title type='text'>XSL ProjWS-2</title><content type='html'>&lt;?xml:namespace prefix = xsl /&gt;&lt;xsl:stylesheet version="1.0" xsl="&lt;a href="&gt;&lt;xsl:template match="/"&gt; &lt;table class="tablebg" cellspacing="1" bgcolor="#64afaf" border="1" cellpading="0"&gt;&lt;tbody&gt;&lt;tr class="tableContent1" align="middle"&gt;&lt;td class="tableheader"&gt;PKID&lt;/td&gt;&lt;td class="tableheader"&gt;BrandCode&lt;/td&gt;&lt;td class="tableheader"&gt;Edit BrandName&lt;/td&gt;&lt;td class="tableheader"&gt;Delete BrandName&lt;/td&gt;&lt;/tr&gt;&lt;tbody&gt;&lt;xsl:for-each select="//row"&gt;&lt;tr class="tablecontent2"&gt;&lt;td class="text1" align="middle"&gt;&lt;xsl:value-of select="@PKID"&gt;&lt;/td&gt;&lt;td class="text1" align="middle"&gt;&lt;xsl:value-of select="@BrandCode"&gt;&lt;/td&gt;&lt;td class="text1" align="middle"&gt;&lt;a class="link1"&gt;&lt;xsl:attribute name="href"&gt;javascript:EditLoad('&lt;xsl:value-of select="@PKID"&gt;')&lt;/xsl:attribute&gt;&lt;xsl:value-of select="@BrandName"&gt;&lt;/a&gt;&lt;/td&gt;&lt;td class="text1" align="middle"&gt;&lt;a class="link1"&gt;&lt;xsl:attribute name="href"&gt;javascript:DeleteLoad('&lt;xsl:value-of select="@PKID"&gt;')&lt;/xsl:attribute&gt;&lt;xsl:value-of select="@BrandName"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/xsl:for-each&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;br /&gt;&lt;br /&gt;&lt;xsl:value-of select="@PKID"&gt;&lt;xsl:value-of select="@BrandCode"&gt;&lt;xsl:value-of select="@PKID"&gt;&lt;xsl:value-of select="@BrandName"&gt;&lt;xsl:value-of select="@PKID"&gt;&lt;xsl:value-of select="@BrandName"&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115382718585224965?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115382718585224965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115382718585224965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382718585224965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382718585224965'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/07/xsl-projws-2_25.html' title='XSL ProjWS-2'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115382712145602658</id><published>2006-07-25T04:31:00.000-07:00</published><updated>2006-09-05T03:06:49.720-07:00</updated><title type='text'>XSL ProjWS-2</title><content type='html'>&lt;?xml:namespace prefix = xsl /&gt;&lt;xsl:stylesheet version="1.0" xsl="&lt;a href="&gt;&lt;xsl:output version="'1.0'" indent="'yes'/" encoding="'UTF-8'" method="'html'"&gt;&lt;xsl:template match="/"&gt; &lt;h2&gt;My CD Collection&lt;/h2&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#9acd32"&gt;&lt;th align="left"&gt;Title&lt;/th&gt;&lt;th align="left"&gt;Artist&lt;/th&gt;&lt;/tr&gt;&lt;xsl:for-each select="catalog/cd"&gt;&lt;tr&gt;&lt;td&gt;&lt;xsl:value-of select="title"&gt;&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select="artist"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/xsl:for-each&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:output&gt;&lt;br /&gt;&lt;xsl:output version="'1.0'" indent="'yes'/" encoding="'UTF-8'" method="'html'"&gt;&lt;xsl:value-of select="title"&gt;&lt;xsl:value-of select="artist"&gt;&lt;/xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/xsl:output&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115382712145602658?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115382712145602658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115382712145602658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382712145602658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382712145602658'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/07/xsl-projws-2.html' title='XSL ProjWS-2'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115382701340335824</id><published>2006-07-25T04:25:00.001-07:00</published><updated>2008-11-04T06:54:37.835-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSL'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>Web service for Transformation ProjWS -1</title><content type='html'>using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Diagnostics;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Services;&lt;br /&gt;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using System.Xml.Xsl;&lt;br /&gt;using System.Xml;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;namespace Xsl&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for MyService.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class MyService : System.Web.Services.WebService&lt;br /&gt;{&lt;br /&gt; public MyService()&lt;br /&gt; {&lt;br /&gt;  //CODEGEN: This call is required by the ASP.NET Web Services Designer&lt;br /&gt;  InitializeComponent();&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; #region Component Designer generated code&lt;br /&gt;&lt;br /&gt; //Required by the Web Services Designer&lt;br /&gt; private IContainer components = null;&lt;br /&gt;  &lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Required method for Designer support - do not modify&lt;br /&gt; /// the contents of this method with the code editor.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; private void InitializeComponent()&lt;br /&gt; {&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Clean up any resources being used.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; protected override void Dispose( bool disposing )&lt;br /&gt; {&lt;br /&gt;  if(disposing &amp;amp;&amp;amp; components != null)&lt;br /&gt;  {&lt;br /&gt;   components.Dispose();&lt;br /&gt;  }&lt;br /&gt;  base.Dispose(disposing); &lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; #endregion&lt;br /&gt;&lt;br /&gt; // WEB SERVICE EXAMPLE&lt;br /&gt; // The HelloWorld() example service returns the string Hello World&lt;br /&gt; // To build, uncomment the following lines then save and build the project&lt;br /&gt; // To test this web service, press F5&lt;br /&gt;&lt;br /&gt; [WebMethod]&lt;br /&gt; public string CallServices()&lt;br /&gt; {&lt;br /&gt;  string view = "";&lt;br /&gt;  SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;  SqlCommand cmd = new SqlCommand("select * from BrandMaster1 for xml raw",con);&lt;br /&gt;  con.Open();&lt;br /&gt;  XmlReader xr = cmd.ExecuteXmlReader();&lt;br /&gt;  xr.Read();&lt;br /&gt;  for(;xr.ReadState !=ReadState.EndOfFile;)&lt;br /&gt;  {&lt;br /&gt;   view += xr.ReadOuterXml();&lt;br /&gt;  }&lt;br /&gt;  view = "&lt;root&gt;" + view + "&lt;/root&gt;";&lt;br /&gt;  XmlDocument xmldom = new XmlDocument();&lt;br /&gt;  XslTransform xsltrans = new XslTransform();&lt;br /&gt;  MemoryStream ms = new MemoryStream();&lt;br /&gt;  StreamReader sr = new StreamReader(ms);&lt;br /&gt;  xmldom.LoadXml(view);&lt;br /&gt;  xsltrans.Load(Server.MapPath("newservices.xsl"));&lt;br /&gt;  xsltrans.Transform(xmldom,null,ms,null);&lt;br /&gt;  ms.Seek(0,SeekOrigin.Begin);&lt;br /&gt;  //divXsl.InnerHtml = sr.ReadToEnd();&lt;br /&gt;&lt;br /&gt;  string retval = sr.ReadToEnd();&lt;br /&gt;&lt;br /&gt;  return retval;&lt;br /&gt; }&lt;br /&gt; [WebMethod]&lt;br /&gt; public void CallEdit(int pkid,string brandcode,string brandname)&lt;br /&gt; { &lt;br /&gt;  string conss = "update BrandMaster1 set BrandCode = '"+ brandcode.ToString() +"'" + ",BrandName = '"+ brandname + "'" + " where pkid = '"+ pkid +"'";&lt;br /&gt;  SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;  SqlCommand cmd = new SqlCommand(conss,con);&lt;br /&gt;  con.Open();&lt;br /&gt;  SqlDataReader dr = cmd.ExecuteReader();&lt;br /&gt;  while (dr.Read())&lt;br /&gt;  {&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; [WebMethod]&lt;br /&gt; public void CallDelete(int pkid)&lt;br /&gt; {&lt;br /&gt;  string conss = "delete from BrandMaster1 " + " where pkid = '"+ pkid +"'";&lt;br /&gt;  SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;  SqlCommand cmd = new SqlCommand(conss,con);&lt;br /&gt;  con.Open();&lt;br /&gt;  SqlDataReader dr = cmd.ExecuteReader();&lt;br /&gt;  while (dr.Read())&lt;br /&gt;  {&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; [WebMethod]&lt;br /&gt; public string CallAssign(int pkid)&lt;br /&gt; {&lt;br /&gt;  string view = "";&lt;br /&gt;  SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["constring"]);&lt;br /&gt;  SqlCommand cmd = new SqlCommand("select * from BrandMaster1 " + "where pkid '"+ pkid +"' ",con);&lt;br /&gt;  con.Open();&lt;br /&gt;  XmlReader xr = cmd.ExecuteXmlReader();&lt;br /&gt;  xr.Read();&lt;br /&gt;  for(;xr.ReadState !=ReadState.EndOfFile;)&lt;br /&gt;  {&lt;br /&gt;   view += xr.ReadOuterXml();&lt;br /&gt;  }&lt;br /&gt;  view = "&lt;root&gt;" + view + "&lt;/root&gt;";&lt;br /&gt;  XmlDocument xmldom = new XmlDocument();&lt;br /&gt;  XslTransform xsltrans = new XslTransform();&lt;br /&gt;  MemoryStream ms = new MemoryStream();&lt;br /&gt;  StreamReader sr = new StreamReader(ms);&lt;br /&gt;  xmldom.LoadXml(view);&lt;br /&gt;  xsltrans.Load(Server.MapPath("newservices.xsl"));&lt;br /&gt;  xsltrans.Transform(xmldom,null,ms,null);&lt;br /&gt;  ms.Seek(0,SeekOrigin.Begin);&lt;br /&gt;  //divXsl.InnerHtml = sr.ReadToEnd();&lt;br /&gt;&lt;br /&gt;  string retval = sr.ReadToEnd();&lt;br /&gt;&lt;br /&gt;  return retval;&lt;br /&gt; }&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/24657923-115382701340335824?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115382701340335824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115382701340335824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382701340335824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382701340335824'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/07/we-service-for-transformation-projws-1.html' title='Web service for Transformation ProjWS -1'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-115382076642876454</id><published>2006-07-25T02:44:00.000-07:00</published><updated>2008-11-04T06:55:46.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Calling the Server-Side method asynchronously from Client Script</title><content type='html'>Client Callbacks&lt;br /&gt;&lt;br /&gt;Author  &lt;br /&gt;&lt;br /&gt;Dipen Lama&lt;br /&gt;&lt;br /&gt;Client Callbacks is a new feature of ASP.NET 2 which allow client side script to call server side method asynchronously without post back to fetch new data from server and change the display in client brower dynamically.&lt;br /&gt;&lt;br /&gt;Developer use JavaScript mainly to make the page more interactive and to avoid page postback. But there are often situation where post back of page is necessary to fetch new data from the server/database. Consider a scenerio where we have a dropdown list of Countries and a listbox of the cities. The listbox cities should display the cities based on the selected country from the dropdown list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now in this case we have to post back the page when the Country dropdown item is changes and fill the Cities listbox with the new items fetched form the database based on the Country selected. The simple way to do avoid postback is to use Client Callbacks where the JavaScript code will communicate with the server and refresh the Cities listbox without postback.&lt;br /&gt;&lt;br /&gt;The following procedure has to be followed to create Client Callbacks:&lt;br /&gt;&lt;br /&gt;Step 1:&lt;br /&gt;&lt;br /&gt;To receive the call back from the client the page must implement the ICallbackEventHandler interface.&lt;br /&gt;&lt;br /&gt;public partial class ClientCallbackPage : System.Web.UI.Page, ICallbackEventHandler&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Step 2:&lt;br /&gt;&lt;br /&gt;The ICallbackEventHandler has two methods RaiseCallBackEvent() that receives data from the client browser as a string agrument which is triggered first and GetCallbackResult() that provides the data to the client browser and is trigger next.&lt;br /&gt;&lt;br /&gt;In our example, we will pass the Selected Country value to the server in the RaiseCallBackEvent()&lt;br /&gt;&lt;br /&gt;public void RaiseCallbackEvent(string callbackEventArgument)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;       m_callbackEventArgument = callbackEventArgument;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;m_callbackEventArgument is a private string member variable and we will assign the selected country value passed from the client browser on it. Now in the GetCallbackResult() method we can retrieve the cities list for the selected country from the database or any other datastore and passed the cities list back to the client browser. Here in this example I have just hardcoded the cities list that is suppose to come from database.&lt;br /&gt;&lt;br /&gt;public string GetCallbackResult()&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;  string callbackResult = String.Empty;&lt;br /&gt;&lt;br /&gt;  if (m_callbackEventArgument.Equals("India"))&lt;br /&gt;&lt;br /&gt;  {&lt;br /&gt;&lt;br /&gt;     callbackResult += "New Delhi|New   &lt;br /&gt;                        Delhi;Mumbai|Mumbai;Kolkata|Kolkata;";&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  if (m_callbackEventArgument.Equals("China"))&lt;br /&gt;&lt;br /&gt;  {&lt;br /&gt;&lt;br /&gt;     callbackResult += "Bejing|Bejing;Shanghai|Shanghai;Xian|Xian;";&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  return callbackResult;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The main limitation of ASP.NET Client Callback is that you can send data to the client only as a single string. So, we are sending the cities list to the client browser as string seperated with ";" character and "|" character to separte the text and value field of the city. If you have to pass a complex data such as your collection of business object data then you need to design a way to serialize the data into string and deserialize the string on the client browser with JavaScript. One way is have a xml string and passed it and on the client side it can be parsed with JavaScript either with the built in xml parser or your own.&lt;br /&gt;&lt;br /&gt;Step 3:&lt;br /&gt;&lt;br /&gt;The third step is to write a client script which will receive the data from the server and deserialize it and display it on the browser. We can give any name to the JavaScript method which handles the callback response from the server but should have two arguments.&lt;br /&gt;&lt;br /&gt;function ClientCallbackScript(result, context)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt; var lstCity = document.forms[0].elements['lstCity'];&lt;br /&gt;&lt;br /&gt; lstCity.innerHTML= "";&lt;br /&gt;&lt;br /&gt; var cities = result.split(';');&lt;br /&gt;&lt;br /&gt; for (var i = 0; i &lt; cities.length - 1; ++i)&lt;br /&gt;&lt;br /&gt; {&lt;br /&gt;&lt;br /&gt;   var properties = cities[i].split('|');&lt;br /&gt;&lt;br /&gt;   var cityName = properties[0];&lt;br /&gt;&lt;br /&gt;   var cityId = properties[1];&lt;br /&gt;&lt;br /&gt;   var option = document.createElement("option");&lt;br /&gt;&lt;br /&gt;   option.value = cityId;&lt;br /&gt;&lt;br /&gt;   option.innerHTML = cityName;&lt;br /&gt;&lt;br /&gt;   lstCity.appendChild(option);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Here the result parameter holds the data that is send by the server and now this has to be parsed and filled up in the cities listbox.&lt;br /&gt;&lt;br /&gt;Step 4:&lt;br /&gt;&lt;br /&gt;Now the final step is to define the event in which the Callback trigger is fired. Here in our case we will define the Callback trigger to fire on the Country dropdown list changed event.&lt;br /&gt;&lt;br /&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;  if (! Page.IsPostBack)&lt;br /&gt;&lt;br /&gt;  {&lt;br /&gt;&lt;br /&gt;      FillCountryList();&lt;br /&gt;&lt;br /&gt;      FillCityList(ddlCountry.SelectedValue);&lt;br /&gt;&lt;br /&gt;      string callbackEventReference =   &lt;br /&gt;      Page.ClientScript.GetCallbackEventReference(this,&lt;br /&gt;        "document.all['ddlCountry'].value", "ClientCallbackScript",  &lt;br /&gt;        "null");&lt;br /&gt;&lt;br /&gt;      ddlCountry.Attributes["onclick"] = callbackEventReference;&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The Page.ClientScript.GetCallbackEventReference returns a JavaScript code that calls the Client Callback. The first agruments it take is the ICallBackEventHandler object that will handle the callback that is the page itself in our case. The second argument is the data that the client browser will pass to the server i.e selected Country from the dropdown list. The third argument is the name of the JavaScript method that will receive the data from the server callback. And the last argument is the Context information that we want to pass. Here we are passing null.&lt;br /&gt;&lt;br /&gt;Below is the complete sequence diagram of the above process&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;About the author  &lt;br /&gt;Dipen Lama&lt;br /&gt;&lt;br /&gt;Dipen is a .Net Developer and has over 3yrs of experience in ASP.NET, VB.NET and C#. Dipen interest is in Smart Client, DotNetNuke, Sharepoint Webpart and Atlas&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-115382076642876454?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/115382076642876454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=115382076642876454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382076642876454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/115382076642876454'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/07/calling-server-side-method.html' title='Calling the Server-Side method asynchronously from Client Script'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114907312613415664</id><published>2006-05-31T03:52:00.000-07:00</published><updated>2008-11-04T06:56:38.465-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Multi Lingual page ASP.NET</title><content type='html'>Here the commented part would be the client side calling in ASP.NET file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.SessionState;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Resources;&lt;br /&gt;&lt;br /&gt;namespace NewMultiLingual&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for WebForm1.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class WebForm1 : System.Web.UI.Page&lt;br /&gt;{&lt;br /&gt;protected System.Web.UI.WebControls.Literal usernameLabel;&lt;br /&gt;protected System.Web.UI.WebControls.TextBox username;&lt;br /&gt;protected System.Web.UI.WebControls.Literal passwordLabel;&lt;br /&gt;protected System.Web.UI.WebControls.TextBox password;&lt;br /&gt;protected System.Web.UI.WebControls.Button login;&lt;br /&gt;&lt;br /&gt;private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;ResourceManager Rm1 = new ResourceManager("NewMultiLingual.Resource",System.Reflection.Assembly.GetExecutingAssembly());&lt;br /&gt;usernameLabel.Text = Rm1.GetString("Username");&lt;br /&gt;passwordLabel.Text = Rm1.GetString("Password");&lt;br /&gt;login.Text = Rm1.GetString("Login");&lt;br /&gt;// Put user code to initialize the page here&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#region Web Form Designer generated code&lt;br /&gt;override protected void OnInit(EventArgs e)&lt;br /&gt;{&lt;br /&gt;//&lt;br /&gt;// CODEGEN: This call is required by the ASP.NET Web Form Designer.&lt;br /&gt;//&lt;br /&gt;InitializeComponent();&lt;br /&gt;base.OnInit(e);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Required method for Designer support - do not modify&lt;br /&gt;/// the contents of this method with the code editor.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;private void InitializeComponent()&lt;br /&gt;{&lt;br /&gt;this.Load += new System.EventHandler(this.Page_Load);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;#endregion&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Make Global.asax.cs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;protected void Application_BeginRequest(Object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;string lang = Request.QueryString["lang"];&lt;br /&gt;string culturename = "en-US";&lt;br /&gt;if (lang!= " ")&lt;br /&gt;{&lt;br /&gt;switch(lang)&lt;br /&gt;{&lt;br /&gt;case "f":&lt;br /&gt;culturename = "fr-CA";&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case "ca":&lt;br /&gt;culturename = "en-CA";&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case "ta":&lt;br /&gt;culturename = "ta-IN";&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;// default:&lt;br /&gt;// culturename = "en-US" ;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CultureInfo Ci = new CultureInfo(culturename);&lt;br /&gt;//Thread.CurrentThread.CurrentCulture = Ci;&lt;br /&gt;Thread.CurrentThread.CurrentUICulture = Ci;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;make appropriate additions in resource files&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114907312613415664?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114907312613415664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114907312613415664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114907312613415664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114907312613415664'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/05/multi-lingual-page-aspnet.html' title='Multi Lingual page ASP.NET'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114795143571435140</id><published>2006-05-18T04:19:00.000-07:00</published><updated>2008-11-04T07:05:30.240-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Spell Check Software</title><content type='html'>First  add a reference of Microsoft word object library&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt;using System.Data;&lt;br /&gt;namespace SpellBound1&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for Form1.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class Form1 : System.Windows.Forms.Form&lt;br /&gt;{&lt;br /&gt;private System.Windows.Forms.TextBox textBox1;&lt;br /&gt;private System.Windows.Forms.Button button1;&lt;br /&gt;private System.Windows.Forms.Label label1;&lt;br /&gt;private System.Windows.Forms.Label label2;&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Required designer variable.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;private System.ComponentModel.Container components = null;&lt;br /&gt;public Form1()&lt;br /&gt;{&lt;br /&gt;//&lt;br /&gt;// Required for Windows Form Designer support&lt;br /&gt;//&lt;br /&gt;InitializeComponent();&lt;br /&gt;//&lt;br /&gt;// TODO: Add any constructor code after InitializeComponent call&lt;br /&gt;//&lt;br /&gt;}&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Clean up any resources being used.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;protected override void Dispose( bool disposing )&lt;br /&gt;{&lt;br /&gt;if( disposing )&lt;br /&gt;{&lt;br /&gt;if (components != null)&lt;br /&gt;{&lt;br /&gt;components.Dispose();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;base.Dispose( disposing );&lt;br /&gt;}&lt;br /&gt;#region Windows Form Designer generated code&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Required method for Designer support - do not modify&lt;br /&gt;/// the contents of this method with the code editor.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;private void InitializeComponent()&lt;br /&gt;{&lt;br /&gt;this.textBox1 = new System.Windows.Forms.TextBox();&lt;br /&gt;this.button1 = new System.Windows.Forms.Button();&lt;br /&gt;this.label1 = new System.Windows.Forms.Label();&lt;br /&gt;this.label2 = new System.Windows.Forms.Label();&lt;br /&gt;this.SuspendLayout();&lt;br /&gt;//&lt;br /&gt;// textBox1&lt;br /&gt;//&lt;br /&gt;this.textBox1.Location = new System.Drawing.Point(24, 80);&lt;br /&gt;this.textBox1.Name = "textBox1";&lt;br /&gt;this.textBox1.Size = new System.Drawing.Size(168, 20);&lt;br /&gt;this.textBox1.TabIndex = 0;&lt;br /&gt;this.textBox1.Text = "";&lt;br /&gt;//&lt;br /&gt;// button1&lt;br /&gt;//&lt;br /&gt;this.button1.Location = new System.Drawing.Point(240, 80);&lt;br /&gt;this.button1.Name = "button1";&lt;br /&gt;this.button1.TabIndex = 1;&lt;br /&gt;this.button1.Text = "Check";&lt;br /&gt;this.button1.Click += new System.EventHandler(this.button1_Click);&lt;br /&gt;//&lt;br /&gt;// label1&lt;br /&gt;//&lt;br /&gt;this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;this.label1.Location = new System.Drawing.Point(24, 32);&lt;br /&gt;this.label1.Name = "label1";&lt;br /&gt;this.label1.Size = new System.Drawing.Size(296, 32);&lt;br /&gt;this.label1.TabIndex = 2;&lt;br /&gt;this.label1.Text = "Enter a word or sentence to check the spelling";&lt;br /&gt;//&lt;br /&gt;// label2&lt;br /&gt;//&lt;br /&gt;this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;this.label2.Location = new System.Drawing.Point(24, 112);&lt;br /&gt;this.label2.Name = "label2";&lt;br /&gt;this.label2.Size = new System.Drawing.Size(288, 23);&lt;br /&gt;this.label2.TabIndex = 3;&lt;br /&gt;this.label2.Click += new System.EventHandler(this.label2_Click);&lt;br /&gt;//&lt;br /&gt;// Form1&lt;br /&gt;//&lt;br /&gt;this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;this.ClientSize = new System.Drawing.Size(400, 149);&lt;br /&gt;this.Controls.Add(this.label2);&lt;br /&gt;this.Controls.Add(this.label1);&lt;br /&gt;this.Controls.Add(this.button1);&lt;br /&gt;this.Controls.Add(this.textBox1);&lt;br /&gt;this.Name = "Form1";&lt;br /&gt;this.Text = "Form1";&lt;br /&gt;this.Load += new System.EventHandler(this.Form1_Load);&lt;br /&gt;this.ResumeLayout(false);&lt;br /&gt;}&lt;br /&gt;#endregion&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// The main entry point for the application.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;[STAThread]&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;Application.Run(new Form1());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void button1_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;string strchk = textBox1.Text;&lt;br /&gt;Boolean bresult;&lt;br /&gt;string strreturn;&lt;br /&gt;string res;&lt;br /&gt;Object filler = null;&lt;br /&gt;Word.Application appword = null;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;appword = new Word.ApplicationClass();&lt;br /&gt;bresult = appword.CheckSpelling(strchk,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler,ref filler);&lt;br /&gt;if(bresult == true)&lt;br /&gt;{&lt;br /&gt;res = "correct";&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;res = "not correct";&lt;br /&gt;}&lt;br /&gt;strreturn = "The given text is " + res;&lt;br /&gt;}&lt;br /&gt;catch(Exception Ex)&lt;br /&gt;{&lt;br /&gt;strreturn = "Exception occured "+ Ex.Message;&lt;br /&gt;}&lt;br /&gt;finally&lt;br /&gt;{&lt;br /&gt;if(appword!=null)&lt;br /&gt;{&lt;br /&gt;appword.Quit(ref filler,ref filler,ref filler);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;label2.Text = strreturn;&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/24657923-114795143571435140?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114795143571435140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114795143571435140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114795143571435140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114795143571435140'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/05/spell-check-software.html' title='Spell Check Software'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114585269648785931</id><published>2006-04-23T21:24:00.000-07:00</published><updated>2008-11-04T07:05:52.577-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Web applications vs Client-Server Applications</title><content type='html'>Web applications vs Client-Server Applications&lt;br /&gt;&lt;br /&gt;In this article I discuss the differences between thin (web-based) clients and thick (desktop) clients, and attempt to help&lt;br /&gt;answer an often asked question: "Should this business system we want to develop be a web-application?"&lt;br /&gt;Web applications, sometimes called "thin client" solutions, are concerned with performing business tasks through a web&lt;br /&gt;interface. Usually, this involves viewing and manipulating data in a database.&lt;br /&gt;&lt;br /&gt;They are typically deployed on an intranet or extranet, with access restricted by passwords or other methods.&lt;br /&gt;&lt;br /&gt;Client-Server applications, or "Thick Client" solutions, are the more traditional way of doing things. The "server" side&lt;br /&gt;often has a "middle layer" inbetween the client and the database, this is called a "3-tier" solution. Sometimes there are&lt;br /&gt;multiple middle layers which interract, and this is called an "n-tier" solution. Sometimes there are thin-clients and thickclients&lt;br /&gt;interracting with the same back-end systems.&lt;br /&gt;&lt;br /&gt;Larger systems will sometimes have a combination of thin-client and thick-client front-ends which interract with various&lt;br /&gt;bits of "middleware" that in turn interract with one or more databases.&lt;br /&gt;&lt;br /&gt;In this article I will ignore the server side and focus on the differences between thin (web-based) clients and thick&lt;br /&gt;(desktop) clients, and I will attempt to help answer a question often asked "Should this business system we want to&lt;br /&gt;develop be a web-application?"&lt;br /&gt;&lt;br /&gt;h2. Points to consider:&lt;br /&gt;&lt;br /&gt;h3. Flexibility in interface design&lt;br /&gt;&lt;br /&gt;How often witll the users be using the system? Essentially the more the system gets used and the more complex the&lt;br /&gt;tasks the greater opportunity to take advantage of the richer set of controls available in a thick-client.&lt;br /&gt;&lt;br /&gt;Modern browsers allow for a much richer range of interraction than was possible previously, but it's still a lot easier to&lt;br /&gt;design a good user interface using a desktop application design system. It simply takes a lot of javacript to acheive&lt;br /&gt;some of what is easy in a visual development enviromnent like VB or Delphi.&lt;br /&gt;&lt;br /&gt;There are a much larger collection of components available for&lt;br /&gt;Precise positioning of controls/windows, sizing of fonts, etc, is a little easier with a desktop app.&lt;br /&gt;&lt;br /&gt;It's much easier to do realtime screen updates with a desktop app. For instance updating a view of matching records&lt;br /&gt;from a "find" field in realtime - an invaluable feature in Mozilla's mail applications.&lt;br /&gt;Slider bars, gauges, pop-up calendars, extensive-menuing, dockable-windows, tree-widgets, etc, are easier to implement&lt;br /&gt;on a thick-client.&lt;br /&gt;&lt;br /&gt;Many of these can be done with ActiveX or Java based controls for a web app, but it requires more time and effort than a&lt;br /&gt;desktop app, and the result tends to be "clunkier".&lt;br /&gt;&lt;br /&gt;h3. Reports&lt;br /&gt;* Do your reports have complex printing requirements? (eg multiple printers, multiple sizes, landscape vs portrait,&lt;br /&gt;controlled pagination) These are considerably more diffcult to handle with a web-application.&lt;br /&gt;&lt;br /&gt;h3. Usage&lt;br /&gt;# How many hours/minutes will staff spend using this application every week?&lt;br /&gt;* The more time spent in the application, the more likely it's worth going to the extra level of customization offered by a&lt;br /&gt;desktop app.&lt;br /&gt;&lt;br /&gt;Deployment Issues&lt;br /&gt;&lt;br /&gt;# How distributed are your staff?&lt;br /&gt;# How many of them are there?&lt;br /&gt;# Are they technically literate? Would you trust them to update a thick-client on their own?&lt;br /&gt;* Web applications do not need to be installed and upgraded across many PC's, saving time and hassle.&lt;br /&gt;* Thick client software can include the ability to self-update over the internet. This is not trivial to implement, however,&lt;br /&gt;and may cause unpredictable problems on some computers.&lt;br /&gt;* If the software is likely to be regularly updated, web-applications or self-updating thick clients will save a lot of time.&lt;br /&gt;&lt;br /&gt;http://apposite.co.nz/apposite - Apposite Internet Solutions Powered by Mambo Open Source Generated: 24 April, 2006, 16:13&lt;br /&gt;h3. Do your staff all use the same operating system?&lt;br /&gt;&lt;br /&gt;* Multiple operating systems make problems for desktop apps just as multiple browser types make problems for webapplications.&lt;br /&gt;Differences between windows versions can usually be handled, differences between Windows, Mac, and&lt;br /&gt;Unix usually require considerable effort to handle!&lt;br /&gt;&lt;br /&gt;* Writing a desktop app that works on windows and macs more or less requires using Java, and it's difficult to make the&lt;br /&gt;interface comfortable to either, let alone both. In some cases writing one client for each may be a better solution.&lt;br /&gt;* Microsoft's .NET platform may also work on multiple O/S's in the future but will have it's own pitfalls.&lt;br /&gt;&lt;br /&gt;* The usual hurdle that has to be faced is writing for different versions of windows - many old applications do not work&lt;br /&gt;well on Microsoft XP, and applications written for NT/2000/XP sometimes have trouble running on Win9x/ME&lt;br /&gt;&lt;br /&gt;h3. Do your staff all use the same web browser?&lt;br /&gt;&lt;br /&gt;* I don't recommend attempting to deploy web-applications if the users are using Netscape 4.x or IE3.x, but if anyone is&lt;br /&gt;still using these browsers upgrading them should be a priority as half the web is probably looking broken right now.&lt;br /&gt;* These days no one would consider writing a web-application for Netscape 4.x, it has too many bugs in it's dynamic html&lt;br /&gt;engine, and it is not at all standards-compliant. Writing for IE4+ or IE5+ has fewer pitfalls.&lt;br /&gt;Netscape 6/7 and Mozilla 1.x are broadly compatible with IE5+ but there will be a few small issues to sort out.&lt;br /&gt;* Do note that IE for Mac is a different browser to IE for Windows from the point of view of a web application.&lt;br /&gt;&lt;br /&gt;Do your staff always work at the same PC or do they move around?&lt;br /&gt;&lt;br /&gt;* Web applications have the advantage of being available from anywhere, and any personalisation features are available&lt;br /&gt;from wherever the user is.&lt;br /&gt;* But web applications will sometimes run into trouble if the web-browser is not configured properly for the application -&lt;br /&gt;this problem can be minimised if the web application is designed to run in multiple environments.&lt;br /&gt;&lt;br /&gt;h3. Security Issues&lt;br /&gt;&lt;br /&gt;* Web applications that may be used in a shared enviroment obviously have security implications. For instance many&lt;br /&gt;browsers allow you to save passwords, and if this is done subsequent users of the browser may find they can access the&lt;br /&gt;application.&lt;br /&gt;&lt;br /&gt;h3. Key points&lt;br /&gt;&lt;br /&gt;h4. Key Advantages for Client-Server Applications&lt;br /&gt;* Flexibility in interface design&lt;br /&gt;* Speed in execution&lt;br /&gt;&lt;br /&gt;h4. Key Advantages for Web Applications&lt;br /&gt;* Ease of deployment&lt;br /&gt;* Ease of software updates&lt;br /&gt;&lt;br /&gt;h3. How to get the best of both worlds?&lt;br /&gt;&lt;br /&gt;Don't put all your eggs in one basket. Deploy smaller applications that accomplish different tasks, eg data-entry, dataanalysis,&lt;br /&gt;and reporting. Look at the specifics of each task, and see whether a web-application is more suitable. However&lt;br /&gt;this may involve using multiple solution providers, which has it's own pitfalls. If you can find a company that has abilities&lt;br /&gt;in both toolsets, they may well suggest such a hybrid themselves.&lt;br /&gt;&lt;br /&gt;h4. Key points if using a hybrid approach:&lt;br /&gt;* Store all your data in one location to avoid the hassles of duplication, inconsistency, and double-entry.&lt;br /&gt;* Use a client-server database. File based databases are inadequate for multiple access applications and will usually just&lt;br /&gt;lead to grief.&lt;br /&gt;&lt;br /&gt;h4. "Rich" Web Applications&lt;br /&gt;&lt;br /&gt;Java - Embedding Java Applets into a web pages allows one to add fancier functionality at the cost of increased&lt;br /&gt;download time and reduced compatibility. In some csaes it's absolutely appropriate.&lt;br /&gt;&lt;br /&gt;XUL - This is a widget toolset built into Mozilla based web browsers. I've never tried it, but potentially this will give you all&lt;br /&gt;the advantages of DHTML applications with a but with a much larger set of controls. You'll need to find an experienced&lt;br /&gt;developer, and your userbased will need to be standardised on a Mozilla client - I recommend&lt;br /&gt;http://apposite.co.nz/apposite - Apposite Internet Solutions Powered by Mambo Open Source Generated: 24 April, 2006, 16:13&lt;br /&gt;"Firefox":http://www.mozilla.org/products/firefox/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* If you want some advice on a specific project, contact me.&lt;br /&gt;http://apposite.co.nz/apposite - Apposite Internet Solutions Powered by Mambo Open Source Generated: 24 April, 2006, 16:13&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114585269648785931?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114585269648785931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114585269648785931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114585269648785931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114585269648785931'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/04/web-applications-vs-client-server.html' title='Web applications vs Client-Server Applications'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114544715147261681</id><published>2006-04-19T04:41:00.000-07:00</published><updated>2008-11-04T07:06:18.343-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><category scheme='http://www.blogger.com/atom/ns#' term='Interview Questions'/><title type='text'>FAQ</title><content type='html'>ASP.NET&lt;br /&gt;&lt;br /&gt;Why asp.net?&lt;br /&gt;&lt;br /&gt;Enhanced Performance.&lt;br /&gt;World-Class Tool Support.&lt;br /&gt;Power and Flexibility.&lt;br /&gt;Simplicity.&lt;br /&gt;Manageability.&lt;br /&gt;Scalability and Availability.&lt;br /&gt;Customizability and Extensibility.&lt;br /&gt;Security.&lt;br /&gt;&lt;br /&gt;And&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetjunkies.com/quickstart/aspplus/doc/whatisaspx.aspx"&gt;http://www.dotnetjunkies.com/quickstart/aspplus/doc/whatisaspx.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114544715147261681?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114544715147261681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114544715147261681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114544715147261681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114544715147261681'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/04/faq.html' title='FAQ'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114464962163450316</id><published>2006-04-09T23:13:00.000-07:00</published><updated>2008-11-04T07:06:38.751-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><title type='text'>xml</title><content type='html'>&lt;a name="understxml_topic1"&gt;&lt;/a&gt;&lt;span style="color: rgb(51, 0, 51);"&gt;Introduction &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.w3.org/TR/REC-xml"&gt;Extensible Markup Language (XML)&lt;/a&gt; was originally envisioned as a language for defining new document formats for the World Wide Web. XML is derived from the &lt;a href="http://xml.coverpages.org/sgml.html"&gt;Standard Generalized Markup Language (SGML)&lt;/a&gt;, and can be considered to be a meta-language: a language for defining markup languages.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Advantages&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;XML-&lt;br /&gt;&lt;br /&gt;was designed to describe data&lt;br /&gt;tags are not predefined. You must define your own tags&lt;br /&gt;uses a Document Type Definition (DTD) or an XML Schema to describe the data&lt;br /&gt;with a DTD or XML Schema is designed to be self-descriptive&lt;br /&gt;is a W3C Recommendation&lt;br /&gt;&lt;br /&gt;&lt;a name="understxml_topic5"&gt;&lt;/a&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;&lt;/span&gt;&lt;br /&gt;XML is more than just a text format for describing documents. It brings us one step closer to universal data access.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;What Is MSXML?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Microsoft XML Core Services (MSXML) allows customers to build high-performance XML-based applications that provide a high degree of interoperability with other applications that adhere to the XML 1.0 standard.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Links&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/UnderstXML.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/UnderstXML.asp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114464962163450316?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114464962163450316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114464962163450316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114464962163450316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114464962163450316'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/04/xml.html' title='xml'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114406587106578788</id><published>2006-04-03T05:04:00.000-07:00</published><updated>2008-11-04T07:07:09.925-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Concepts'/><title type='text'>Pointers</title><content type='html'>&lt;a href="http://www.cs.cf.ac.uk/Dave/C/node10.html#SECTION001010000000000000000"&gt;Pointers&lt;/a&gt;:&lt;br /&gt;"Pointers&lt;br /&gt;&lt;br /&gt;Pointer are a fundamental part of C. If you cannot use pointers properly then you have basically lost all the power and flexibility that C allows. The secret to C is in its use of pointers.&lt;br /&gt;C uses pointers a lot. Why?:&lt;br /&gt;It is the only way to express some computations.&lt;br /&gt;It produces compact and efficient code.&lt;br /&gt;It provides a very powerful tool.&lt;br /&gt;C uses pointers explicitly with:&lt;br /&gt;Arrays,&lt;br /&gt;Structures,&lt;br /&gt;Functions.&lt;br /&gt;NOTE: Pointers are perhaps the most difficult part of C to understand. C's implementation is slightly different DIFFERENT from other languages. "&lt;br /&gt;&lt;br /&gt;What is a pointer?&lt;br /&gt;One of those things beginners in C find difficult is the concept of pointers. The purpose of this tutorial is to provide an introduction to pointers and their use to these beginners.&lt;br /&gt;I have found that often the main reason beginners have a problem with pointers is that they have a weak or minimal feeling for variables, (as they are used in C). Thus we start with a discussion of C variables in general.&lt;br /&gt;A variable in a program is something with a name, the value of which can vary. The way the compiler and linker handles this is that it assigns a specific block of memory within the computer to hold the value of that variable. The size of that block depends on the range over which the variable is allowed to vary. For example, on 32 bit PC's the size of an integer variable is 4 bytes. On older 16 bit PCs integers were 2 bytes. In C the size of a variable type such as an integer need not be the same on all types of machines. Further more there is more than one type of integer variable in C. We have integers, long integers and short integers which you can read up on in any basic text on C. This document assumes the use of a 32 bit system with 4 byte integers.&lt;br /&gt;If you want to know the size of the various types of integers on your system, running the following code will give you that information.&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;int main(){printf("size of a short is %d\n", sizeof(short));printf("size of a int is %d\n", sizeof(int));printf("size of a long is %d\n", sizeof(long));}&lt;br /&gt;When we declare a variable we inform the compiler of two things, the name of the variable and the type of the variable. For example, we declare a variable of type integer with the name k by writing: int k;&lt;br /&gt;On seeing the "int" part of this statement the compiler sets aside 4 bytes of memory (on a PC) to hold the value of the integer. It also sets up a symbol table. In that table it adds the symbol k and the relative address in memory where those 4 bytes were set aside.&lt;br /&gt;Thus, later if we write: k = 2;&lt;br /&gt;we expect that, at run time when this statement is executed, the value 2 will be placed in that memory location reserved for the storage of the value of k. In C we refer to a variable such as the integer k as an "object".&lt;br /&gt;In a sense there are two "values" associated with the object k. One is the value of the integer stored there (2 in the above example) and the other the "value" of the memory location, i.e., the address of k. Some texts refer to these two values with the nomenclature rvalue (right value, pronounced "are value") and lvalue (left value, pronounced "el value") respectively.&lt;br /&gt;In some languages, the lvalue is the value permitted on the left side of the assignment operator '=' (i.e. the address where the result of evaluation of the right side ends up). The rvalue is that which is on the right side of the assignment statement, the 2 above. Rvalues cannot be used on the left side of the assignment statement. Thus: 2 = k; is illegal.&lt;br /&gt;Actually, the above definition of "lvalue" is somewhat modified for C. According to K&amp;amp;R II (page 197): [1]&lt;br /&gt;"An object is a named region of storage; an lvalue is an expression referring to an object."&lt;br /&gt;However, at this point, the definition originally cited above is sufficient. As we become more familiar with pointers we will go into more detail on this.&lt;br /&gt;Okay, now consider: int j, k;&lt;br /&gt;k = 2;&lt;br /&gt;j = 7; &lt;-- line 1 k = j; &lt;-- line 2 In the above, the compiler interprets the j in line 1 as the address of the variable j (its lvalue) and creates code to copy the value 7 to that address. In line 2, however, the j is interpreted as its rvalue (since it is on the right hand side of the assignment operator '='). That is, here the j refers to the value stored at the memory location set aside for j, in this case 7. So, the 7 is copied to the address designated by the lvalue of k. In all of these examples, we are using 4 byte integers so all copying of rvalues from one storage location to the other is done by copying 4 bytes. Had we been using two byte integers, we would be copying 2 bytes. Now, let's say that we have a reason for wanting a variable designed to hold an lvalue (an address). The size required to hold such a value depends on the system. On older desk top computers with 64K of memory total, the address of any point in memory can be contained in 2 bytes. Computers with more memory would require more bytes to hold an address. The actual size required is not too important so long as we have a way of informing the compiler that what we want to store is an address. Such a variable is called a pointer variable (for reasons which hopefully will become clearer a little later). In C when we define a pointer variable we do so by preceding its name with an asterisk. In C we also give our pointer a type which, in this case, refers to the type of data stored at the address we will be storing in our pointer. For example, consider the variable declaration: int *ptr; ptr is the name of our variable (just as k was the name of our integer variable). The '*' informs the compiler that we want a pointer variable, i.e. to set aside however many bytes is required to store an address in memory. The int says that we intend to use our pointer variable to store the address of an integer. Such a pointer is said to "point to" an integer. However, note that when we wrote int k; we did not give k a value. If this definition is made outside of any function ANSI compliant compilers will initialize it to zero. Similarly, ptr has no value, that is we haven't stored an address in it in the above declaration. In this case, again if the declaration is outside of any function, it is initialized to a value guaranteed in such a way that it is guaranteed to not point to any C object or function. A pointer initialized in this manner is called a "null" pointer. The actual bit pattern used for a null pointer may or may not evaluate to zero since it depends on the specific system on which the code is developed. To make the source code compatible between various compilers on various systems, a macro is used to represent a null pointer. That macro goes under the name NULL. Thus, setting the value of a pointer using the NULL macro, as with an assignment statement such as ptr = NULL, guarantees that the pointer has become a null pointer. Similarly, just as one can test for an integer value of zero, as in if(k == 0), we can test for a null pointer using if (ptr == NULL). But, back to using our new variable ptr. Suppose now that we want to store in ptr the address of our integer variable k. To do this we use the unary &amp;amp; operator and write: ptr = &amp;amp;amp;amp;amp;amp;k; What the &amp;amp; operator does is retrieve the lvalue (address) of k, even though k is on the right hand side of the assignment operator '=', and copies that to the contents of our pointer ptr. Now, ptr is said to "point to" k. Bear with us now, there is only one more operator we need to discuss. The "dereferencing operator" is the asterisk and it is used as follows: *ptr = 7; will copy 7 to the address pointed to by ptr. Thus if ptr "points to" (contains the address of) k, the above statement will set the value of k to 7. That is, when we use the '*' this way we are referring to the value of that which ptr is pointing to, not the value of the pointer itself. Similarly, we could write: printf("%d\n",*ptr); to print to the screen the integer value stored at the address pointed to by ptr;. One way to see how all this stuff fits together would be to run the following program and then review the code and the output carefully. ------------ Program 1.1 --------------------------------- /* Program 1.1 from PTRTUT10.TXT 6/10/97 */ #include &lt;stdio.h&gt;&lt;br /&gt;int j, k;&lt;br /&gt;int *ptr;&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt;j = 1;&lt;br /&gt;k = 2;&lt;br /&gt;ptr = &amp;k;&lt;br /&gt;printf("\n");&lt;br /&gt;printf("j has the value %d and is stored at %p\n", j, (void *)&amp;amp;j);&lt;br /&gt;printf("k has the value %d and is stored at %p\n", k, (void *)&amp;amp;k);&lt;br /&gt;printf("ptr has the value %p and is stored at %p\n", ptr, (void *)&amp;amp;ptr);&lt;br /&gt;printf("The value of the integer pointed to by ptr is %d\n", *ptr);&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;Note: We have yet to discuss those aspects of C which require the use of the (void *) expression used here. For now, include it in your test code. We'll explain the reason behind this expression later.&lt;br /&gt;To review:&lt;br /&gt;A variable is declared by giving it a type and a name (e.g. int k;)&lt;br /&gt;A pointer variable is declared by giving it a type and a name (e.g. int *ptr) where the asterisk tells the compiler that the variable named ptr is a pointer variable and the type tells the compiler what type the pointer is to point to (integer in this case).&lt;br /&gt;Once a variable is declared, we can get its address by preceding its name with the unary &amp;amp; operator, as in &amp;amp;k.&lt;br /&gt;We can "dereference" a pointer, i.e. refer to the value of that which it points to, by using the unary '*' operator as in *ptr.&lt;br /&gt;An "lvalue" of a variable is the value of its address, i.e. where it is stored in memory. The "rvalue" of a variable is the value stored in that variable (at that address).&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Automatic memory management &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Automatic memory management is one of the services that the common language runtime provides during &lt;a href="http://msdn.microsoft.com/library/en-us/cpguide/html/cpconManagedExecution.asp"&gt;Managed Execution&lt;/a&gt;. The common language runtime's garbage collector manages the allocation and release of memory for an application. For developers, this means that you do not have to write code to perform memory management tasks when you develop managed applications. Automatic memory management can eliminate common problems, such as forgetting to free an object and causing a memory leak, or attempting to access memory for an object that has already been freed. This section describes how the garbage collector allocates and releases memory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 255);"&gt;Techniques&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Optimal memory managers would be common if they were easily built. They are scarce, so you can expect that a variety of subtle techniques are needed even to approach the optimum.&lt;br /&gt;One such technique is to treat different request sizes differently. In most programs, small blocks are requested overwhelmingly more often than large blocks, so both time and space overhead for them is felt disproportionately.&lt;br /&gt;Another technique results from noting that there are only a few different sizes possible for very small blocks, so that each such size may be handled separately. We can even afford to keep a vector of free block lists for those few sizes.&lt;br /&gt;A third is to avoid system call overhead by requesting memory from the operating system in big chunks, and by not touching unused (and possibly paged-out) blocks unnecessarily. This means data structures consulted to find a block to allocate should be stored compactly, apart from the unused blocks they describe.&lt;br /&gt;The final, and most important, technique is to exploit address arithmetic which, while not strictly portable according to language standards, works well on all modern flat-memory architectures. A pointer value can be treated as an integer, and bitwise logical operations may be used on it to yield a new pointer value. In particular, the low bits may be masked off to yield a pointer to a header structure that describes the block pointed to. In this way a block need not contain a pointer to that information. Furthermore, many blocks can share the same header, amortizing its overhead across all. (This technique is familiar in the LISP community, where it is known as "page-tagging".)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="cpconpointers"&gt;&lt;/a&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;Pointers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Pointers are special kinds of variables. There are three kinds of pointers supported by the runtime: managed pointers, unmanaged pointers, and unmanaged function pointers.&lt;br /&gt;A managed pointer, also known as a __gc pointer, is a new type of pointer available to managed applications. Managed pointers are references to a managed block of memory from the common language runtime heap. Automatic garbage collection is performed on this heap. Managed pointers are generated for method arguments that are passed by reference. Some languages provide other ways of generating managed pointers. Only managed pointers are CLS-compliant.&lt;br /&gt;An unmanaged pointer is the traditional C++ pointer to an unmanaged block of memory from the standard C++ heap. Because unmanaged pointers are not part of the Common Language Specification (CLS), your language might not provide syntax to define or access these types. See the documentation for your language for information on support for unmanaged pointers.&lt;br /&gt;An unmanaged function pointer is also a traditional C++ pointer that refers to the address of a function. The CLS provides &lt;a href="http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondelegates.asp"&gt;delegates&lt;/a&gt; as a managed alternative to unmanaged function pointers.&lt;br /&gt;An explicit definition of a pointer type is not required. All the information necessary to determine the type of a pointer is present when the pointer is declared.&lt;br /&gt;While pointer types are reference types, the value of a pointer type is not an object and you cannot determine the exact type from such a value.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconautomaticmemorymanagement.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconautomaticmemorymanagement.asp&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://home.netcom.com/%7Etjensen/ptr/ch1x.htm"&gt;http://home.netcom.com/~tjensen/ptr/ch1x.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cantrip.org/wave12.html"&gt;http://www.cantrip.org/wave12.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.augustcouncil.com/%7Etgibson/tutorial/ptr.html"&gt;http://www.augustcouncil.com/~tgibson/tutorial/ptr.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.augustcouncil.com/%7Etgibson/tutorial/ptr.html"&gt;http://www.augustcouncil.com/~tgibson/tutorial/ptr.html&lt;/a&gt;&lt;/stdio.h&gt;&lt;/stdio.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114406587106578788?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114406587106578788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114406587106578788' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114406587106578788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114406587106578788'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/04/pointers.html' title='Pointers'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114353949597206388</id><published>2006-03-28T01:51:00.000-08:00</published><updated>2008-11-04T07:07:37.407-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Concepts'/><title type='text'>ASP.NET</title><content type='html'>&lt;span style="color: rgb(255, 153, 0);"&gt;Blog on ASP.NET&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;New in ASP .NET&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;Better language support&lt;br /&gt;Programmable controls&lt;br /&gt;Event-driven programming&lt;br /&gt;XML-based components&lt;br /&gt;User authentication, with accounts and roles&lt;br /&gt;Higher scalability&lt;br /&gt;Increased performance - Compiled code&lt;br /&gt;Easier configuration and deployment&lt;br /&gt;Not fully ASP compatible &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;Language Support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;ASP .NET uses the new ADO .NET.&lt;br /&gt;ASP .NET supports full Visual Basic, not VBScript.&lt;br /&gt;ASP .NET supports C# (C sharp) and C++.&lt;br /&gt;ASP .NET supports JScript as before.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114353949597206388?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114353949597206388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114353949597206388' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114353949597206388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114353949597206388'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/aspnet.html' title='ASP.NET'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114353937782245904</id><published>2006-03-28T01:40:00.000-08:00</published><updated>2008-11-04T07:08:10.551-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C#</title><content type='html'>Namespaces&lt;br /&gt;&lt;br /&gt;Namespaces are C# program elements designed to help you organize your programs.  They also provide assistance in avoiding name clashes between two sets of code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114353937782245904?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114353937782245904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114353937782245904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114353937782245904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114353937782245904'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/c.html' title='C#'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114352147882657231</id><published>2006-03-27T20:50:00.000-08:00</published><updated>2008-11-04T07:08:28.457-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>JavaScript</title><content type='html'>Javascript and jscript are different kind and from different companies&lt;br /&gt;&lt;br /&gt;To call a control from javascript&lt;br /&gt;&lt;br /&gt;function gObj(id)&lt;br /&gt;{&lt;br /&gt;return document.getElementById(id);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To disable a control and release it from disable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function jsfReadOnly(inputCtl) {&lt;br /&gt;var controls = jsfChildElements(inputCtl);&lt;br /&gt;for(var i = 0; i &lt; controls.length; i++) {&lt;br /&gt;if(controls[i].type == "text"  controls[i].type.match("^select")  controls[i].type.match("^checkbox")  controls[i].type.match("^textarea") ) {&lt;br /&gt;controls[i].disabled=true;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function jsfReleaseReadOnly(inputCtl) {&lt;br /&gt;var controls = jsfChildElements(inputCtl);&lt;br /&gt;for(var i = 0; i &lt; controls.length; i++) {&lt;br /&gt;if(controls[i].type == "text"  controls[i].type.match("^select")  controls[i].type.match("^checkbox")  controls[i].type.match("^textarea") ) {&lt;br /&gt;controls[i].disabled=false;&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/24657923-114352147882657231?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114352147882657231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114352147882657231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114352147882657231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114352147882657231'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/javascript.html' title='JavaScript'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114346031391575121</id><published>2006-03-27T03:51:00.000-08:00</published><updated>2008-11-04T06:39:47.390-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>.net FAQ</title><content type='html'>ASP.NET Page Life Cycle&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/4816/2529/1600/pageLifeCycle.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/4816/2529/320/pageLifeCycle.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What is an assembly?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;An assembly is sometimes described as a logical .EXE or .DLL, and can be an application (with a main entry point) or a library. An assembly consists of one or more files (dlls, exes, html files etc), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies. These resources, types and references are described in a block of data called a manifest. The manifest is part of the assembly, thus making the assembly self-describing.&lt;br /&gt;An important aspect of assemblies is that they are part of the identity of a type. The identity of a type is the assembly that houses it combined with the type name. This means, for example, that if assembly A exports a type called T, and assembly B exports a type called T, the .NET runtime sees these as two completely different types. Furthermore, don't get confused between assemblies and namespaces - namespaces are merely a hierarchical way of organising type names. To the runtime, type names are type names, regardless of whether namespaces are used to organise the names. It's the assembly plus the typename (regardless of whether the type name belongs to a namespace) that uniquely indentifies a type to the runtime.&lt;br /&gt;Assemblies are also important in .NET with respect to security - many of the security restrictions are enforced at the assembly boundary.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114346031391575121?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114346031391575121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114346031391575121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114346031391575121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114346031391575121'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/net-faq.html' title='.net FAQ'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114345866500610827</id><published>2006-03-27T03:22:00.000-08:00</published><updated>2008-11-04T07:09:27.949-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><title type='text'>Web Services</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/4816/2529/1600/net-basics5.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; width: 516px; height: 233px; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/4816/2529/320/net-basics5.jpg" border="0" width="440" height="177" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114345866500610827?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114345866500610827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114345866500610827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114345866500610827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114345866500610827'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/web-services.html' title='Web Services'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114345496668889034</id><published>2006-03-27T02:21:00.000-08:00</published><updated>2008-11-04T07:09:47.245-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SQL</title><content type='html'>***********************************************************************************&lt;br /&gt;&lt;br /&gt;Deleting duplicate records in a table&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select DISTINCT * into #temp from table1 --apply where condition&lt;br /&gt;&lt;br /&gt;delete from table1&lt;br /&gt;&lt;br /&gt;insert table1 select * from #temp&lt;br /&gt;&lt;br /&gt;drop table #temp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;table names starts with # will truncated and dropped after application end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;***********************************************************************************&lt;br /&gt;&lt;br /&gt;get day from date sql&lt;br /&gt;&lt;br /&gt;datename("dw",getdate())&lt;br /&gt;&lt;br /&gt;***********************************************************************************&lt;br /&gt;&lt;br /&gt;select getdate()&lt;br /&gt;                &lt;br /&gt;To convert a given date to normal format&lt;br /&gt;&lt;br /&gt;select convert(nvarchar(12),getdate(),103)&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/24657923-114345496668889034?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114345496668889034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114345496668889034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114345496668889034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114345496668889034'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/sql.html' title='SQL'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114343429254808915</id><published>2006-03-26T20:35:00.000-08:00</published><updated>2008-11-04T07:10:19.226-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>To invoke a specified application at specified time</title><content type='html'>This is the windows service which will invoke a application at 5.30 pm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here I am invoking a web page&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Diagnostics;&lt;br /&gt;using System.ServiceProcess;&lt;br /&gt;using System.Timers;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Globalization;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;namespace WinWin&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;public class WinService1 : System.ServiceProcess.ServiceBase&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Required designer variable.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; ///&lt;br /&gt;  // private System.Timers.Timer aTimer;&lt;br /&gt; private System.ComponentModel.Container components = null;&lt;br /&gt; //private System.Timers.Timer aTimer = new System.Timers.Timer();&lt;br /&gt; //private System.ComponentModel.Container components = null;&lt;br /&gt;&lt;br /&gt; private System.Timers.Timer aTimer;&lt;br /&gt; public WinService1()&lt;br /&gt; {&lt;br /&gt;   //System.Timers.Timer aTimer;&lt;br /&gt;  // This call is required by the Windows.Forms Component Designer.&lt;br /&gt;  InitializeComponent();&lt;br /&gt;&lt;br /&gt;  // TODO: Add any initialization after the InitComponent call&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; // The main entry point for the process&lt;br /&gt; //private System.Timers.Timer aTimer;&lt;br /&gt; static void Main()&lt;br /&gt; {&lt;br /&gt;  System.ServiceProcess.ServiceBase[] ServicesToRun;&lt;br /&gt;&lt;br /&gt;  // More than one user Service may run within the same process. To add&lt;br /&gt;  // another service to this process, change the following line to&lt;br /&gt;  // create a second service object. For example,&lt;br /&gt;  //&lt;br /&gt;  //   ServicesToRun = new System.ServiceProcess.ServiceBase[] {new Service1(), new MySecondUserService()};&lt;br /&gt;  //&lt;br /&gt;&lt;br /&gt;  ServicesToRun = new System.ServiceProcess.ServiceBase[] { new WinService1() };&lt;br /&gt;&lt;br /&gt;  System.ServiceProcess.ServiceBase.Run(ServicesToRun);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Required method for Designer support - do not modify&lt;br /&gt; /// the contents of this method with the code editor.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; private void InitializeComponent()&lt;br /&gt; {&lt;br /&gt;  //&lt;br /&gt;  // WinService1&lt;br /&gt;  //&lt;br /&gt;  this.ServiceName = "WinService1";&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Clean up any resources being used.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; protected override void Dispose( bool disposing )&lt;br /&gt; {&lt;br /&gt;  if( disposing )&lt;br /&gt;  {&lt;br /&gt;   if (components != null)&lt;br /&gt;   {&lt;br /&gt;    components.Dispose();&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;  base.Dispose( disposing );&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Set things in motion so your service can do its work.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; ///&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; private Timer timer;&lt;br /&gt; protected override void OnStart(string[] args)&lt;br /&gt; {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  if (aTimer == null)&lt;br /&gt;  {&lt;br /&gt;   aTimer = new System.Timers.Timer();&lt;br /&gt;   aTimer.Elapsed +=&lt;br /&gt;    new ElapsedEventHandler(OnTimer);&lt;br /&gt;   //Let the timer trigger once a minute&lt;br /&gt;   aTimer.Interval = 59000;&lt;br /&gt;   aTimer.Enabled = true;&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;   aTimer.Start();&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  // TODO: Add code here to start your service.&lt;br /&gt;  DateTime currentSystemTime = DateTime.Now;&lt;br /&gt;&lt;br /&gt;  //System.Timers.Timer aTimer = new System.Timers.Timer();&lt;br /&gt;&lt;br /&gt;  // Hook up the Elapsed event for the timer.&lt;br /&gt;  //aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);&lt;br /&gt;&lt;br /&gt;  // Set the Interval to 2 seconds (2000 milliseconds).&lt;br /&gt;  //aTimer.Interval = 2000;&lt;br /&gt;  //aTimer.Enabled = true;&lt;br /&gt;&lt;br /&gt;  // TODO: Add code here to start your service.&lt;br /&gt;  int i = 1;&lt;br /&gt;  if(i == 1)&lt;br /&gt;  {&lt;br /&gt;   if(currentSystemTime.Hour == 18 &amp;amp; currentSystemTime.Minute == 0)&lt;br /&gt;   {&lt;br /&gt;    //Console.WriteLine ("In the Main");&lt;br /&gt;    //Console.WriteLine ("In the Main");&lt;br /&gt;    System.Diagnostics.Process proc = new System.Diagnostics.Process();&lt;br /&gt;    proc.EnableRaisingEvents=false;&lt;br /&gt;    proc.StartInfo.FileName="iexplore";&lt;br /&gt;    proc.StartInfo.Arguments="http://projectserver/lgnps.asp";&lt;br /&gt;    proc.Start();&lt;br /&gt;    //proc.WaitForExit();&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; private void InitializeTimer()&lt;br /&gt; {&lt;br /&gt;  if (timer == null)&lt;br /&gt;  {&lt;br /&gt;   timer = new Timer();&lt;br /&gt;   timer.AutoReset = true;&lt;br /&gt;   timer.Interval  = 60000 * Convert.ToDouble(&lt;br /&gt;    ConfigurationSettings.AppSettings["IntervalMinutes"]);&lt;br /&gt;   timer.Elapsed += new ElapsedEventHandler(timer_Elapsed);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; private void timer_Elapsed(object source,System.Timers.ElapsedEventArgs e)&lt;br /&gt; {&lt;br /&gt;  RunCommands();&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; private void RunCommands()&lt;br /&gt; {&lt;br /&gt; // JobRunWebService.JobRunInterval objJob =&lt;br /&gt; //   new JobRunWebService.JobRunInterval();&lt;br /&gt; // objJob.RunJob();&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Stop this service.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; protected override void OnStop()&lt;br /&gt; {&lt;br /&gt;          if (aTimer != null) aTimer.Stop();&lt;br /&gt;  // TODO: Add code here to perform any tear-down necessary to stop your service.&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public static void OnTimer(Object source,ElapsedEventArgs e)&lt;br /&gt; {&lt;br /&gt;  RunDataLoader();&lt;br /&gt; }&lt;br /&gt; private static void RunDataLoader()&lt;br /&gt; {&lt;br /&gt;  //Do your job in this procedure...&lt;br /&gt;  //while()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  DateTime currentSystemTime = DateTime.Now;&lt;br /&gt;&lt;br /&gt;  //currentSystemTime.s&lt;br /&gt;  if(currentSystemTime.Hour == 17 &amp;amp; currentSystemTime.Minute == 30) &lt;br /&gt;  {&lt;br /&gt;   System.Diagnostics.Process proc = new System.Diagnostics.Process();&lt;br /&gt;   proc.EnableRaisingEvents=false;&lt;br /&gt;   proc.StartInfo.FileName="iexplore";&lt;br /&gt;   proc.StartInfo.Arguments="http://202.144.75.72/projectserver/lgnps.asp";&lt;br /&gt;   proc.Start();&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; protected override void OnPause()&lt;br /&gt; {&lt;br /&gt;  if (aTimer != null) aTimer.Stop();&lt;br /&gt; }&lt;br /&gt; protected override void OnContinue()&lt;br /&gt; {&lt;br /&gt;  if (aTimer != null) aTimer.Start();&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&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/24657923-114343429254808915?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114343429254808915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114343429254808915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114343429254808915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114343429254808915'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/to-invoke-specified-application-at.html' title='To invoke a specified application at specified time'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114320313939124399</id><published>2006-03-24T04:25:00.000-08:00</published><updated>2008-11-04T07:10:36.897-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Date Time</title><content type='html'>set @date = convert(varchar(3), @Month) + '/1/' + convert(varchar(6), @Year)&lt;br /&gt;&lt;br /&gt;while (Month(@Date) = @Month)&lt;br /&gt;begin&lt;br /&gt;set @HolidayDate = NULL&lt;br /&gt;select @HolidayDate = HolidayDate from @Holiday where HolidayDate=@Date&lt;br /&gt;select 'Date' as Element, convert(nvarchar(12),@date, 103) as [Date1], @date as [Date], DatePart(dw, @date) as [WeekDay], @DayNo as DayNo , @HolidayDate as HolidayDate&lt;br /&gt;for xml raw&lt;br /&gt;&lt;br /&gt;if( DatePart(dw, @date) != @wo1 and DatePart(dw, @date) != @wo2 and @HolidayDate is NULL) set @dayno = @dayno + 1&lt;br /&gt;if(@dayno &gt; 36) set @dayno = 1&lt;br /&gt;set @date = dateadd(dd, 1, @date)&lt;br /&gt;&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114320313939124399?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114320313939124399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114320313939124399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114320313939124399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114320313939124399'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/date-time.html' title='Date Time'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24657923.post-114320163391751462</id><published>2006-03-24T04:00:00.000-08:00</published><updated>2008-11-04T07:10:54.893-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>.net</title><content type='html'>&lt;a name="What is the .NET Framework"&gt;What is the .NET Framework? &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The .NET Framework is a development and execution environment that allows different programming languages &amp;amp; libraries to work together seamlessly to create Windows-based applications that are easier to build, manage, deploy, and integrate with other networked systems.&lt;br /&gt;&lt;br /&gt;For further details please visit&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/netframework/gettingstarted/default.aspx"&gt;http://msdn.microsoft.com/netframework/gettingstarted/default.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24657923-114320163391751462?l=codecenter.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecenter.blogspot.com/feeds/114320163391751462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24657923&amp;postID=114320163391751462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114320163391751462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24657923/posts/default/114320163391751462'/><link rel='alternate' type='text/html' href='http://codecenter.blogspot.com/2006/03/net.html' title='.net'/><author><name>anantha</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://bp2.blogger.com/_tAR9AAYHR5M/R81en3x8R1I/AAAAAAAAACA/VcRrpQ_Z0ag/S220/My_Pic_Corped.jpg'/></author><thr:total>0</thr:total></entry></feed>
