<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkYHSHg8fip7ImA9WhRQFk8.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483</id><updated>2011-12-11T10:28:59.676-08:00</updated><category term="datacolumn;asp:grid itemtemplate null value" /><category term="Get Text Height and Width" /><category term="Aggregation" /><category term="Difference between Interface and abstract class" /><category term="Composition" /><category term="Association" /><category term="Dynamically creation of web controls and binding Validations Using ASP.NET" /><category term="window maximize without controlbox" /><title>Dot Net Code Snippets</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://manojmathe.blogspot.com/" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/VTgbE" /><feedburner:info uri="blogspot/vtgbe" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CEcFRX4-cCp7ImA9WhdQGEs.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-3315370267234942550</id><published>2011-04-05T12:12:00.000-07:00</published><updated>2011-08-20T10:40:14.058-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-20T10:40:14.058-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="datacolumn;asp:grid itemtemplate null value" /><title>Compare DataColumn to null</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;Hello all,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;Today i got struck in a way how to compare a null value which is coming from database in a dataset........&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span class="Apple-style-span" style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #0b5394;"&gt;&amp;nbsp;tried few ways, like this&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="color: #e46c0a; font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object.Equal(ds.Tables[0].Rows[0]["date],null)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="color: #e46c0a; font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ds.Tables[0].Rows[0]["date] == null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="color: #e46c0a; font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object.ReferenceEquals(ds.Tables[0].Rows[0]["date],null)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;but nothing worked ......&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;at last after a cup of&amp;nbsp;Cappuccino something clicked me &amp;amp; made me feel how stupid my thinking was&lt;br /&gt;
because this is DBNull type &amp;amp; I &amp;nbsp;am trying to compare with a different object ……..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;so finally it worked like this&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span style="color: #e46c0a; font-family: 'Times New Roman', serif; font-size: 12pt;"&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; value.Equals(System.DBNull.Value)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: #0b5394; font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;Hope this helps someone &lt;/span&gt;&lt;/b&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: #0b5394; font-family: Wingdings; font-size: 12pt;"&gt;J&lt;/span&gt;&lt;/b&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: #0b5394; font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-3315370267234942550?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ThLosPIH9x_1kX-nowL6RY_TiZU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ThLosPIH9x_1kX-nowL6RY_TiZU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ThLosPIH9x_1kX-nowL6RY_TiZU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ThLosPIH9x_1kX-nowL6RY_TiZU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/vDkXEitjBX8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/3315370267234942550/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2011/04/hello-all-today-i-was-structured-in-way.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/3315370267234942550?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/3315370267234942550?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/vDkXEitjBX8/hello-all-today-i-was-structured-in-way.html" title="Compare DataColumn to null" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2011/04/hello-all-today-i-was-structured-in-way.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQGRH48eCp7ImA9WhZREE4.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-7602778661576400082</id><published>2011-02-09T11:23:00.000-08:00</published><updated>2011-04-05T12:05:25.070-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-05T12:05:25.070-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Get Text Height and Width" /><title>Get Text Height &amp; Width</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;In many cases we tend to work with dynamic data transaction &amp;amp; data formatting, then we maty need to calculate the width, height &amp;amp; align accordingly w.r.t&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0b5394; font-size: 13.5pt;"&gt;specific&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;font details etc.,,,,,&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;I got in to same scenarios, where i need to brush the text on a image &amp;amp; i was breaking my head how to calculated the starting point w.r.t text size, font&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;etc.,,,,,,,,,,&lt;br /&gt;
after a long of R &amp;amp; D ; got something which saved me i.e., &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: #0b5394;"&gt;Graphics class (which is a dotnet inbuilt class)&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;b&gt;&lt;span style="color: black;"&gt;Usage :&lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;i&gt;&lt;span style="color: black;"&gt;Creating a instance&lt;/span&gt;&lt;/i&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: #2b91af;"&gt;Graphics&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;grpControl = CreateGraphics();&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;i&gt;&lt;span style="color: black;"&gt;Creating a dummy string value&lt;/span&gt;&lt;/i&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: #2b91af;"&gt;String&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;minstr =”Minimumvalue”;&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;i&gt;&lt;span style="color: black;"&gt;Font details I will be working with&lt;/span&gt;&lt;/i&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: #2b91af;"&gt;Font&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;textFont&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;=&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;new&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;Font&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: #a31515;"&gt;"Arial"&lt;/span&gt;&lt;span style="color: black;"&gt;, 16,&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;GraphicsUnit&lt;/span&gt;&lt;span style="color: black;"&gt;.Pixel);&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;i&gt;&lt;span style="color: black;"&gt;Now the destination of calculation, graphics Class has a method named MeasureString this is return value of type&amp;nbsp;&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;SizeF&lt;/span&gt;&lt;/i&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: #2b91af;"&gt;SizeF: It stores the floated points&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: #2b91af;"&gt;SizeF&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;sizeDetails = grpControl.MeasureString(minStr,textFont);&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;span style="color: black;"&gt;Now the return value provide you the Height &amp;amp; width as shown below.&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: black;"&gt;sizeDetails.Height&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;// For height&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;u1:p&gt;&lt;/u1:p&gt;  &lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;span style="color: black;"&gt;sizeDetails.Width&amp;nbsp;&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;// For Width&lt;/span&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;i&gt;&lt;span style="color: #0b5394;"&gt;I have seen so many ways to find the string height but this is a best way to find height according to the&amp;nbsp;text font.&lt;/span&gt;&lt;/i&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;&lt;i&gt;&lt;span style="color: #0b5394;"&gt;Happy Coding :) :)&lt;/span&gt;&lt;/i&gt;&lt;span style="color: black; font-size: 13.5pt;"&gt;&lt;o:p&gt;&lt;/o: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/8138765835465472483-7602778661576400082?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T54b7Ajkb5B8Hhne5tEg9PrQYaQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T54b7Ajkb5B8Hhne5tEg9PrQYaQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T54b7Ajkb5B8Hhne5tEg9PrQYaQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T54b7Ajkb5B8Hhne5tEg9PrQYaQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/PLSpDzYNkFc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/7602778661576400082/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2011/02/get-text-height-width.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/7602778661576400082?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/7602778661576400082?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/PLSpDzYNkFc/get-text-height-width.html" title="Get Text Height &amp; Width" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2011/02/get-text-height-width.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQDQnw_fSp7ImA9Wx5UFUw.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-5423614834577648756</id><published>2010-10-19T12:26:00.000-07:00</published><updated>2010-10-19T12:26:13.245-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-19T12:26:13.245-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="window maximize without controlbox" /><title>Maximize child MDI form without ControlBox</title><content type="html">&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When we try maxing the form as maximum mode using control box buttons , then every thing goes fine and it be maximized and can see the toolbar below.&lt;br /&gt;
&lt;br /&gt;
But when we try doing the same with with controlbox = false( this will hide the control box), now if you try making the for to maximize, it will be maximized but it will also hide the toolbar  below.&lt;br /&gt;
&lt;br /&gt;
When we hide the control box the form will be maximize to the whole screen ( hiding the system toolbar).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
   Hide the control box on page&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Code :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Please paste this code in form load method&lt;br /&gt;
 &lt;Code&gt;&lt;br /&gt;
In VB&lt;br /&gt;
    Me.ControlBox = False&lt;br /&gt;
&lt;br /&gt;
 In C#&lt;br /&gt;
    this.ControlBox = false;&lt;br /&gt;
