<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-11641039</id><updated>2012-05-18T07:08:08.083-07:00</updated><category term='Personal'/><category term='General'/><category term='Technology'/><category term='.NET'/><title type='text'>Ranga Fernando's Web Log</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11641039.post-2876353641020035124</id><published>2008-11-10T00:44:00.000-08:00</published><updated>2008-11-10T00:46:06.282-08:00</updated><title type='text'>Loop through Enums in C#</title><content type='html'>&lt;span style="font-weight:bold;"&gt;option 01&lt;/span&gt;&lt;br /&gt;public enum myEnum&lt;br /&gt;{&lt;br /&gt;Enum01= 1,&lt;br /&gt;Enum02= 2,&lt;br /&gt;Enum03= 3&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;foreach (typeof(myEnum) item in myEnum)&lt;br /&gt;{&lt;br /&gt;ddl.Items.Add(item.null,eventhandler)&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;option 02&lt;/span&gt;&lt;br /&gt;if you want to bind DropDownList to Enum&lt;br /&gt;then this is what you need&lt;br /&gt;&lt;br /&gt;myDropDownList.DataSource = Enum.GetNames( typeof( MyEnum ) );&lt;br /&gt;myDropDownList.DataBind();&lt;br /&gt;&lt;br /&gt;or like that&lt;br /&gt;&lt;br /&gt;foreach (string item in Enum.GetNames(typeof(MyEnum)))&lt;br /&gt;{&lt;br /&gt;int value = (int) Enum.Parse( typeof(MyEnum), item );&lt;br /&gt;ListItem listItem = new ListItem( item, value.ToString() );&lt;br /&gt;ddl1.Items.Add( listItem );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;option 03&lt;/span&gt;&lt;br /&gt;foreach ( string s in Enum.GetNames(typeof(MyEnum)) )&lt;br /&gt;{&lt;br /&gt;whatever.add(s);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;More on:&lt;br /&gt;http://msdn2.microsoft.com/en-us/library/system.enum(VS.71).aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-2876353641020035124?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/2876353641020035124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=2876353641020035124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/2876353641020035124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/2876353641020035124'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2008/11/loop-through-enums-in-c.html' title='Loop through Enums in C#'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-8691806567162694712</id><published>2008-05-08T03:32:00.000-07:00</published><updated>2008-05-08T03:33:08.658-07:00</updated><title type='text'>How do I… Uninstall Microsoft Internet Explorer 7?</title><content type='html'>How do I… Uninstall Microsoft Internet Explorer 7?&lt;br /&gt;&lt;br /&gt;http://blogs.techrepublic.com.com/window-on-windows/?p=680&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-8691806567162694712?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/8691806567162694712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=8691806567162694712' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/8691806567162694712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/8691806567162694712'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2008/05/how-do-i-uninstall-microsoft-internet.html' title='How do I… Uninstall Microsoft Internet Explorer 7?'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-5227690710731567914</id><published>2008-04-30T01:31:00.000-07:00</published><updated>2008-04-30T01:43:18.877-07:00</updated><title type='text'>SELECT/DropDown Box Free Layer</title><content type='html'>Select /dropdown box overlapping with your div tags ?&lt;br /&gt;Solution with CSS.&lt;br /&gt;&lt;a href="http://www.hedgerwow.com/360/bugs/css-select-free.html"&gt;http://www.hedgerwow.com/360/bugs/css-select-free.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Solution with JavaScript&lt;br /&gt;http://xlib.wordpress.com/2006/04/12/bug-fix-select-box-displayed-through-dynamic-div-in-internet-explorer/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-5227690710731567914?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/5227690710731567914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=5227690710731567914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/5227690710731567914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/5227690710731567914'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2008/04/free-layer.html' title='SELECT/DropDown Box Free Layer'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-5681960716391049300</id><published>2007-12-17T22:51:00.001-08:00</published><updated>2007-12-17T22:51:03.268-08:00</updated><title type='text'>Give me a break</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;/b&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;&lt;font color="#ff00ff"&gt;I got this nice/funny/interesting mail from one of my best friends Ramesh!&lt;/font&gt;&lt;/strong&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#ff00ff"&gt;Thought of share this interesting mail with others.&lt;/font&gt;&lt;/strong&gt; &lt;p&gt;&lt;b&gt;&lt;/b&gt;&amp;nbsp; &lt;p&gt;&lt;b&gt;MY Dear&amp;nbsp;ON-LINE FRIENDS,&lt;/b&gt; &lt;p&gt;&lt;b&gt;I want to thank all my friends and other unknown people who have forwarded chain letters to me in 2003, 2004, 2005, 2006, 2007 &amp;amp;&amp;nbsp;YOU because of your kindness.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I stopped drinking Coca-Cola after I found out that it's good only for removing toilet stains.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I stopped going to the movies for fear of sitting on a needle infected with AIDS.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I stopped using my ATM card because I am afraid that someone might have installed a small device on the ATM machine that will stole my ATM card number and my pin number when typing it.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I smell like a wet dog since I stopped using deodorants because they cause cancer.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I don't leave my car in the parking lot or any other place and sometimes I even have to walk about 7 blocks for fear that someone will drug me with a perfume sample and try to rob me.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I also stopped answering the phone for fear that they may ask me to dial a stupid number and then I get a phone bill from hell with calls to Uganda, Singapore and Tokyo.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I also stopped drinking anything out of a can for fear that I will get sick from the rat faeces and urine.&lt;/b&gt; &lt;p&gt;&lt;b&gt;When I go to parties, I don't look at any girl, no matter how hot she is, for fear that she will take me to a hotel, drug me, then take my kidneys and leave me taking a nap in a bathtub full of ice.&lt;/b&gt; &lt;p&gt;&lt;b&gt;I also donated all my savings to the Amy Bruce account. A sick girl that was about to die in the hospital about 7,000 times. (Poor girl! she's been 7 since 1993...)&lt;/b&gt; &lt;p&gt;&lt;b&gt;I went bankrupt from bounced checks that I made, expecting the $15,000 that Microsoft and AOL were supposed to send me (when I participated in their special-mail program) would arrive soon.&lt;/b&gt; &lt;p&gt;&lt;b&gt;My free Nokia phone never arrived and neither did the free passes for a paid vacation to Disneyland.&lt;/b&gt; &lt;p&gt;&lt;b&gt;Still open to help someone from Bulgaria who wants to use my account to transfer his uncle's property of some hundred millions $.&lt;/b&gt; &lt;p&gt;&lt;b&gt;Made some Hundred wishes before forwarding those Dalai Lama, most of those "Wishes" are already married (to someone else)&lt;/b&gt; &lt;p&gt;&lt;b&gt;IMPORTANT NOTE: If you do not send this e-mail to at least 913760 people in the next 10 seconds, a bird will sh*t on your head today at 04.00 p.m.&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;Now give me a break !!!&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-5681960716391049300?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/5681960716391049300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=5681960716391049300' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/5681960716391049300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/5681960716391049300'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/12/give-me-break.html' title='Give me a break'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-3140664732862365340</id><published>2007-12-17T21:38:00.001-08:00</published><updated>2007-12-17T21:38:13.640-08:00</updated><title type='text'>MSSQL Select Top 10 and Next 10 (fwd ...n)</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;The following query will emulate a  &lt;p&gt;SELECT emp_id,lname,fname FROM employee LIMIT 20,10  &lt;p&gt;That says, give me 10 records starting at record 21. So what will be&lt;br&gt;returned are rows 21-30. This is used heavily in web-based apps so you can&lt;br&gt;do recordset paging.  &lt;p&gt;Here is what you can do in MS SQL to emulate it (this runs on the PUBS&lt;br&gt;db):  &lt;p&gt;&lt;font color="#0000ff"&gt;select * from (&lt;br&gt;select top 10 emp_id,lname,fname from (&lt;br&gt;select top 30 emp_id,lname,fname&lt;br&gt;from employee&lt;br&gt;order by lname asc&lt;br&gt;) as newtbl order by lname desc&lt;br&gt;) as newtbl2 order by lname asc &lt;/font&gt; &lt;p&gt;The main thing to remember is to deal with all your ORDER BY clauses and&lt;br&gt;also to use the inner TOP as the sum of what you are looking for. In this&lt;br&gt;example - 30 since you start at 20 and want 10 rows (20+10=30).  &lt;p&gt;Hope this helps you as it has helped me improve performance greatly on my&lt;br&gt;web-based apps since I no longer have to transfer loads of data across the&lt;br&gt;wire to get just the 10 results I display on a page.  &lt;p&gt;&lt;font color="#ff0000"&gt;Don't even think about using the internal ADO paging stuff if you have a&lt;br&gt;lot of records to deal with, it will kill your performance as it must pull&lt;br&gt;the entire recordset down to the local machine before it can do its work.&lt;br&gt;Why bring down 20,000 records if you only want to display 10?&lt;/font&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-3140664732862365340?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/3140664732862365340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=3140664732862365340' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/3140664732862365340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/3140664732862365340'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/12/mssql-select-top-10-and-next-10-fwd-n.html' title='MSSQL Select Top 10 and Next 10 (fwd ...n)'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-4287837665082946368</id><published>2007-12-12T23:20:00.001-08:00</published><updated>2007-12-12T23:20:33.456-08:00</updated><title type='text'>6 Truths of Life.</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;br&gt;1.&amp;nbsp;&amp;nbsp;You cannot touch all your teeth with your tongue.&lt;br&gt;2.&amp;nbsp;&amp;nbsp;All idiots, after reading the first truth try it. &lt;br&gt;3.&amp;nbsp;&amp;nbsp;The first truth is a lie.&lt;br&gt;4.&amp;nbsp;&amp;nbsp;You're smiling now because you're an idiot. &lt;br&gt;5.&amp;nbsp;&amp;nbsp;You soon will forward this to another idiot. &lt;br&gt;6.&amp;nbsp;&amp;nbsp;There's still a stupid smile on your face.&lt;/b&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-4287837665082946368?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/4287837665082946368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=4287837665082946368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/4287837665082946368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/4287837665082946368'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/12/6-truths-of-life.html' title='6 Truths of Life.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-8734239367413603382</id><published>2007-11-26T05:01:00.001-08:00</published><updated>2007-11-26T05:01:50.979-08:00</updated><title type='text'>Get only one ( top most) record from relation table.</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;select &lt;br&gt;(select flightnumber as fn&lt;br&gt;from routing r &lt;br&gt;where r.involvedinformationid=ii.id&lt;br&gt;and r.id=(select MIN(id) from routing where involvedinformationid=r.involvedinformationid)),ip.*, ii.*&lt;br&gt;from involvedperson ip left outer join involvedinformation ii on ip.id=ii.involvedpersonid&lt;br&gt;where ip.emergencysituationcaseid=561&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-8734239367413603382?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/8734239367413603382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=8734239367413603382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/8734239367413603382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/8734239367413603382'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/11/get-only-one-top-most-record-from.html' title='Get only one ( top most) record from relation table.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-151243678081727971</id><published>2007-08-22T21:36:00.001-07:00</published><updated>2007-08-22T21:36:44.656-07:00</updated><title type='text'>PEOPLE WONDER WHY THE CALL CENTRE GUYS R PAID SO MUCH.</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;PEOPLE WONDER WHY THE CALL CENTRE GUYS R PAID SO MUCH......FOR JUST BEING&lt;br&gt;ON THE PHONE. &lt;br&gt;TAKE A LOOK:&lt;br&gt;1 ) Tech Support : "I need you to right-click on the Open Desktop."&lt;br&gt;Customer : "Ok." &lt;br&gt;Tech Support : "Did you get a pop-up menu?"&lt;br&gt;Customer : "No."&lt;br&gt;Tech Support : "Ok. Right click again. Do you see a pop-up menu?" &lt;br&gt;Customer : "No."&lt;br&gt;Tech Support : "Ok, sir. Can you tell me what you have done up until this &lt;br&gt;point?"&lt;br&gt;Customer : "Sure, you told me to write 'click' and I wrote 'click'." &lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----------------------------------------&lt;br&gt;2) Customer : "I received the software update you sent, but I am still &lt;br&gt;getting the same error message."&lt;br&gt;Tech Support : "Did you install the update?" &lt;br&gt;Customer: "No. Oh, am I supposed to install it to get it to work?"&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;3)Customer : "I'm having trouble installing Microsoft Word." &lt;br&gt;Tech Support : "Tell me what you've done." &lt;br&gt;Customer : "I typed 'A: SETUP'."&lt;br&gt;Tech Support : "Ma'am, remove the disk and tell me what it says." &lt;br&gt;Customer : "It says '[PC manufacturer] Restore and Recovery disk'." &lt;br&gt;Tech Support : "Insert the MS Word setup disk."&lt;br&gt;Customer : "What?"&lt;br&gt;Tech Support: "Did you buy MS word?" &lt;br&gt;Customer: "No..."&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;4).Customer : "Do I need a computer to use your software?"&lt;br&gt;Tech Support : ?!%#$ (welll pretend to smile) &lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --------------------------------------------------&lt;br&gt;5). Tech Support : "Ok, in the bottom left hand side of the screen, can you &lt;br&gt;see the 'OK' button displayed?"&lt;br&gt;Customer : "Wow. How can you see my screen from there?" &lt;br&gt;Tech support : ##### ***&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;6) Tech Support : "What type of computer do you have?" &lt;br&gt;Customer : "A white one."&lt;br&gt;Tech support : ******_____####&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;7). Tech Support : "What operating system are you running?" &lt;br&gt;Customer : "Pentium." &lt;br&gt;Tech support : ////-----+++&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;8). Customer : "My computer's telling me I performed an illegal abortion." &lt;br&gt;Tech support : ?????? &lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --------------------------------------------------&lt;br&gt;9)Cus tomer : "I have Microsoft Exploder." &lt;br&gt;Tech Support : ?!%#$&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;10). Customer : "How do I print my voicemail?"&lt;br&gt;Tech support : ??????&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;11). Customer : "You've got to fix my computer.. I urgently need to print &lt;br&gt;document, but the computer won't boot properly." &lt;br&gt;Tech Support : "What does it say?"&lt;br&gt;Customer : "Something about an error and non-system disk." &lt;br&gt;Tech Support : "Look at your machine. Is there a floppy inside?" &lt;br&gt;Customer : "No, but there's a sticker saying there's an Intel inside." &lt;br&gt;Tech support : @@@@@&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -------------------------------------------------- &lt;br&gt;12). Tech Support: "Just call us back if there's a problem. We're open 24 &lt;br&gt;hours."&lt;br&gt;Customer: "Is that Eastern time?" &lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --------------------------------------------------&lt;br&gt;13). Tech Support : "What does the screen say now?"&lt;br&gt;Customer : "It says, 'Hit ENTER when ready'." &lt;br&gt;Tech Support : "Well?" &lt;br&gt;Customer : "How do I know when it's ready?"&lt;br&gt;Tech support : *** ---- ++++&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --------------------------------------------------&lt;br&gt;The best of the lot &lt;br&gt;14). A plain computer illiterate guy rings tech support to report that his &lt;br&gt;computer is faulty.&lt;br&gt;Tech: What's the problem?&lt;br&gt;User: There is smoke coming out of the power supply.&lt;br&gt;Tech: (keep quite)&lt;br&gt;Tech: You'll need a new power supply. &lt;br&gt;User: No, I don't! I just need to change the startup files. &lt;br&gt;Tech: Sir, the power supply is faulty. You'll need to replace it.&lt;br&gt;User: No way! Someone told me that I just needed to change the startup and&lt;br&gt;it will fix the&lt;br&gt;problem! All I need is for you to tell me the command. &lt;br&gt;Tech support::&lt;br&gt;10 minutes later, the User is still adamant that he is right. The tech is&lt;br&gt;frustrated and fed up.&lt;br&gt;Tech support:: (hush hush) &lt;br&gt;Tech: Sorry, Sir. We don't normally tell our customers this, but there is &lt;br&gt;an undocumented DOS&lt;br&gt;command that will fix the problem.&lt;br&gt;User: I knew it!&lt;br&gt;Tech : Just add the line LOAD &lt;a href="http://nosmoke.com/"&gt;&lt;u&gt;NOSMOKE.COM &lt;/u&gt;&lt;/a&gt;at the end of the CONFIG.SYS. Let &lt;br&gt;me know how it goes.&lt;br&gt;10 minutes later.&lt;br&gt;User : It didn't work. The power supply is still smoking. &lt;br&gt;Tech : Well, what version of DOS are you using?&lt;br&gt;User : MS-DOS 6.22 . &lt;br&gt;Tech : That's your problem there. That version of DOS didn't come with&lt;br&gt;NOSMOKE. Contact Microsoft and ask them for a patch that will give you the&lt;br&gt;file. Let me know how it goes.&lt;br&gt;1 hour later.&lt;br&gt;User : I need a new power supply. &lt;br&gt;Tech support : How did you come to that conclusion?&lt;br&gt;Tech support : (hush hush)&lt;br&gt;User : Well, I rang Microsoft and told him about what you said, and he&lt;br&gt;started asking questions about the make of power supply.&lt;br&gt;Tech: Then what did he say?&lt;br&gt;User: He told me that my power supply isn't compatible with NOSMOKE. &lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-------------------------------------------------&lt;br&gt;Hight Of all (Too Good)&lt;br&gt;15) customer care officer: I need a product identification number right now &lt;br&gt;and may I help u in&lt;br&gt;finding it out? &lt;br&gt;Cust: sure&lt;br&gt;CCO: could u left click on start and do u find 'My Computer'?&lt;br&gt;Cust: I did left click but how the hell do I find your computer? &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-151243678081727971?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/151243678081727971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=151243678081727971' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/151243678081727971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/151243678081727971'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/08/people-wonder-why-call-centre-guys-r.html' title='PEOPLE WONDER WHY THE CALL CENTRE GUYS R PAID SO MUCH.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-6544712185527321706</id><published>2007-08-09T20:55:00.000-07:00</published><updated>2007-08-09T21:06:00.708-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Google Starts Selling its mail storage. ( no more free ? )</title><content type='html'>Today in the morning when I checked my gmail. I noticed new message appraing in the top left conner in my gmail acount page. see the attached image.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_J8tMaiTw4lE/RrvinxqT5TI/AAAAAAAAABA/Xkn-kvyK7YE/s1600-h/Gmail_Starts_Business.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5096916576273425714" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 663px; CURSOR: hand; HEIGHT: 132px; TEXT-ALIGN: center" height="99" alt="" src="http://4.bp.blogspot.com/_J8tMaiTw4lE/RrvinxqT5TI/AAAAAAAAABA/Xkn-kvyK7YE/s320/Gmail_Starts_Business.jpg" width="452" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Opps my inbox exceeding its  free quota given by Gmail :(.  If I want to manage my quota need to follow their instructions or need to PURCHASE extra storage.&lt;/div&gt;&lt;div&gt;I never thought that google asked money for thier services. No wonder they will asked for some money for thier SMS reminder services implemented in Google-Calender. :(&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-6544712185527321706?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/6544712185527321706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=6544712185527321706' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/6544712185527321706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/6544712185527321706'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/08/google-starts-selling-its-mail-storage.html' title='Google Starts Selling its mail storage. ( no more free ? )'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_J8tMaiTw4lE/RrvinxqT5TI/AAAAAAAAABA/Xkn-kvyK7YE/s72-c/Gmail_Starts_Business.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-1251297376626985226</id><published>2007-08-01T21:15:00.001-07:00</published><updated>2007-08-01T21:16:24.883-07:00</updated><title type='text'>Poems found in toilets</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I received this nice email one of my cousins. I thought to share it with my friends .. here it is...&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;THE "FUTURE" IS IN YOUR HAND , HOLD IT GENTLY" &lt;p&gt;Excellent poems by not so famous poets...  &lt;p&gt;Found on toilet doors and walls.......&lt;br&gt;...&lt;br&gt;A budding poet trying his best...  &lt;p&gt;Here I lie in stinky vapor,&lt;br&gt;Because some bastard stole the toilet paper,&lt;br&gt;Shall I lie, or shall I linger,&lt;br&gt;Or shall I be forced to use my finger. &lt;p&gt;Before he graduated to be a poet, he wrote this... &lt;p&gt;Here I sit&lt;br&gt;Broken hearted&lt;br&gt;Tried to shit&lt;br&gt;But only farted &lt;p&gt;Someone who had a different experience wrote, &lt;p&gt;You're lucky&lt;br&gt;You had your chance&lt;br&gt;I tried to fart,&lt;br&gt;And shit my pants! &lt;p&gt;Perhaps it's true that people find inspiration in toilets. &lt;p&gt;I came here&lt;br&gt;To shit and stink,&lt;br&gt;But all I do&lt;br&gt;Is sit and think. &lt;p&gt;There are also people who come in for a different purpose... &lt;p&gt;Some come here to sit and think,&lt;br&gt;Some come here to shit and stink, &lt;br&gt;But I come&lt;br&gt;here to scratch my balls ,&lt;br&gt;And read the bullshit on the walls... &lt;p&gt;Toilets walls also double as job advertisement space....... &lt;p&gt;(written high upon the wall)&lt;br&gt;If you can piss above this line, the Singapore Fire Department wants you.  &lt;p&gt;Ministry of Environment advertisement. &lt;p&gt;We aim to please!&lt;br&gt;You aim too! Please &lt;p&gt;On the inside of a toilet door: &lt;p&gt;Patrons are requested to remain seated throughout the entire performance. &lt;p&gt;And finally, this should teach some a lesson... &lt;p&gt;Sign seen at a restaurant: &lt;p&gt;The hands that clean these toilets also make your food...please aim properly.&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-1251297376626985226?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/1251297376626985226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=1251297376626985226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/1251297376626985226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/1251297376626985226'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/08/poems-found-in-toilets.html' title='Poems found in toilets'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-3877445455747115259</id><published>2007-06-10T22:45:00.001-07:00</published><updated>2007-06-10T23:00:05.621-07:00</updated><title type='text'>Bill Gates: “Dad, I always told you I’d come back and get my degree” - And he did</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_J8tMaiTw4lE/RmzkRJROn9I/AAAAAAAAAA4/nyX9djf4sBw/s1600-h/Bill-Gates-Dad-I-always-Told-You-I-d-Come-Back-and-Get-My-Degree-2.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5074681863336796114" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_J8tMaiTw4lE/RmzkRJROn9I/AAAAAAAAAA4/nyX9djf4sBw/s320/Bill-Gates-Dad-I-always-Told-You-I-d-Come-Back-and-Get-My-Degree-2.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Microsoft Chairman and Co-Founder Bill Gates has been waiting for over 30 years, 32 years to be more specific, to finally get his degree from Harvard University. And, yesterday June 7, 2007, William H. Gates III (Bill Gates) was awarded a honorary degree at Commencement’s Morning Exercises at Harvard. Gates is now the proud possessor of a Doctor of Laws degree from the American University. Gates quit Harvard in his junior year following the first successful sale of the programming language BASIC he had authored for the MITS Altair. After he left Harvard, Gates dedicated himself to Microsoft, the company he had founded with Paul Allen in 1975. &lt;/p&gt;&lt;a href="http://news.softpedia.com/news/Bill-Gates-Dad-I-always-Told-You-I-d-Come-Back-and-Get-My-Degree-56850.shtml"&gt;read more...&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-3877445455747115259?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/3877445455747115259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=3877445455747115259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/3877445455747115259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/3877445455747115259'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/06/bill-gates-dad-i-always-told-you-id.html' title='Bill Gates: “Dad, I always told you I’d come back and get my degree” - And he did'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_J8tMaiTw4lE/RmzkRJROn9I/AAAAAAAAAA4/nyX9djf4sBw/s72-c/Bill-Gates-Dad-I-always-Told-You-I-d-Come-Back-and-Get-My-Degree-2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-6422027692640935663</id><published>2007-05-24T21:23:00.000-07:00</published><updated>2007-05-24T21:38:18.491-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Adding Images to my blog.</title><content type='html'>&lt;div&gt;I was trying to add images to my blog using "Windows Live Writer (Beta)" for some reason it didn't allow me to upload images, here is the error that i'm getting.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_J8tMaiTw4lE/RlZnSir9tvI/AAAAAAAAAAw/qi6fvnfp4Y4/s1600-h/error.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5068351998898583282" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_J8tMaiTw4lE/RlZnSir9tvI/AAAAAAAAAAw/qi6fvnfp4Y4/s320/error.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;may be FTP has been bloked by our adminstrators.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;how ever i'm testing uploading images thought blogger.com interface.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-6422027692640935663?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/6422027692640935663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=6422027692640935663' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/6422027692640935663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/6422027692640935663'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/05/adding-images-to-my-blog.html' title='Adding Images to my blog.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_J8tMaiTw4lE/RlZnSir9tvI/AAAAAAAAAAw/qi6fvnfp4Y4/s72-c/error.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-4488871639300142312</id><published>2007-05-21T21:46:00.001-07:00</published><updated>2007-05-24T21:38:56.872-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><title type='text'>Market Share for Top Servers Across All Domains.</title><content type='html'>&lt;p&gt;Apache web servers becomming the TOP runners in web server arena.&lt;br /&gt;Not just only hosting, Apache has overtaken Microsoft as the leading developer of secure web servers. Apache now runs on 44.0% of secure web sites, compared to 43.8% for Microsoft. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Market Share for Top Servers Accross All Domains August 1995 -May 2007&lt;/p&gt;&lt;p&gt;&lt;img src="http://news.netcraft.com/archives/2007/05/overallc.gif" /&gt; &lt;/p&gt;&lt;p&gt;[www.netcraft.com]&lt;/p&gt;&lt;p&gt;Apache Now the Leader in SSL Servers&lt;/p&gt;&lt;p&gt;&lt;img height="204" src="http://news.netcraft.com/archives/images/ssl-dev-share-timeline.gif" width="558" /&gt; &lt;/p&gt;&lt;p&gt;[www.netcraft.com]&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-4488871639300142312?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/4488871639300142312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=4488871639300142312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/4488871639300142312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/4488871639300142312'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/05/market-share-for-top-servers-across-all.html' title='Market Share for Top Servers Across All Domains.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-34748827253673869</id><published>2007-05-11T01:53:00.001-07:00</published><updated>2007-05-24T21:39:28.598-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>How to add columns and rows into a DataTable and then add this table into a DataSet.</title><content type='html'>&lt;p&gt;This is qucik respond to one of my friends quiz, taht is how to add records to a table and then add this table into a dataset in Runtime.&lt;/p&gt;&lt;p&gt;Here is the C# code.&lt;/p&gt;&lt;p&gt;&lt;span style="color:#00ff00;"&gt;//Declaring Dataset and DataTable&lt;br /&gt;&lt;/span&gt;DataSet ds = new DataSet("myDataset");&lt;br /&gt;DataTable dt = new DataTable("myDataTable");&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color:#00ff00;"&gt;//Creating Datatable columns&lt;/span&gt;&lt;br /&gt;dt.Columns.Add("ID", Type.GetType("System.Int32"));&lt;br /&gt;dt.Columns.Add("Name", Type.GetType("System.String"));&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#00ff00;"&gt;//Datarow variable to use in adding rows&lt;br /&gt;&lt;/span&gt;DataRow dr;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color:#00ff00;"&gt;//Adding Rows&lt;/span&gt;&lt;br /&gt;for(int i=0; i&amp;lt;10; i++)&lt;br /&gt;{&lt;br /&gt;   dr = dt.NewRow();&lt;br /&gt;   dr["ID"] = i;&lt;br /&gt;   dr["Name"]=i.ToString();&lt;br /&gt;   dt.Rows.Add(dr);&lt;br /&gt;} &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color:#00ff00;"&gt;//If you need to add the table in Dataset you can do like this&lt;br /&gt;&lt;/span&gt;ds.Tables.Add(dt); &lt;/p&gt;&lt;p&gt;&lt;span style="color:#00ff00;"&gt;//Query the dataset.datatable to see the added values&lt;/span&gt;&lt;/p&gt;&lt;p&gt;foreach(DataRow r in ds.Tables[0].Rows)&lt;br /&gt;{&lt;/p&gt;&lt;p&gt;&lt;span style="color:#00ff00;"&gt;   //r[0] is the first columns. inseted r[0] you can use r["ID"]&lt;/span&gt;&lt;br /&gt;   Response.Write( r[0].ToString() + "-----" + r[1].ToString() + "&amp;lt;br&amp;gt;");&lt;br /&gt;}&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-34748827253673869?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/34748827253673869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=34748827253673869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/34748827253673869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/34748827253673869'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/05/how-to-add-columns-and-rows-into.html' title='How to add columns and rows into a DataTable and then add this table into a DataSet.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-1504474221551578552</id><published>2007-05-07T22:18:00.001-07:00</published><updated>2007-05-24T21:39:56.905-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Pictures of my new House.</title><content type='html'>&lt;table cellspadding="0" celsspacing="0" boder="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="3"&gt;&lt;b&gt;Front Elevation&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;@ the stage of construction.&lt;/td&gt;&lt;td&gt;@ the stage of plastering.&lt;/td&gt;&lt;td&gt;@ the stage of completed.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img height="180" src="http://www.srilankanstars.com/rangaimg/58423279_9a043249ff.jpg" width="240" /&gt; &lt;/td&gt;&lt;td&gt;&lt;img height="180" src="http://www.srilankanstars.com/rangaimg/DSCN1515.JPG" width="240" /&gt; &lt;/td&gt;&lt;td&gt;&lt;img height="180" src="http://www.srilankanstars.com/rangaimg/Image015.jpg" width="240" /&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="3"&gt;&lt;b&gt;Sitting Room&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;@ the stage of construction.&lt;/td&gt;&lt;td&gt;@ the stage of plastering.&lt;/td&gt;&lt;td&gt;@ the stage of completed.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img height="180" src="http://www.srilankanstars.com/rangaimg/58418894_42a1cbb1d5.jpg" width="240" /&gt; &lt;/td&gt;&lt;td&gt;&lt;img height="180" src="http://www.srilankanstars.com/rangaimg/DSCN1522.JPG" width="240" /&gt; &lt;/td&gt;&lt;td&gt;&lt;img height="180" src="http://www.srilankanstars.com/rangaimg/Image002.jpg" width="240" /&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-1504474221551578552?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/1504474221551578552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=1504474221551578552' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/1504474221551578552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/1504474221551578552'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/05/pictures-of-my-new-house.html' title='Pictures of my new House.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-1422428771642033425</id><published>2007-04-24T22:11:00.001-07:00</published><updated>2007-05-24T21:40:48.439-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Back after a long time.</title><content type='html'>&lt;p&gt;Hi friends, I'm back in my blog space after long time (almost after 2 years). Existence of my bolg space really surprised me. Thankful to blogspot.com :). &lt;/p&gt;&lt;p&gt;However, there are lots of things happened during this 2 years time, new employer, new home and so many things.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;New Employer&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I have changed my employer (doit-e lanka) in May 2006 and joined JKCS ( John Keells Computer Services) in June 19th 2006. Almost completing my one year with the new employer. &lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;Millstones &lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I have achieved one of the greats millstones in my life someone who can achieve in their life, that is to have your own home. I did it !!!!!!!!!!!&lt;/p&gt;&lt;p&gt;I will update latest pics of my new home later in this blog.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;More to come....&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;There are so many things in the raw to be happened in near future. Will post them as well :).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-1422428771642033425?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/1422428771642033425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=1422428771642033425' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/1422428771642033425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/1422428771642033425'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2007/04/back-after-long-time.html' title='Back after a long time.'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11641039.post-111156937943920129</id><published>2005-03-23T01:14:00.000-08:00</published><updated>2007-05-24T21:41:29.518-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Just Arrived</title><content type='html'>Just arrived here .. will post something sooner or later related to my field ..&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;Ranga&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11641039-111156937943920129?l=ranga.sri-lankan.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ranga.sri-lankan.net/feeds/111156937943920129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11641039&amp;postID=111156937943920129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/111156937943920129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11641039/posts/default/111156937943920129'/><link rel='alternate' type='text/html' href='http://ranga.sri-lankan.net/2005/03/just-arrived.html' title='Just Arrived'/><author><name>Ranga</name><uri>http://www.blogger.com/profile/00571433425678425298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