&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-5423614834577648756?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/460_wbmPyd5Cdo78G-wqsUZaSuw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/460_wbmPyd5Cdo78G-wqsUZaSuw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/460_wbmPyd5Cdo78G-wqsUZaSuw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/460_wbmPyd5Cdo78G-wqsUZaSuw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/L8x1dZedZvY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/5423614834577648756/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/10/maximize-child-mdi-form-without.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/5423614834577648756?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/5423614834577648756?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/L8x1dZedZvY/maximize-child-mdi-form-without.html" title="Maximize child MDI form without ControlBox" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/10/maximize-child-mdi-form-without.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cHRHk6fSp7ImA9Wx5QEkU.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-2965535715298463807</id><published>2010-08-31T14:09:00.000-07:00</published><updated>2010-08-31T14:10:35.715-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-31T14:10:35.715-07:00</app:edited><title>Adding text to label using javascript</title><content type="html">&lt;b&gt;While accessing label value from JavaScript, we try like this &lt;br /&gt;
&lt;br /&gt;
document.getElementById('&lt;%= this.lblClientType.ClientID %&gt;').value&lt;br /&gt;
&lt;br /&gt;
But this wont work as it doesn't contain a property called value.&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;Resolution :&lt;/h1&gt;&lt;br /&gt;
document.getElementById('&lt;%= this.lblClientType.ClientID %&gt;').innerHTML&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;Reason:&lt;/h1&gt;&lt;br /&gt;
Because when we see the page source, label is been converted to span, where as textbox is converted to input control&lt;br /&gt;
&lt;br /&gt;
asp:label  to span control&lt;br /&gt;
asp:textbox to input of type "text"&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please provide the comments, if any...&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-2965535715298463807?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HsXur5oFleB3EKp0NLlsuolQLF0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HsXur5oFleB3EKp0NLlsuolQLF0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HsXur5oFleB3EKp0NLlsuolQLF0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HsXur5oFleB3EKp0NLlsuolQLF0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/1mTJhsrh3TI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/2965535715298463807/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/08/adding-text-to-label-using-javascript.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/2965535715298463807?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/2965535715298463807?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/1mTJhsrh3TI/adding-text-to-label-using-javascript.html" title="Adding text to label using javascript" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/08/adding-text-to-label-using-javascript.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQFRHwyeSp7ImA9WxFWEkk.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-806319508503382405</id><published>2010-05-30T12:38:00.000-07:00</published><updated>2010-05-30T12:38:35.291-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-30T12:38:35.291-07:00</app:edited><title>Changing the textbox color dynamically</title><content type="html">Changing the text box styling dynamically using java script.&lt;br /&gt;
&lt;html&gt;&lt;br /&gt;
&lt;head&gt;&lt;br /&gt;
 &lt; script &gt;&lt;br /&gt;
    function txtBr(Recid)&lt;br /&gt;
    {&lt;br /&gt;
    if(Recid==0)document.getElementById ("Text1").style.border ='0px';&lt;br /&gt;
    if(Recid==1)document.getElementById ("Text1").style.border ='1px';&lt;br /&gt;
    if(Recid==1)document.getElementById ("Text1").style.borderStyle='solid';&lt;br /&gt;
    if(Recid==1)document.getElementById ("Text1").style.borderColor ='red';&lt;br /&gt;
    if(Recid==1)document.getElementById ("Text1").style.backgroundColor='yellow';&lt;br /&gt;
    if(Recid==1)document.getElementById ("Text1").focus();&lt;br /&gt;
    }&lt;br /&gt;
    &lt; /script &gt;&lt;br /&gt;
&lt; /head &gt;&lt;br /&gt;
&lt; body onload ="txtBr(0);" &gt;&lt;br /&gt;
    &lt; form id="form1" runat="server" &gt;&lt;br /&gt;
   &lt;br /&gt;
    &lt; input id="Text1" type="text" runat ="Server" onmousemove ="txtBr(1);" / &gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
 &lt;/form&gt;&lt;/body&gt;&lt;br /&gt;
&lt;/html&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-806319508503382405?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xCB85FWpb_1CjbpgnPWMOtpHUUY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xCB85FWpb_1CjbpgnPWMOtpHUUY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xCB85FWpb_1CjbpgnPWMOtpHUUY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xCB85FWpb_1CjbpgnPWMOtpHUUY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/HytcvcXhVgk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/806319508503382405/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/05/changing-textbox-color-dynamically.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/806319508503382405?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/806319508503382405?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/HytcvcXhVgk/changing-textbox-color-dynamically.html" title="Changing the textbox color dynamically" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/05/changing-textbox-color-dynamically.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAHQX45cCp7ImA9WxFXGUU.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-5768299578052183627</id><published>2010-05-27T11:52:00.000-07:00</published><updated>2010-05-27T11:58:50.028-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-27T11:58:50.028-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Dynamically creation of web controls and binding Validations Using ASP.NET" /><title>Dynamically creation of web controls and binding Validations Using ASP.NET</title><content type="html">Dynamically creation of web controls and binding Validations Using ASP.NET&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Source Code :&lt;/b&gt;  &lt;a href="http://www.4shared.com/file/EPcWJHTu/creatingdynamiccontrols2.html" target=_blank&gt;creatingdynamiccontrols2.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Introduction:-&lt;/b&gt;&lt;br /&gt;
As we know we can bind the controls to our page (aspx) in 2 ways&lt;br /&gt;
1. Statically :- Binding the controls while Designing&lt;br /&gt;
2. Dynamically :- Binding the controls at runtime&lt;br /&gt;
Everyone know how to bind statically but there may be some cases where we need to bind the control dynamically .One of those cases is when our controls are keep on changing like I have a registration site in which the control type may keep on changing then I may need to go for binding the controls dynamically .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Approach:&lt;/b&gt;&lt;br /&gt;
For binding the controls I need the data what are the controls I want to bind and what is the id to be given and what are the properties to be provided etc.,&lt;br /&gt;
This can be provided by 2 ways &lt;br /&gt;
1. Using database (This is my approach)&lt;br /&gt;
2. Using Xml file&lt;br /&gt;
I am creating one example (registration Page) where I am getting the data from the database as a table and based on this table I will be binding my controls to the page as we can see below&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://picasaweb.google.co.in/lh/photo/gB0okYY5QPbKRoTdjVVCXg?feat=blogger" imageanchor="1" style="clear:right;float:right;margin-bottom:1em;margin-left:1em"&gt;&lt;img border="0" src="http://lh5.ggpht.com/_c0TvzySyYP8/S_6-eEyW85I/AAAAAAAAB4c/A9vBk5l1A24/s512/Dynamic_1.jpg"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
My Controls Data from database&lt;br /&gt;
ControlText : - Text to be Displayed&lt;br /&gt;
ControlType :-&lt;br /&gt;
1 – TextBox Control&lt;br /&gt;
2 – DropDown Control&lt;br /&gt;
3 – DateTime Control&lt;br /&gt;
4 – Buttom Control&lt;br /&gt;
MaxLength:- Defining the maximum length for textbox&lt;br /&gt;
Manditory :- Based On this we will be binding the required field validation&lt;br /&gt;
HelpText :- This is used to bind as ToolTip for the control&lt;br /&gt;
Source :- Use for binding data source for dropdown controls&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://picasaweb.google.co.in/lh/photo/lT3LzBIn53ZJo35E0dLOzg?feat=blogger" imageanchor="1" style="clear:right;float:right;margin-bottom:1em;margin-left:1em"&gt;&lt;img border="0" src="http://lh5.ggpht.com/_c0TvzySyYP8/S_6-d94jnhI/AAAAAAAAB4Y/TLYeQWz0_yA/s512/Dynamic_3.jpg"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Page in which all the controls are generated dynamically&lt;br /&gt;
Implementation:&lt;br /&gt;
As we know all the server control are under System.Web.UI.WebControls namespace&lt;br /&gt;
I will be getting the tabel into a dataset for suppose the name is controlsDataSet&lt;br /&gt;
///&lt;br /&gt;
/// Method usd to bind the controls&lt;br /&gt;
///&lt;br /&gt;
///&lt;br /&gt;
private void BuldControls(DataSet controlsDataSet)&lt;br /&gt;
{&lt;br /&gt;
Table table = new Table();&lt;br /&gt;
table.Style.Add("align", "center");&lt;br /&gt;
// Looping the dataset and get the values&lt;br /&gt;
foreach (DataRow datarow in controlsDataSet.Tables[0].Rows)&lt;br /&gt;
{&lt;br /&gt;
int controlType =&lt;br /&gt;
Convert.ToInt32(datarow["ControlType"].ToString());&lt;br /&gt;
string controlText = datarow ["ControlText"].ToString();&lt;br /&gt;
TableRow newRow = new TableRow();&lt;br /&gt;
TableCell textCell = new TableCell();&lt;br /&gt;
// Binding the text&lt;br /&gt;
textCell.Text = controlText;&lt;br /&gt;
newRow.Cells.Add(textCell);&lt;br /&gt;
TableCell valueCell = new TableCell();&lt;br /&gt;
Control[] cntrlCollection=new Control[4];&lt;br /&gt;
// Checking the control Type&lt;br /&gt;
switch(controlType)&lt;br /&gt;
{&lt;br /&gt;
// If TextBox&lt;br /&gt;
case 1:&lt;br /&gt;
cntrlCollection = this.BindTextBox(control);&lt;br /&gt;
break;&lt;br /&gt;
// If DropDown&lt;br /&gt;
case 2:&lt;br /&gt;
cntrlCollection = this.BindDropDown(control);&lt;br /&gt;
break;&lt;br /&gt;
// If DateTime&lt;br /&gt;
case 3:&lt;br /&gt;
cntrlCollection = this.BindDateTime(control);&lt;br /&gt;
break;&lt;br /&gt;
// If Button&lt;br /&gt;
case 4:&lt;br /&gt;
cntrlCollection = this.BindButton(control);&lt;br /&gt;
break;&lt;br /&gt;
}&lt;br /&gt;
// Adding th controls to the table cell&lt;br /&gt;
foreach (Control cntrl in cntrlCollection)&lt;br /&gt;
{&lt;br /&gt;
if (cntrl != null)&lt;br /&gt;
{&lt;br /&gt;
valueCell.Controls.Add(cntrl);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
newRow.Cells.Add(valueCell);&lt;br /&gt;
table.Rows.Add(newRow);&lt;br /&gt;
}&lt;br /&gt;
// Adding the table to the main panel&lt;br /&gt;
this.pnlControls.Controls.Add(table);&lt;br /&gt;
}&lt;br /&gt;
Creating controls dynamically is not a big matter but we have bind in such a way that when we are retriving it should not be a problem so we need to give the ids of the controls as below&lt;br /&gt;
///&lt;br /&gt;
/// Method to bind the DropDown&lt;br /&gt;
///&lt;br /&gt;
///&lt;br /&gt;
///&lt;br /&gt;
private Control[] BindTextBox(DataRow datarow)&lt;br /&gt;
{&lt;br /&gt;
// Retriving the values from the datarow&lt;br /&gt;
int controlId = Convert.ToInt32(datarow["Id"].ToString());&lt;br /&gt;
int length = Convert.ToInt32(datarow["MaxLengh"].ToString());&lt;br /&gt;
bool required =&lt;br /&gt;
Convert.ToBoolean(datarow["Manditory"].ToString());&lt;br /&gt;
string helpText = datarow["HelpText"].ToString();&lt;br /&gt;
string controlText = datarow["ControlText"].ToString();&lt;br /&gt;
// Creating the controls array&lt;br /&gt;
Control[] controls = new Control[4];&lt;br /&gt;
// creating the textbox&lt;br /&gt;
TextBox textbox = new TextBox();&lt;br /&gt;
textbox.ID = string.Concat(“txt”, controlId);&lt;br /&gt;
textbox.ToolTip = helpText;&lt;br /&gt;
// Checking the length&lt;br /&gt;
if (length != 0)&lt;br /&gt;
{&lt;br /&gt;
textbox.MaxLength = length;&lt;br /&gt;
}&lt;br /&gt;
// Adding the textbox to the control array&lt;br /&gt;
controls[0] = textbox;&lt;br /&gt;
// Checking id manditory&lt;br /&gt;
if (required)&lt;br /&gt;
{&lt;br /&gt;
controls[1] = this.BindRequiredvalidator(controlId,&lt;br /&gt;
textbox.ID, controlText);&lt;br /&gt;
}&lt;br /&gt;
return controls;&lt;br /&gt;
}&lt;br /&gt;
Suppose I am bind for the name column the textbox id becomes like this&lt;br /&gt;
“txt_1” and while saving also we can save accordingly.&lt;br /&gt;
So this is the way how to bind the controls and now coming to validation controls (I and using the controls provided my the VS).I am showing you a example where I am bind a validation control to textbox as shown below&lt;br /&gt;
private RequiredFieldValidator BindRequiredvalidator(int Id, string&lt;br /&gt;
controlId, string controlText)&lt;br /&gt;
{&lt;br /&gt;
RequiredFieldValidator requiredFieldValidator = new&lt;br /&gt;
RequiredFieldValidator();&lt;br /&gt;
requiredFieldValidator.ID = string.Concat(“rfv”, Id);&lt;br /&gt;
requiredFieldValidator.ControlToValidate = controlId;&lt;br /&gt;
requiredFieldValidator.SetFocusOnError = true;&lt;br /&gt;
requiredFieldValidator.ErrorMessage = string.Concat(“Enter “,&lt;br /&gt;
controlText);&lt;br /&gt;
return requiredFieldValidator;&lt;br /&gt;
}&lt;br /&gt;
For this method I will be passing the Id , ControlId (Like textbox control id) which need to be validated ,controlText used for error messaeges&lt;br /&gt;
And after doing all these we can see the paeg with validation controls like this&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://picasaweb.google.co.in/lh/photo/Myh_xUuNRajRy79Nd5pGJg?feat=blogger" imageanchor="1" style="clear:right;float:right;margin-bottom:1em;margin-left:1em"&gt;&lt;img border="0" src="http://lh3.ggpht.com/_c0TvzySyYP8/S_6-eD3wsoI/AAAAAAAAB4g/ncreB-Mgtdg/s512/Dynamic_2.jpg"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
With Validation controls &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Advantages over binding controls statically:&lt;/b&gt;&lt;br /&gt;
1. Suppose we need to add 10 controls and we are using those statically but now I need to change my control type like a textbox to be changed to dropdown then I need to change all my code once again but this easier while binding controls dynamically.&lt;br /&gt;
2. Can bind any validation to any control dynamically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-5768299578052183627?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UG_plIJ9_QXLxcfUy5UocSW3OO0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UG_plIJ9_QXLxcfUy5UocSW3OO0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UG_plIJ9_QXLxcfUy5UocSW3OO0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UG_plIJ9_QXLxcfUy5UocSW3OO0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/UOlGNfBIk68" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/5768299578052183627/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/05/dynamically-creation-of-web-controls.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/5768299578052183627?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/5768299578052183627?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/UOlGNfBIk68/dynamically-creation-of-web-controls.html" title="Dynamically creation of web controls and binding Validations Using ASP.NET" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_c0TvzySyYP8/S_6-eEyW85I/AAAAAAAAB4c/A9vBk5l1A24/s72-c/Dynamic_1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/05/dynamically-creation-of-web-controls.html</feedburner:origLink><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="enclosure" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~5/FRP4UGFMu4I/creatingdynamiccontrols2.html" length="0" type="text/html" /><feedburner:origEnclosureLink>http://www.4shared.com/file/EPcWJHTu/creatingdynamiccontrols2.html</feedburner:origEnclosureLink></entry><entry gd:etag="W/&quot;A0ENSHcyfCp7ImA9WxFXF08.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-5310993589473490337</id><published>2010-05-24T12:34:00.000-07:00</published><updated>2010-05-24T12:34:59.994-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-24T12:34:59.994-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Association" /><category scheme="http://www.blogger.com/atom/ns#" term="Aggregation" /><category scheme="http://www.blogger.com/atom/ns#" term="Composition" /><title>Association, Aggregation, Composition</title><content type="html">&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:0;
 mso-generic-font-family:roman;
 mso-font-pitch:variable;
 mso-font-signature:-1610611985 1107304683 0 0 159 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-fareast-font-family:Calibri;
 mso-bidi-font-family:"Times New Roman";}
.MsoChpDefault
 {mso-style-type:export-only;
 mso-default-props:yes;
 font-size:10.0pt;
 mso-ansi-font-size:10.0pt;
 mso-bidi-font-size:10.0pt;
 mso-ascii-font-family:Calibri;
 mso-fareast-font-family:Calibri;
 mso-hansi-font-family:Calibri;}
@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;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18pt;"&gt;&lt;span style="color: blue;"&gt;Association, Aggregation, Composition&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;When we have only one relationship between objects that may be Association&lt;b&gt;&lt;i&gt;.&lt;/i&gt;&lt;/b&gt; Aggregation and Composition.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;In details&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Association&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is relation where each object has it own life cycle , independent &amp;nbsp;and no owner.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ex:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Will take a common example of project and developer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A project will be having multiple developers and developer can work for different projects. There is a relationship but both are independent. Both can create and delete independently. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&lt;b&gt;Aggregation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-indent: 0.5in;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;This is a specialize form of Association where all object have their own lifecycle has ownership on child object and the child object cannot belongs be related to another parent object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ex:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Will take an example of Departments and developers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A developer can be only in one department like dotnet, java etc., but if we delete the Department object still the Developer object exists. This is a “Has- a” relation.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&lt;b&gt;Composition:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-indent: 0.5in;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;This is specialize form of Aggregation and can be called as strong Aggregations&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Where the child object has no life if the parent object is deleted, because of this we call this as “death” relationship.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ex:-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best example is House and room&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A house can have multiple rooms but if we delete the house the child i.e. rooms will also be deleted and has no life.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-5310993589473490337?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/au90GVhLrOZIyeO9GGQwooo4aNQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/au90GVhLrOZIyeO9GGQwooo4aNQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/au90GVhLrOZIyeO9GGQwooo4aNQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/au90GVhLrOZIyeO9GGQwooo4aNQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/MH9FYKartHY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/5310993589473490337/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/05/association-aggregation-composition.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/5310993589473490337?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/5310993589473490337?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/MH9FYKartHY/association-aggregation-composition.html" title="Association, Aggregation, Composition" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/05/association-aggregation-composition.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkICQnw5eCp7ImA9WxFRFU8.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-4153713353813780583</id><published>2010-04-29T00:02:00.000-07:00</published><updated>2010-04-29T00:02:43.220-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T00:02:43.220-07:00</app:edited><title>Difference between XmlNode and XmlElement</title><content type="html">XmlElement is derived from XmlNode (XMLElement is a type of XMLNode) and it is having more functionalists than xmlNode&lt;br /&gt;
&lt;br /&gt;
XmlElement can be used if you are more specific with XML.&lt;br /&gt;
&lt;br /&gt;
Please find all the Node types&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Node Types&lt;/h2&gt;&lt;p&gt;The following table lists the different W3C node types, and which node types they &lt;br /&gt;
may have as children:&lt;/p&gt;&lt;table class="reference" cellspacing="0" cellpadding="0" border="1" width="100%"&gt;&lt;tr&gt;
&lt;th width="28%" align="left" valign="top"&gt;Node type&lt;/th&gt;

&lt;th width="40%" align="left" valign="top"&gt;Description&lt;/th&gt;
&lt;th width="32%" align="left" valign="top"&gt;Children&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Document&lt;/td&gt;
 &lt;td valign="top"&gt;Represents the entire document (the root-node of the DOM tree)&lt;/td&gt;
 &lt;td valign="top"&gt;Element (max. one), ProcessingInstruction, Comment, DocumentType&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;

 &lt;td valign="top"&gt;DocumentFragment&lt;/td&gt;
 &lt;td valign="top"&gt;Represents a &amp;quot;lightweight&amp;quot; Document object, which &lt;br /&gt;
 can hold a portion of a document&lt;/td&gt;
 &lt;td valign="top"&gt;Element, ProcessingInstruction, Comment, Text, CDATASection, &lt;br /&gt;
 EntityReference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;DocumentType&lt;/td&gt;

 &lt;td valign="top"&gt;Provides an interface to the entities defined for the &lt;br /&gt;
 document&lt;/td&gt;
 &lt;td valign="top"&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;ProcessingInstruction&lt;/td&gt;
 &lt;td valign="top"&gt;Represents a processing instruction&lt;/td&gt;
 &lt;td valign="top"&gt;None&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;EntityReference&lt;/td&gt;
 &lt;td valign="top"&gt;Represents an entity reference&lt;/td&gt;
 &lt;td valign="top"&gt;Element, ProcessingInstruction, Comment, Text, CDATASection, &lt;br /&gt;
 EntityReference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Element&lt;/td&gt;
 &lt;td valign="top"&gt;Represents an element&lt;/td&gt;

 &lt;td valign="top"&gt;Element, Text, Comment, ProcessingInstruction, CDATASection, &lt;br /&gt;
 EntityReference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Attr&lt;/td&gt;
 &lt;td valign="top"&gt;Represents an attribute&lt;/td&gt;
 &lt;td valign="top"&gt;Text, EntityReference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Text&lt;/td&gt;

 &lt;td valign="top"&gt;Represents textual content in an element &lt;br /&gt;
 or attribute&lt;/td&gt;
 &lt;td valign="top"&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;CDATASection&lt;/td&gt;
 &lt;td valign="top"&gt;Represents a CDATA section in a document (text that will &lt;br /&gt;
 NOT be parsed by a parser)&lt;/td&gt;
 &lt;td valign="top"&gt;None&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Comment&lt;/td&gt;
 &lt;td valign="top"&gt;Represents a comment&lt;/td&gt;
 &lt;td valign="top"&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Entity&lt;/td&gt;
 &lt;td valign="top"&gt;Represents an entity&lt;/td&gt;

 &lt;td valign="top"&gt;Element, ProcessingInstruction, Comment, Text, CDATASection, &lt;br /&gt;
 EntityReference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Notation&lt;/td&gt;
 &lt;td valign="top"&gt;Represents a notation declared in the DTD&lt;/td&gt;
 &lt;td valign="top"&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
&lt;h2&gt;Node Types - Return Values&lt;/h2&gt;&lt;br /&gt;
&lt;p&gt;The following table lists what the nodeName and the nodeValue properties will return &lt;br /&gt;
for each node type:&lt;/p&gt;&lt;table class="reference" cellspacing="0" cellpadding="0" border="1" width="100%"&gt;
&lt;tr&gt;
&lt;th width="30%" align="left" valign="top"&gt;Node type&lt;/th&gt;
&lt;th width="40%" align="left" valign="top"&gt;nodeName returns&lt;/th&gt;
&lt;th width="30%" align="left" valign="top"&gt;nodeValue returns&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
 &lt;td valign="top"&gt;Document&lt;/td&gt;
 &lt;td valign="top"&gt;#document&lt;/td&gt;
 &lt;td valign="top"&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;DocumentFragment&lt;/td&gt;
 &lt;td valign="top"&gt;#document fragment&lt;/td&gt;

 &lt;td valign="top"&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;DocumentType&lt;/td&gt;
 &lt;td valign="top"&gt;doctype name&lt;/td&gt;
 &lt;td valign="top"&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;EntityReference&lt;/td&gt;

 &lt;td valign="top"&gt;entity reference name&lt;/td&gt;
 &lt;td valign="top"&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Element&lt;/td&gt;
 &lt;td valign="top"&gt;element name&lt;/td&gt;
 &lt;td valign="top"&gt;null&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Attr&lt;/td&gt;
 &lt;td valign="top"&gt;attribute name&lt;/td&gt;
 &lt;td valign="top"&gt;attribute value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;ProcessingInstruction&lt;/td&gt;
 &lt;td valign="top"&gt;target&lt;/td&gt;

 &lt;td valign="top"&gt;content of node&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Comment&lt;/td&gt;
 &lt;td valign="top"&gt;#comment&lt;/td&gt;
 &lt;td valign="top"&gt;comment text&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Text&lt;/td&gt;

 &lt;td valign="top"&gt;#text&lt;/td&gt;
 &lt;td valign="top"&gt;content of node&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;CDATASection&lt;/td&gt;
 &lt;td valign="top"&gt;#cdata-section&lt;/td&gt;
 &lt;td valign="top"&gt;content of node&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Entity&lt;/td&gt;
 &lt;td valign="top"&gt;entity name&lt;/td&gt;
 &lt;td valign="top"&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;Notation&lt;/td&gt;
 &lt;td valign="top"&gt;notation name&lt;/td&gt;

 &lt;td valign="top"&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
&lt;h2&gt;NodeTypes - Named Constants&lt;/h2&gt;&lt;br /&gt;
&lt;table class="reference" cellspacing="0" cellpadding="0" border="1" width="100%"&gt;&lt;tr&gt;
&lt;th width="15%" align="left" valign="top"&gt;NodeType&lt;/th&gt;
&lt;th width="85%" align="left" valign="top"&gt;Named Constant&lt;/th&gt;

&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;1&lt;/td&gt;
 &lt;td valign="top"&gt;ELEMENT_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;2&lt;/td&gt;
 &lt;td valign="top"&gt;ATTRIBUTE_NODE&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
 &lt;td valign="top"&gt;3&lt;/td&gt;
 &lt;td valign="top"&gt;TEXT_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;4&lt;/td&gt;
 &lt;td valign="top"&gt;CDATA_SECTION_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;

 &lt;td valign="top"&gt;5&lt;/td&gt;
 &lt;td valign="top"&gt;ENTITY_REFERENCE_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;6&lt;/td&gt;
 &lt;td valign="top"&gt;ENTITY_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;7&lt;/td&gt;

 &lt;td valign="top"&gt;PROCESSING_INSTRUCTION_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;8&lt;/td&gt;
 &lt;td valign="top"&gt;COMMENT_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;9&lt;/td&gt;
 &lt;td valign="top"&gt;DOCUMENT_NODE&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;10&lt;/td&gt;
 &lt;td valign="top"&gt;DOCUMENT_TYPE_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
 &lt;td valign="top"&gt;11&lt;/td&gt;
 &lt;td valign="top"&gt;DOCUMENT_FRAGMENT_NODE&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
 &lt;td valign="top"&gt;12&lt;/td&gt;
 &lt;td valign="top"&gt;NOTATION_NODE&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table class="chapter" border="0" width="100%" cellspacing="0" cellpadding="0"&gt;&lt;tr&gt;
&lt;td class="prev"&gt;&lt;a class="chapter" href="dom_httprequest.asp"&gt;&amp;laquo; Previous&lt;/a&gt;&lt;/td&gt;
&lt;td class="next"&gt;&lt;a class="chapter" href="dom_node.asp"&gt;Next Chapter &amp;raquo;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-4153713353813780583?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xxd_Ir8x5LnDSLK2strHzNhFZY4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xxd_Ir8x5LnDSLK2strHzNhFZY4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xxd_Ir8x5LnDSLK2strHzNhFZY4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xxd_Ir8x5LnDSLK2strHzNhFZY4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/TlHslG7hViM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/4153713353813780583/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/04/difference-between-xmlnode-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/4153713353813780583?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/4153713353813780583?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/TlHslG7hViM/difference-between-xmlnode-and.html" title="Difference between XmlNode and XmlElement" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/04/difference-between-xmlnode-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcCQ305cCp7ImA9WxBRGEg.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-820156656610584445</id><published>2010-01-07T01:37:00.001-08:00</published><updated>2010-01-07T01:37:42.328-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-07T01:37:42.328-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Association" /><category scheme="http://www.blogger.com/atom/ns#" term="Aggregation" /><category scheme="http://www.blogger.com/atom/ns#" term="Composition" /><title>Association, Aggregation, Composition</title><content type="html">&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cmmathe%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cmmathe%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cmmathe%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;/link&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:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 159 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-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-size:10.0pt;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:Calibri;
	mso-hansi-font-family:Calibri;}
@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;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18pt;"&gt;&lt;span style="color: blue;"&gt;Association, Aggregation, Composition&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;When we have only one relationship between objects that may be Association&lt;b&gt;&lt;i&gt;.&lt;/i&gt;&lt;/b&gt; Aggregation and Composition.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;In details&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Association&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is relation where each object has it own life cycle , independent &amp;nbsp;and no owner.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ex:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Will take a common example of project and developer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A project will be having multiple developers and developer can work for different projects. There is a relationship but both are independent. Both can create and delete independently. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&lt;b&gt;Aggregation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-indent: 0.5in;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;This is a specialize form of Association where all object have their own lifecycle has ownership on child object and the child object cannot belongs be related to another parent object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ex:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Will take an example of Departments and developers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A developer can be only in one department like dotnet, java etc., but if we delete the Department object still the Developer object exists. This is a “Has- a” relation.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&lt;b&gt;Composition:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-indent: 0.5in;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;This is specialize form of Aggregation and can be called as strong Aggregations&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Where the child object has no life if the parent object is deleted, because of this we call this as “death” relationship.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ex:-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best example is House and room&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A house can have multiple rooms but if we delete the house the child i.e. rooms will also be deleted and has no life.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-820156656610584445?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4ti6AkTrtJ4jMTDYzFyWchxFpYg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4ti6AkTrtJ4jMTDYzFyWchxFpYg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4ti6AkTrtJ4jMTDYzFyWchxFpYg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4ti6AkTrtJ4jMTDYzFyWchxFpYg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/-niR0vlcqvQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/820156656610584445/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/01/association-aggregation-composition.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/820156656610584445?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/820156656610584445?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/-niR0vlcqvQ/association-aggregation-composition.html" title="Association, Aggregation, Composition" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/01/association-aggregation-composition.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8HQn4-cSp7ImA9WxBRFkQ.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-9146353537733768017</id><published>2010-01-05T04:17:00.001-08:00</published><updated>2010-01-05T04:17:13.059-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-05T04:17:13.059-08:00</app:edited><title>ASCII Key values</title><content type="html">&lt;center&gt;&lt;table border=1 cellpadding=6 align=center&gt;    &lt;tr&gt;
          &lt;th&gt;Char.&lt;/th&gt;

          &lt;th&gt;Dec.&lt;/th&gt;
          &lt;th&gt;hex&lt;/th&gt;
          &lt;th&gt;Comments&lt;/th&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;NUL&lt;/td&gt;
          &lt;td&gt;00&lt;/td&gt;

          &lt;td&gt;00&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;SOH&lt;/td&gt;
          &lt;td&gt;01&lt;/td&gt;
          &lt;td&gt;01&lt;/td&gt;

          &lt;td&gt;^A (control A)&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;STX&lt;/td&gt;
          &lt;td&gt;02&lt;/td&gt;
          &lt;td&gt;02&lt;/td&gt;
          &lt;td&gt;^B&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;ETX&lt;/td&gt;
          &lt;td&gt;03&lt;/td&gt;
          &lt;td&gt;03&lt;/td&gt;
          &lt;td&gt;^C &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;EOT&lt;/td&gt;
          &lt;td&gt;04&lt;/td&gt;
          &lt;td&gt;04&lt;/td&gt;
          &lt;td&gt;^D &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;ENQ&lt;/td&gt;
          &lt;td&gt;05&lt;/td&gt;
          &lt;td&gt;05&lt;/td&gt;
          &lt;td&gt;^E &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;ACK&lt;/td&gt;

          &lt;td&gt;06&lt;/td&gt;
          &lt;td&gt;06&lt;/td&gt;
          &lt;td&gt;^F Acknowledge&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;BEL&lt;/td&gt;
          &lt;td&gt;07&lt;/td&gt;

          &lt;td&gt;07&lt;/td&gt;
          &lt;td&gt;^G Bell or tone&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;BS&lt;/td&gt;
          &lt;td&gt;08&lt;/td&gt;
          &lt;td&gt;08&lt;/td&gt;

          &lt;td&gt;^H Backspace&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;HT&lt;/td&gt;
          &lt;td&gt;09&lt;/td&gt;
          &lt;td&gt;09&lt;/td&gt;
          &lt;td&gt;^I  Horizontal Tab&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;LF&lt;/td&gt;
          &lt;td&gt;10&lt;/td&gt;
          &lt;td&gt;0A&lt;/td&gt;
          &lt;td&gt;^J  Line Feed&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;VT&lt;/td&gt;
          &lt;td&gt;11&lt;/td&gt;
          &lt;td&gt;0B&lt;/td&gt;
          &lt;td&gt;^K  Vertical Tab&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;FF&lt;/td&gt;
          &lt;td&gt;12&lt;/td&gt;
          &lt;td&gt;0C&lt;/td&gt;
          &lt;td&gt;^L  Form Feed&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;CR&lt;/td&gt;

          &lt;td&gt;13&lt;/td&gt;
          &lt;td&gt;0D&lt;/td&gt;
          &lt;td&gt;^M  Carriage Return&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;SO&lt;/td&gt;
          &lt;td&gt;14&lt;/td&gt;

          &lt;td&gt;0E&lt;/td&gt;
          &lt;td&gt;^N&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;SI&lt;/td&gt;
          &lt;td&gt;15&lt;/td&gt;
          &lt;td&gt;0F&lt;/td&gt;

          &lt;td&gt;^O&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;DLE&lt;/td&gt;
          &lt;td&gt;16&lt;/td&gt;
          &lt;td&gt;10&lt;/td&gt;
          &lt;td&gt;^P&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;DC1&lt;/td&gt;
          &lt;td&gt;17&lt;/td&gt;
          &lt;td&gt;11&lt;/td&gt;
          &lt;td&gt;^Q&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;DC2&lt;/td&gt;
          &lt;td&gt;18&lt;/td&gt;
          &lt;td&gt;12&lt;/td&gt;
          &lt;td&gt;^R&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;DC3&lt;/td&gt;
          &lt;td&gt;19&lt;/td&gt;
          &lt;td&gt;13&lt;/td&gt;
          &lt;td&gt;^S&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;DC4&lt;/td&gt;

          &lt;td&gt;20&lt;/td&gt;
          &lt;td&gt;14&lt;/td&gt;
          &lt;td&gt;^T&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;NAK&lt;/td&gt;
          &lt;td&gt;21&lt;/td&gt;

          &lt;td&gt;15&lt;/td&gt;
          &lt;td&gt;^U No acknowledge&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;SYN&lt;/td&gt;
          &lt;td&gt;22&lt;/td&gt;
          &lt;td&gt;16&lt;/td&gt;

          &lt;td&gt;^V&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;ETB&lt;/td&gt;
          &lt;td&gt;23&lt;/td&gt;
          &lt;td&gt;17&lt;/td&gt;
          &lt;td&gt;^W&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;CAN&lt;/td&gt;
          &lt;td&gt;24&lt;/td&gt;
          &lt;td&gt;18&lt;/td&gt;
          &lt;td&gt;^X&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;EM&lt;/td&gt;
          &lt;td&gt;25&lt;/td&gt;
          &lt;td&gt;19&lt;/td&gt;
          &lt;td&gt;^Y&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;SUB&lt;/td&gt;
          &lt;td&gt;26&lt;/td&gt;
          &lt;td&gt;1A&lt;/td&gt;
          &lt;td&gt;^Z&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;ESC&lt;/td&gt;

          &lt;td&gt;27&lt;/td&gt;
          &lt;td&gt;1B&lt;/td&gt;
          &lt;td&gt;^[  Escape&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;FS&lt;/td&gt;
          &lt;td&gt;28&lt;/td&gt;

          &lt;td&gt;1C&lt;/td&gt;
          &lt;td&gt;^\&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;GS&lt;/td&gt;
          &lt;td&gt;29&lt;/td&gt;
          &lt;td&gt;1D&lt;/td&gt;

          &lt;td&gt;^]&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;RS&lt;/td&gt;
          &lt;td&gt;30&lt;/td&gt;
          &lt;td&gt;1E&lt;/td&gt;
          &lt;td&gt;^carat&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;US&lt;/td&gt;
          &lt;td&gt;31&lt;/td&gt;
          &lt;td&gt;1F&lt;/td&gt;
          &lt;td&gt;^_&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;SP&lt;/td&gt;
          &lt;td&gt;32&lt;/td&gt;
          &lt;td&gt;20&lt;/td&gt;
          &lt;td&gt;Space&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;!&lt;/td&gt;
          &lt;td&gt;33&lt;/td&gt;
          &lt;td&gt;21&lt;/td&gt;
          &lt;td&gt;exclamation point&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;&amp;quot;&lt;/td&gt;

          &lt;td&gt;34&lt;/td&gt;
          &lt;td&gt;22&lt;/td&gt;
          &lt;td&gt;double quote&lt;br&gt;html: &amp;amp;quot;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;#&lt;/td&gt;

          &lt;td&gt;35&lt;/td&gt;
          &lt;td&gt;23&lt;/td&gt;
          &lt;td&gt;pound or number sign&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;$&lt;/td&gt;
          &lt;td&gt;36&lt;/td&gt;

          &lt;td&gt;24&lt;/td&gt;
          &lt;td&gt;dollar sign 4&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;%&lt;/td&gt;
          &lt;td&gt;37&lt;/td&gt;
          &lt;td&gt;25&lt;/td&gt;

          &lt;td&gt;percent&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;&amp;amp;&lt;/td&gt;
          &lt;td&gt;38&lt;/td&gt;
          &lt;td&gt;26&lt;/td&gt;
          &lt;td&gt;ampersand&lt;br&gt;html: &amp;amp;amp;&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;'&lt;/td&gt;
          &lt;td&gt;39&lt;/td&gt;
          &lt;td&gt;27&lt;/td&gt;
          &lt;td&gt;single quote/apostrophe&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;(&lt;/td&gt;
          &lt;td&gt;40&lt;/td&gt;
          &lt;td&gt;28&lt;/td&gt;
          &lt;td&gt;open parenthesis&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;)&lt;/td&gt;
          &lt;td&gt;41&lt;/td&gt;
          &lt;td&gt;29&lt;/td&gt;
          &lt;td&gt;close parenthesis&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;*&lt;/td&gt;

          &lt;td&gt;42&lt;/td&gt;
          &lt;td&gt;2A&lt;/td&gt;
          &lt;td&gt;asterisk&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;+&lt;/td&gt;
          &lt;td&gt;43&lt;/td&gt;

          &lt;td&gt;2B&lt;/td&gt;
          &lt;td&gt;plus sign&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;,&lt;/td&gt;
          &lt;td&gt;44&lt;/td&gt;
          &lt;td&gt;2C&lt;/td&gt;

          &lt;td&gt;comma&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;-&lt;/td&gt;
          &lt;td&gt;45&lt;/td&gt;
          &lt;td&gt;2D&lt;/td&gt;
          &lt;td&gt;dash/hyphen&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;.&lt;/td&gt;
          &lt;td&gt;46&lt;/td&gt;
          &lt;td&gt;2E&lt;/td&gt;
          &lt;td&gt;period&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;/&lt;/td&gt;
          &lt;td&gt;47&lt;/td&gt;
          &lt;td&gt;2F&lt;/td&gt;
          &lt;td&gt;slash&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;48&lt;/td&gt;
          &lt;td&gt;30&lt;/td&gt;
          &lt;td&gt;zero&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;1&lt;/td&gt;

          &lt;td&gt;49&lt;/td&gt;
          &lt;td&gt;31&lt;/td&gt;
          &lt;td&gt;one&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;2&lt;/td&gt;
          &lt;td&gt;50&lt;/td&gt;

          &lt;td&gt;32&lt;/td&gt;
          &lt;td&gt;two&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;3&lt;/td&gt;
          &lt;td&gt;51&lt;/td&gt;
          &lt;td&gt;33&lt;/td&gt;

          &lt;td&gt;three&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;4&lt;/td&gt;
          &lt;td&gt;52&lt;/td&gt;
          &lt;td&gt;34&lt;/td&gt;
          &lt;td&gt;four&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;5&lt;/td&gt;
          &lt;td&gt;53&lt;/td&gt;
          &lt;td&gt;35&lt;/td&gt;
          &lt;td&gt;five&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;6&lt;/td&gt;
          &lt;td&gt;54&lt;/td&gt;
          &lt;td&gt;36&lt;/td&gt;
          &lt;td&gt;six&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;55&lt;/td&gt;
          &lt;td&gt;37&lt;/td&gt;
          &lt;td&gt;seven&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;8&lt;/td&gt;

          &lt;td&gt;56&lt;/td&gt;
          &lt;td&gt;38&lt;/td&gt;
          &lt;td&gt;eight&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;9&lt;/td&gt;
          &lt;td&gt;57&lt;/td&gt;

          &lt;td&gt;39&lt;/td&gt;
          &lt;td&gt;nine&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;:&lt;/td&gt;
          &lt;td&gt;58&lt;/td&gt;
          &lt;td&gt;3A&lt;/td&gt;

          &lt;td&gt;colon&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;;&lt;/td&gt;
          &lt;td&gt;59&lt;/td&gt;
          &lt;td&gt;3B&lt;/td&gt;
          &lt;td&gt;semicolon&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;&amp;lt;&lt;/td&gt;
          &lt;td&gt;60&lt;/td&gt;&lt;hr&gt;          &lt;td&gt;3C&lt;/td&gt;
          &lt;td&gt;less than&lt;br&gt;html: &amp;amp;lt;&lt;/td&gt;

     &lt;tr&gt;
          &lt;td&gt;=&lt;/td&gt;
          &lt;td&gt;61&lt;/td&gt;
          &lt;td&gt;3D&lt;/td&gt;
          &lt;td&gt;equal sign &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;&amp;gt;&lt;/td&gt;
          &lt;td&gt;62&lt;/td&gt;
          &lt;td&gt;3E&lt;/td&gt;
          &lt;td&gt;greater than&lt;br&gt;html: &amp;amp;gt;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;?&lt;/td&gt;
          &lt;td&gt;63&lt;/td&gt;
          &lt;td&gt;3F&lt;/td&gt;
          &lt;td&gt;question mark&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;@&lt;/td&gt;

          &lt;td&gt;64&lt;/td&gt;
          &lt;td&gt;40&lt;/td&gt;
          &lt;td&gt;at symbol&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;A&lt;/td&gt;
          &lt;td&gt;65&lt;/td&gt;

          &lt;td&gt;41&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;B&lt;/td&gt;
          &lt;td&gt;66&lt;/td&gt;
          &lt;td&gt;42&lt;/td&gt;

          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
       
&lt;tr&gt;
          &lt;td&gt;C&lt;/td&gt;
          &lt;td&gt;67&lt;/td&gt;
          &lt;td&gt;43&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;

     &lt;/tr&gt;
 
  &lt;tr&gt;
          &lt;td&gt;D&lt;/td&gt;
          &lt;td&gt;68&lt;/td&gt;
          &lt;td&gt;44&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;E&lt;/td&gt;
          &lt;td&gt;69&lt;/td&gt;
          &lt;td&gt;45&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;F&lt;/td&gt;
          &lt;td&gt;70&lt;/td&gt;
          &lt;td&gt;46&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;G&lt;/td&gt;

          &lt;td&gt;71&lt;/td&gt;
          &lt;td&gt;47&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;H&lt;/td&gt;
          &lt;td&gt;72&lt;/td&gt;

          &lt;td&gt;48&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;I&lt;/td&gt;
          &lt;td&gt;73&lt;/td&gt;
          &lt;td&gt;49&lt;/td&gt;

          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;J&lt;/td&gt;
          &lt;td&gt;74&lt;/td&gt;
          &lt;td&gt;4A&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;K&lt;/td&gt;
          &lt;td&gt;75&lt;/td&gt;
          &lt;td&gt;4B&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;L&lt;/td&gt;
          &lt;td&gt;76&lt;/td&gt;
          &lt;td&gt;4C&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;M&lt;/td&gt;
          &lt;td&gt;77&lt;/td&gt;
          &lt;td&gt;4D&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;N&lt;/td&gt;

          &lt;td&gt;78&lt;/td&gt;
          &lt;td&gt;4E&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;O&lt;/td&gt;
          &lt;td&gt;79&lt;/td&gt;

          &lt;td&gt;4F&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
  
   &lt;tr&gt;
          &lt;td&gt;P&lt;/td&gt;
          &lt;td&gt;80&lt;/td&gt;
          &lt;td&gt;50&lt;/td&gt;

          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;Q&lt;/td&gt;
          &lt;td&gt;81&lt;/td&gt;
          &lt;td&gt;51&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;R&lt;/td&gt;
          &lt;td&gt;82&lt;/td&gt;
          &lt;td&gt;52&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;S&lt;/td&gt;
          &lt;td&gt;83&lt;/td&gt;
          &lt;td&gt;53&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;T&lt;/td&gt;
          &lt;td&gt;84&lt;/td&gt;
          &lt;td&gt;54&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;U&lt;/td&gt;

          &lt;td&gt;85&lt;/td&gt;
          &lt;td&gt;55&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;V&lt;/td&gt;
          &lt;td&gt;86&lt;/td&gt;

          &lt;td&gt;56&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;W&lt;/td&gt;
          &lt;td&gt;87&lt;/td&gt;
          &lt;td&gt;57&lt;/td&gt;

          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;X&lt;/td&gt;
          &lt;td&gt;88&lt;/td&gt;
          &lt;td&gt;58&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;Y&lt;/td&gt;
          &lt;td&gt;89&lt;/td&gt;
          &lt;td&gt;59&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;Z&lt;/td&gt;
          &lt;td&gt;90&lt;/td&gt;
          &lt;td&gt;5A&lt;/td&gt;
          &lt;td&gt;  &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;[&lt;/td&gt;
          &lt;td&gt;91&lt;/td&gt;
          &lt;td&gt;5B&lt;/td&gt;
          &lt;td&gt;left bracket&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;\&lt;/td&gt;

          &lt;td&gt;92&lt;/td&gt;
          &lt;td&gt;5C&lt;/td&gt;
          &lt;td&gt;backslash&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;]&lt;/td&gt;
          &lt;td&gt;93&lt;/td&gt;

          &lt;td&gt;5D&lt;/td&gt;
          &lt;td&gt;right bracket&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;^&lt;/td&gt;
          &lt;td&gt;94&lt;/td&gt;
          &lt;td&gt;5E&lt;/td&gt;

          &lt;td&gt;caret&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;_&lt;/td&gt;
          &lt;td&gt;95&lt;/td&gt;
          &lt;td&gt;5F&lt;/td&gt;
          &lt;td&gt;underline&lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;`&lt;/td&gt;
          &lt;td&gt;96&lt;/td&gt;
          &lt;td&gt;60&lt;/td&gt;
          &lt;td&gt;grave accent&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;a&lt;/td&gt;
          &lt;td&gt;97&lt;/td&gt;
          &lt;td&gt;61&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;b&lt;/td&gt;

          &lt;td&gt;98&lt;/td&gt;
          &lt;td&gt;62&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;c&lt;/td&gt;
          &lt;td&gt;99&lt;/td&gt;

          &lt;td&gt;63&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;d&lt;/td&gt;
          &lt;td&gt;100&lt;/td&gt;
          &lt;td&gt;64&lt;/td&gt;

          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;e&lt;/td&gt;
          &lt;td&gt;101&lt;/td&gt;
          &lt;td&gt;65&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;

&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;f&lt;/td&gt;
          &lt;td&gt;102&lt;/td&gt;
          &lt;td&gt;66&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;g&lt;/td&gt;
          &lt;td&gt;103&lt;/td&gt;
          &lt;td&gt;67&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;h&lt;/td&gt;

          &lt;td&gt;104&lt;/td&gt;
          &lt;td&gt;68&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;i&lt;/td&gt;
          &lt;td&gt;105&lt;/td&gt;

          &lt;td&gt;69&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;j&lt;/td&gt;
          &lt;td&gt;106&lt;/td&gt;
          &lt;td&gt;6A&lt;/td&gt;

          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;k&lt;/td&gt;
          &lt;td&gt;107&lt;/td&gt;
          &lt;td&gt;6B&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;l&lt;/td&gt;
          &lt;td&gt;108&lt;/td&gt;
          &lt;td&gt;6C&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;m&lt;/td&gt;
          &lt;td&gt;109&lt;/td&gt;
          &lt;td&gt;6D&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;n&lt;/td&gt;

          &lt;td&gt;110&lt;/td&gt;
          &lt;td&gt;6E&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;o&lt;/td&gt;
          &lt;td&gt;111&lt;/td&gt;

          &lt;td&gt;6F&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;p&lt;/td&gt;
          &lt;td&gt;112&lt;/td&gt;
          &lt;td&gt;70&lt;/td&gt;

          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;q&lt;/td&gt;
          &lt;td&gt;113&lt;/td&gt;
          &lt;td&gt;71&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;

&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;r&lt;/td&gt;
          &lt;td&gt;114&lt;/td&gt;
          &lt;td&gt;72&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;s&lt;/td&gt;
          &lt;td&gt;115&lt;/td&gt;
          &lt;td&gt;73&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;t&lt;/td&gt;

          &lt;td&gt;116&lt;/td&gt;
          &lt;td&gt;74&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;u&lt;/td&gt;
          &lt;td&gt;117&lt;/td&gt;

          &lt;td&gt;75&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;v&lt;/td&gt;
          &lt;td&gt;118&lt;/td&gt;
          &lt;td&gt;76&lt;/td&gt;

          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;w&lt;/td&gt;
          &lt;td&gt;119&lt;/td&gt;
          &lt;td&gt;77&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;

     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;x&lt;/td&gt;
          &lt;td&gt;120&lt;/td&gt;
          &lt;td&gt;78&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;y&lt;/td&gt;
          &lt;td&gt;121&lt;/td&gt;
          &lt;td&gt;79&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;z&lt;/td&gt;

          &lt;td&gt;122&lt;/td&gt;
          &lt;td&gt;7A&lt;/td&gt;
          &lt;td&gt; &lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;{&lt;/td&gt;
          &lt;td&gt;123&lt;/td&gt;

          &lt;td&gt;7B&lt;/td&gt;
          &lt;td&gt;left brace&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;|&lt;/td&gt;
          &lt;td&gt;124&lt;/td&gt;
          &lt;td&gt;7C&lt;/td&gt;

          &lt;td&gt;vertical line&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;}&lt;/td&gt;
          &lt;td&gt;125&lt;/td&gt;
          &lt;td&gt;7D&lt;/td&gt;
          &lt;td&gt;right brace&lt;/td&gt;

&lt;/tr&gt;
     &lt;tr&gt;
          &lt;td&gt;~&lt;/td&gt;
          &lt;td&gt;126&lt;/td&gt;
          &lt;td&gt;7E&lt;/td&gt;
          &lt;td&gt;tilde&lt;/td&gt;
     &lt;/tr&gt;

     &lt;tr&gt;
          &lt;td&gt;DEL&lt;/td&gt;
          &lt;td&gt;127&lt;/td&gt;
          &lt;td&gt;7F&lt;/td&gt;
          &lt;td&gt;deleting backspace&lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;&amp;copy;&lt;/td&gt;
          &lt;td&gt;169&lt;/td&gt;
          &lt;td&gt;A9&lt;/td&gt;
          &lt;td&gt;copyright&lt;br&gt;html: &amp;amp;copy;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;&amp;#153;&lt;/td&gt;
          &lt;td&gt;153&lt;/td&gt;
          &lt;td&gt;99&lt;/td&gt;
          &lt;td&gt;trademark&lt;br&gt;html: &amp;amp;153;&lt;br&gt;(non-standard)&lt;/td&gt;
&lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt;&amp;#174;&lt;/td&gt;
          &lt;td&gt;174&lt;/td&gt;
          &lt;td&gt;AE&lt;/td&gt;
          &lt;td&gt;registered&lt;br&gt;html: &amp;amp;174;&lt;br&gt;(non-standard)&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;

          &lt;td&gt; &lt;/td&gt;
          &lt;td&gt;na&lt;/td&gt;
          &lt;td&gt;na&lt;/td&gt;
          &lt;td&gt;non-breaking space&lt;br&gt;html: &amp;amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Manoj&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-9146353537733768017?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/K2jGHP4yV2m__yjmbd_1bQ1E_gQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K2jGHP4yV2m__yjmbd_1bQ1E_gQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/K2jGHP4yV2m__yjmbd_1bQ1E_gQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K2jGHP4yV2m__yjmbd_1bQ1E_gQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/3I9W_ckyfrE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/9146353537733768017/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/01/ascii-key-values_05.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/9146353537733768017?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/9146353537733768017?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/3I9W_ckyfrE/ascii-key-values_05.html" title="ASCII Key values" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/01/ascii-key-values_05.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04ER38yeip7ImA9WxBRFkU.&quot;"><id>tag:blogger.com,1999:blog-8138765835465472483.post-2004540339041623693</id><published>2010-01-05T03:08:00.000-08:00</published><updated>2010-01-05T03:11:46.192-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-05T03:11:46.192-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Difference between Interface and abstract class" /><title>Difference between Interface and abstract class</title><content type="html">Introduction:&lt;br /&gt;&lt;br /&gt;Hi everyone, in this article I will explain what is abstract class &amp; Interface, what their purpose and what is the difference between them.&lt;br /&gt;&lt;br /&gt;Back Ground:&lt;br /&gt;&lt;br /&gt;Before starting I want to give a brief wind up on something like&lt;br /&gt;1. Class: It is a collection of methods, attributes, Properties etc., all the methods in the class are concrete classes (definition already exists).&lt;br /&gt;2. Concrete Methods: A method which contains the implementation.&lt;br /&gt;EX:-&lt;br /&gt;Public void ConcreteMethod()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine(“Method with Implementation”);&lt;br /&gt;}&lt;br /&gt;3. Abstract Methods: opposite of abstract methods,i.e. method which does not have implementation or body.&lt;br /&gt;Ex:-&lt;br /&gt;Public void AbstarctMethod();&lt;br /&gt;4. As we know both the abstract class and interface cannot be instantiated, because these are used for implementing the inheritance (which mean to derive), because of this we can use these by deriving in our class.&lt;br /&gt;&lt;br /&gt;Abstract Class:&lt;br /&gt;Definition: This is a class, which is a combination of both concrete and abstract methods (method without any definition)&lt;br /&gt;A class which contains at least one abstract method&lt;br /&gt;Purpose:&lt;br /&gt;1. Can implement the common functionalities as concrete methods and non common functionalities as abstract methods in the same class.&lt;br /&gt;2. Normal class + additional features of abstract methods.&lt;br /&gt;&lt;br /&gt;Interface:&lt;br /&gt;Definition: This is a skeleton representation of a class. It is a pure abstract class.&lt;br /&gt;Purpose:&lt;br /&gt;1. This is used to interact between different modules to specify the methods and there signatures.&lt;br /&gt;2. This is used to define the methods and the signatures types of the method while defining the skeleton, so that I will be easier to implement them.&lt;br /&gt;3. This is used to force the user to implement all the methods declared in the interface.&lt;br /&gt;4. For the implementation of multiple inheritance.&lt;br /&gt;&lt;br /&gt;Difference between Interface and abstract class&lt;br /&gt;&lt;br /&gt;1. As we see abstract class does not show full abstartion, but interface is a pure abstract class as it has only abstract methods.&lt;br /&gt;2. Can implement the Multiple Inheritance with the use of interface.&lt;br /&gt;3. The modifiers for methods in interface can be only public the modifiers for methods in abstract class can be public or protected.&lt;br /&gt;4. One or more interfaces can be implemented only one abstract class can be extended&lt;br /&gt;5. Only an interface can extend another interface, but class can extend an abstract class.&lt;br /&gt;6. Abstract classes should have subclasses else that will be useless..Interfaces must have implementations by other classes else that will be useless&lt;br /&gt;7. Accessibility modifier (Public/Private/internal) is allowed for abstract class. Interface doesn't allow accessibility modifier&lt;br /&gt;8. An abstract class can contain fields, constructors, or destructors and implement properties. An interface cannot contain fields, constructors, or destructors and it has only the property's signature but no implementation.&lt;br /&gt;&lt;br /&gt;Similarities&lt;br /&gt;&lt;br /&gt;1.Both the interface and the abstract class can contain zero or nil abstract methods.&lt;br /&gt;&lt;br /&gt;2. In both cases all the abstract methods declared should be implemented/extended respectively&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8138765835465472483-2004540339041623693?l=manojmathe.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rFX43qgWVzrEgjhn53HLB3yzhsw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rFX43qgWVzrEgjhn53HLB3yzhsw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rFX43qgWVzrEgjhn53HLB3yzhsw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rFX43qgWVzrEgjhn53HLB3yzhsw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/VTgbE/~4/eEMAqvo0rIg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://manojmathe.blogspot.com/feeds/2004540339041623693/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://manojmathe.blogspot.com/2010/01/difference-between-interface-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/2004540339041623693?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8138765835465472483/posts/default/2004540339041623693?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/VTgbE/~3/eEMAqvo0rIg/difference-between-interface-and.html" title="Difference between Interface and abstract class" /><author><name>Manoj</name><uri>http://www.blogger.com/profile/11306814678750936131</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/-sa8gNS3frM8/TZtsceIXdqI/AAAAAAAAD-0/sQtKuIJSjj4/s220/DSCN0190-2.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://manojmathe.blogspot.com/2010/01/difference-between-interface-and.html</feedburner:origLink></entry></feed>

