<?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-3871139610192003946</id><updated>2011-09-06T03:20:24.981-05:00</updated><category term='mail message'/><category term='smtp'/><category term='login'/><category term='WWW'/><category term='internet explorer'/><category term='stylesheet'/><category term='sony'/><category term='search engine'/><category term='games'/><category term='site layout'/><category term='ports'/><category term='globalization'/><category term='inauguration'/><category term='networking'/><category term='HTTP'/><category term='c#'/><category term='adventure'/><category term='browser'/><category term='class'/><category term='internet'/><category term='microsoft'/><category term='forms'/><category term='browser wars'/><category term='DAL'/><category term='float'/><category term='gmail'/><category term='FMV'/><category term='google'/><category term='contact forms'/><title type='text'>analyse, roll eyes 120° northeast, write, build, share.</title><subtitle type='html'>code responsibly</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-6725015624561295570</id><published>2009-04-04T11:50:00.026-05:00</published><updated>2009-04-04T14:09:37.119-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sony'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><category scheme='http://www.blogger.com/atom/ns#' term='globalization'/><title type='text'>Global Networking: The more the merrier</title><content type='html'>Let's try to think simple on a macro scale. You are an international company with the intention to sell your product(s) continously in time with updates, accessories, newer versions.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_aFVX18XM6vM/Sdea03gr0dI/AAAAAAAAAE8/ahDgS34aVMI/s1600-h/ps.jpg"&gt;&lt;img style="margin: 0pt 5px 5px 0pt; float: left; cursor: pointer; width: 217px; height: 162px;" src="http://4.bp.blogspot.com/_aFVX18XM6vM/Sdea03gr0dI/AAAAAAAAAE8/ahDgS34aVMI/s400/ps.jpg" alt="" id="BLOGGER_PHOTO_ID_5320891717806445010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Example 1:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;Sony Playstation&lt;/span&gt;&lt;br /&gt;Average price: 300 USD&lt;br /&gt;Average game price: 60 USD&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In countries where children and teenagers do not have the opportunity to spend 60 dollars per game; almost every computer shop you can easily have your PS tweaked with a microchip that allows you to buy bootleg copies of games for prices in the range of 1-3 dollars, depending on the country. Is this an unknown or unstoppable flaw of Sony production that drives the executives crazy? Do they start their meetings like: "I would like to address our concerns on our production department's lack of incompetency..." or "We are hiring unlicensed engineers from Taiwan and Russia to investigate this issue".&lt;br /&gt;&lt;br /&gt;I would certainly doubt that.&lt;br /&gt;&lt;br /&gt;Knowing that in order to globalize their product and establishing brand loyalty, they have to first get inside your house. Networking will continue, product will be spread, more gaming contracts will be made, that teenager without a single licenced software in his possesion throughout his life will get older and with his financial status changed he will go buy a new licenced console, with licenced games.&lt;br /&gt;&lt;br /&gt;Congratulations you're networking throughout the world.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aFVX18XM6vM/SdeiDTDKbLI/AAAAAAAAAFM/AvE0oSlN_MI/s1600-h/3.1a.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 225px; height: 166px;" src="http://1.bp.blogspot.com/_aFVX18XM6vM/SdeiDTDKbLI/AAAAAAAAAFM/AvE0oSlN_MI/s400/3.1a.jpg" alt="" id="BLOGGER_PHOTO_ID_5320899662298377394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Example 2:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;Microsoft Windows&lt;/span&gt;&lt;br /&gt;Average Price: 100USD&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In theory this is even easier to prevent any kind of unlicenced usage. You simply attach a serial number to all copies of Windows product you publish and whenever the consumer decides to use the product you can match the serial numbers in your database with the one that client is using:&lt;br /&gt;No match, no Windows.&lt;br /&gt;&lt;br /&gt;But they won't do that.&lt;br /&gt;&lt;br /&gt;Which one is better? Selling your product only to a certain amount of people who can afford your products, or your system to the whole wide world? Forget about products; it is a lot more than that. Knowledge, information, compatibility. Even to an extent that courses or institutions that people pay to go and learn your softwares because they are the ones used on a large scale of companies.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aFVX18XM6vM/Sdeptwv0_rI/AAAAAAAAAFU/pZrdTWr7Lys/s1600-h/bgates.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 251px;" src="http://1.bp.blogspot.com/_aFVX18XM6vM/Sdeptwv0_rI/AAAAAAAAAFU/pZrdTWr7Lys/s400/bgates.jpg" alt="" id="BLOGGER_PHOTO_ID_5320908088406245042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So if you were cackling with joy over one of the 8 billion photomanipulations of Bill Gates cycling over the internet, you probably have another thing coming; he probably manipulated your head with Benjamin Franklin numerous times already.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-6725015624561295570?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/6725015624561295570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/04/networking-on-global-scale-more-merrier.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/6725015624561295570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/6725015624561295570'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/04/networking-on-global-scale-more-merrier.html' title='Global Networking: The more the merrier'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_aFVX18XM6vM/Sdea03gr0dI/AAAAAAAAAE8/ahDgS34aVMI/s72-c/ps.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-3304957226271655656</id><published>2009-03-18T11:32:00.015-05:00</published><updated>2009-03-18T13:24:37.907-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='games'/><category scheme='http://www.blogger.com/atom/ns#' term='adventure'/><category scheme='http://www.blogger.com/atom/ns#' term='FMV'/><title type='text'>What makes you think you need a Schattenjaeger?</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_aFVX18XM6vM/ScE5jWVzfLI/AAAAAAAAAEs/EJfHD9D3FlE/s1600-h/gk2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_aFVX18XM6vM/ScE5jWVzfLI/AAAAAAAAAEs/EJfHD9D3FlE/s400/gk2.jpg" alt="" id="BLOGGER_PHOTO_ID_5314592314729135282" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;Any calls for me Gracie?&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Way before Half Life and Unreal conquered and changed teenagers' taste of entertainment drastically, point and click adventure games were in their prime during the 90s. Milestone games such as &lt;a href="http://en.wikipedia.org/wiki/Day_of_the_Tentacle"&gt;Day of The Tentacle&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Monkey_Island_%28series%29"&gt;Monkey Island&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Police_Quest"&gt;Police Quest&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Leisure_Suit_Larry_in_the_Land_of_the_Lounge_Lizards"&gt;Larry&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Beneath_a_Steel_Sky"&gt;Beneath a Steel Sky&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Gabriel_Knight"&gt;Gabriel Knight&lt;/a&gt; were only a few carrying the flag along with others. The probability of missing to click on something logical or totally absurd (monkey island, totally monkey business) could have been resulting you to lose like hours or days with frustration of going everywhere on the map and clicking on everything possible, yet still no dice(literally). But in the end finding out the solution -either intentionally or unintentionally would have been causing one to act like a crazy person going berserk which would have been absolutely worrisome to the observing parents  in the 4 meter radius. (see related time line:"parents following computer age and their children from TV era").&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Sierra_Entertainment"&gt;Sierra Entertainment&lt;/a&gt; was leading the industry with specializing on the specific genre and have taken one step further with FMV(full motion video) games such as &lt;a href="http://en.wikipedia.org/wiki/Gabriel_Knight#The_Beast_Within:_A_Gabriel_Knight_Mystery_.281995.29"&gt;Gabriel Knight The Beast Within&lt;/a&gt;, &lt;a href="http://www.adventuregamers.com/article/id,101"&gt;Phantasmagoria&lt;/a&gt; which were revolutionary for it's' gameplay, real graphics and most importantly deep storyline. Their success encouraged acclaimed games like &lt;a href="http://www.gamespot.com/pc/adventure/byzantinethebetrayal/index.html"&gt;Byzantine the Betrayal&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Sanitarium_%28videogame%29"&gt;Sanitarium&lt;/a&gt; which were arguably the last great examples of the adventure games and the genre itself started to diminish at the hands of FPS (first person shooter) genre led by Half Life and Unreal which rooted from Wolfenstein, Duke Nukem and Doom.&lt;br /&gt;&lt;br /&gt;Apparently gaming studios still find it more profitable to make FPS over FPS and it is not very encouraging to see adventure games blossom again but who knows maybe someone will realize forming a great storyline like Gabriel Knight or Sanitarium will always receive interest and pay off greatly in these copycat ridden times.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-3304957226271655656?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/3304957226271655656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/03/what-makes-you-think-you-need.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/3304957226271655656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/3304957226271655656'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/03/what-makes-you-think-you-need.html' title='What makes you think you need a Schattenjaeger?'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_aFVX18XM6vM/ScE5jWVzfLI/AAAAAAAAAEs/EJfHD9D3FlE/s72-c/gk2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-7615151847745592998</id><published>2009-01-08T11:37:00.012-06:00</published><updated>2009-01-15T16:23:11.546-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WWW'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>WWW: Denominator for you, me and 1,463,632,359 other people</title><content type='html'>On December 25, 1990 &lt;a href="http://en.wikipedia.org/wiki/Tim_Berners-Lee"&gt;Tim Berners-Lee&lt;/a&gt; established the first successful communication between an HTTP client and server via the Internet with the help of &lt;a href="http://en.wikipedia.org/wiki/Robert_Cailliau"&gt;Robert Cailliau&lt;/a&gt; and a young student staff at &lt;a href="http://en.wikipedia.org/wiki/CERN"&gt;CERN&lt;/a&gt; which have led to the world wide web. It is a common misconseption that they have invented the internet.&lt;br /&gt;&lt;br /&gt;Well, they did not (see &lt;a href="http://en.wikipedia.org/wiki/Vinton_G._Cerf"&gt;Vint Cerf&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Robert_E._Kahn"&gt;Robert Kahn&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;The internet and all tools they needed to initially create the idea was already there.&lt;br /&gt;&lt;br /&gt;The missing piece (or habitat actually) was the absence of a denominator for people to meet. Berners-Lee describes the inefficiency of information transfer while working at CERN as"it was just easier to go and ask people when they were having coffee".&lt;br /&gt;&lt;br /&gt;&lt;p style="font-family: arial;"&gt;&lt;/p&gt;&lt;blockquote  style="font-style: italic; color: rgb(0, 0, 0);font-family:verdana;"&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;"Well, I found it frustrating that in those days, there was different information on different computers, but you had to log on to different computers to get at it. Also, sometimes you had to learn a different program on each computer. So finding out how things worked was really difficult. Often it was just easier to go and ask people when they were having coffee.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;Because people at CERN came from universities all over the world, they brought with them all types of computers. Not just Unix, Mac and PC: there were all kinds of big mainframe computer and medium sized computers running all sorts of software.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;I actually wrote some programs to take information from one system and convert it so it could be inserted into another system. More than once. And when you are a programmer, and you solve one problem and then you solve one that's very similar, you often think, "Isn't there a better way? Can't we just fix this problem for good?" That became "Can't we convert every information system so that it looks like part of some imaginary information system which everyone can read?" And that became the WWW."&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="font-family: arial;"&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aFVX18XM6vM/SWZT2Ma5ncI/AAAAAAAAAEM/CarPvktPwSI/s1600-h/firstWebServer.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_aFVX18XM6vM/SWZT2Ma5ncI/AAAAAAAAAEM/CarPvktPwSI/s400/firstWebServer.jpg" alt="" id="BLOGGER_PHOTO_ID_5289007002905320898" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:arial;"&gt;World's first server&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;What he basically did was, accumulating the info he had with years of experience, observed and analysed the situation, thought about a more convenient way to use a variety of tools and here you go you just connected HTTP, IP, DNS, TCP/IP and ended up creating something &lt;a href="http://www.internetworldstats.com/stats.htm"&gt;1,463,632,361&lt;/a&gt; people use: WorldWideWeb.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote  style="font-style: italic;font-family:verdana;"&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;"I want you to know that you too can make new programs which create new fun ways of using computers and using the Internet.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;I want you to realize that, if you can imagine a computer doing something, you can program a computer to do that.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;Unbounded opportunity... limited only by your imagination.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;And a couple of laws of physics.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;Of course, what happens with computers is that you have a basic simple idea and then you have to add things on to it for practical reasons. So real-world computer programs can end up with a lot of stuff in them. If they are good, they are still simple inside."&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;It actually is simple if you are proficient with the tools you use as they were parts of your body. The important part is getting there, which requires years of patience, resilience and devotion.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-7615151847745592998?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/7615151847745592998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/01/www-denominator-for-you-i-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7615151847745592998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7615151847745592998'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/01/www-denominator-for-you-i-and.html' title='WWW: Denominator for you, me and 1,463,632,359 other people'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aFVX18XM6vM/SWZT2Ma5ncI/AAAAAAAAAEM/CarPvktPwSI/s72-c/firstWebServer.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-7428135875704828245</id><published>2009-01-07T19:35:00.004-06:00</published><updated>2009-01-07T20:56:30.782-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='forms'/><category scheme='http://www.blogger.com/atom/ns#' term='class'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Basic example on login sequence and carrying data between forms: Welcome Marty McFly</title><content type='html'>Let's give a simple example on carrying data between forms by saying hi to our guest login star "mmcfly".&lt;br /&gt;&lt;br /&gt;Let's micro manage for a second:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;We have 1 user: "Marty McFly", who has the properties: "id, name, password" to login. So we need a database to keep his info and a class to define this info on our program.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We name the database: "myDatabase", name the table: "user" and columns:"userId, userName, userPassword".&lt;br /&gt;&lt;br /&gt;Back to the code side, our "login" class keeps definitons:&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-family: arial;"&gt;private int userId;&lt;br /&gt;&lt;br /&gt;public int UserId&lt;br /&gt;{&lt;br /&gt;get { return userId; }&lt;br /&gt;set { userId = value; }&lt;br /&gt;}&lt;br /&gt;private string userName;&lt;br /&gt;&lt;br /&gt;public string UserName&lt;br /&gt;{&lt;br /&gt;get { return userName; }&lt;br /&gt;set { userName = value; }&lt;br /&gt;}&lt;br /&gt;private string userPassword;&lt;br /&gt;&lt;br /&gt;public string UserPassword&lt;br /&gt;{&lt;br /&gt;get { return userPassword; }&lt;br /&gt;set { userPassword = value; }&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It's time to log Marty in.&lt;br /&gt;&lt;br /&gt;We create an instance of the login class and fill it with Marty's information.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;login logg= null;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;private void button1_Click(object sender, EventArgs e)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            SqlConnection con = new SqlConnection("server=.;database=myDatabase;uid=userId;pwd=password");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt; SqlCommand com = new SqlCommand("select userName, userPassword from login where userName=@userName and userPassword=@userPassword",con);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            com.Parameters.AddWithValue("@userName", textBox1.Text);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            com.Parameters.AddWithValue("@userPassword", textBox2.Text);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            con.Open();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            SqlDataReader dr = com.ExecuteReader();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            while(dr.Read())&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;       {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;                            logg=new login();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;                            logg.UserName = dr["userName"].ToString();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;                            logg.UserPassword = dr["userPassword"].ToString();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;                            &lt;/span&gt;&lt;span style="font-family:arial;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;            con.Close();&lt;/span&gt;&lt;/blockquote&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_aFVX18XM6vM/SWVFxDaX4GI/AAAAAAAAAD0/Q9lPaH5_EX0/s1600-h/logingw1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 277px;" src="http://3.bp.blogspot.com/_aFVX18XM6vM/SWVFxDaX4GI/AAAAAAAAAD0/Q9lPaH5_EX0/s400/logingw1.jpg" alt="" id="BLOGGER_PHOTO_ID_5288710046448345186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We have just called the login information from database, matched it and wrote it on our instance of login class so we can use it anywhere we want.&lt;br /&gt;If the info we have entered is true we can now use the information on another form:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:arial;"&gt;private void frmChangePw_Load(object sender, EventArgs e)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;     {&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;         label3.Text = (frmLogin.logg as login).userName;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;which means in literal words: when loading this form, take the value of our "logg" instance from login class and use the "userName" property for the label's value.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_aFVX18XM6vM/SWVUazklJLI/AAAAAAAAAD8/auY9zg8oWIw/s1600-h/logingw2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 277px;" src="http://4.bp.blogspot.com/_aFVX18XM6vM/SWVUazklJLI/AAAAAAAAAD8/auY9zg8oWIw/s400/logingw2.jpg" alt="" id="BLOGGER_PHOTO_ID_5288726156913484978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You can carry any data you would need for your own scenario. In this one, Marty clicked on "mmcfly logged in" link and now he can change his password if he thinks "einstein" is too predictable for Doctor Brown.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-7428135875704828245?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/7428135875704828245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/01/basic-example-on-login-sequence-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7428135875704828245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7428135875704828245'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/01/basic-example-on-login-sequence-and.html' title='Basic example on login sequence and carrying data between forms: Welcome Marty McFly'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_aFVX18XM6vM/SWVFxDaX4GI/AAAAAAAAAD0/Q9lPaH5_EX0/s72-c/logingw1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-3311412572023197907</id><published>2009-01-06T10:38:00.011-06:00</published><updated>2009-01-06T16:20:40.320-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gmail'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='search engine'/><title type='text'>New Feature! No need to ring anymore, you can Google search it in case you lose your cellphone</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_aFVX18XM6vM/SWOewP1R_JI/AAAAAAAAADs/gCl8LpSsDYE/s1600-h/browse.jpg"&gt;&lt;img style="margin: 0px auto 0px;  text-align: center; cursor: pointer; width: 400px; height: 204px;" src="http://3.bp.blogspot.com/_aFVX18XM6vM/SWOewP1R_JI/AAAAAAAAADs/gCl8LpSsDYE/s400/browse.jpg" alt="" id="BLOGGER_PHOTO_ID_5288244939184012434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Consider that you are living in a county and you will drive to a friend in another county nearby. Would you go to downtown first and then go to the address, or would you go directly to the address you want? I was more than surprised to see how many people have gotten the habit of surfing the net by google searching the addresses they already know. Maybe they don't use favorites/bookmarks feature, or maybe the net got so fast, it is easier to google search it without thinking about it. One thing is for sure, Google has reinvented the idea of a search engine &lt;a href="http://en.wikipedia.org/wiki/Google_search"&gt;more than a decade ago&lt;/a&gt; and people have changed their surfing habbits accordingly over years. Maybe they didn't have to analyse things in depth too.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;First years of internet era genius webmasters or advertisers had thought that it would be a good idea to choke the internet user with overwhelming amount of ads on their sites and expect the recently dazed to click on their links by accident or just popping it up their face automatically. However Google designed all of their services as lean as possible, even their ads which were not randomly appearing to the user, but appearing regarding the user's keywords so it would be relevant the the person itself.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Primary search engines would only search the keywords typed in and return results in random order or maybe with an algorithm obviously didn't work, since users had to go further to tenth page and still may not find what they would look for. Google collected statistics of people who searched the same or similar keywords and have developed an algorithm returning the results mostly clicked on.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;While major e-mail providers still were very non user friendly and would provide only 10 MB's of storage, Google offered 1 GB of storage on March, 2004, to it's Gmail users with the service of being free of ads, able to transfer larger files, revolutionary chat-like automatic mail categorization feature.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;With the fact that internet users around the world are enjoying Google's services, it is always good to have competition for both consumers and competitors. Google had the idea of simplicity to get where they are. Maybe it's time to actualize that bright idea dwell in mind but never got the motive to do so.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-3311412572023197907?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/3311412572023197907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/01/consider-that-you-are-living-in-county.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/3311412572023197907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/3311412572023197907'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/01/consider-that-you-are-living-in-county.html' title='New Feature! No need to ring anymore, you can Google search it in case you lose your cellphone'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_aFVX18XM6vM/SWOewP1R_JI/AAAAAAAAADs/gCl8LpSsDYE/s72-c/browse.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-6600211324762201463</id><published>2009-01-05T15:08:00.007-06:00</published><updated>2009-01-05T22:51:03.028-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='browser wars'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><title type='text'>Internet Explorer: Time to go open source?</title><content type='html'>Unfortunately Internet Explorer still continues to be the worst nightmare when experienced users for any reason had to deal with/use regular users' internet browsing. Being bundled to undeniably the largest spread operating system Windows OS, regular users don't tend to look for any other web browser since they do not feel the lack of user friendly usage or speed with the couple of minutes they spend online surfing the net, or hours spent on only on a couple of popular websites.&lt;br /&gt;&lt;br /&gt;Therefore worst nightmare for an experienced user starts when there is no other web browser icon visible on the computer when they are asked to fix something or help with some content on a website. Despite the fact that it may only be a loss of total 20 seconds, it still is like feeling bad for your friend when they still keep their two word reminders in a huge Word document instead of a .txt.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aFVX18XM6vM/SWLb3mJ6dNI/AAAAAAAAADk/EkLZ6yUXUw8/s1600-h/browserUsage.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 327px;" src="http://1.bp.blogspot.com/_aFVX18XM6vM/SWLb3mJ6dNI/AAAAAAAAADk/EkLZ6yUXUw8/s400/browserUsage.png" alt="" id="BLOGGER_PHOTO_ID_5288030660667798738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Blue    :Internet Explorer (68.15%)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;Orange  :Mozilla Firefox (21.34%)&lt;br /&gt;&lt;br /&gt;Gray    :Safari (7.93%)  &lt;br /&gt;&lt;br /&gt;Yellow  :Google Chrome (1.04%)&lt;br /&gt;&lt;br /&gt;Red : Opera (0.71%)  &lt;br /&gt;&lt;br /&gt;Green   :Netscape (0.57%)  &lt;br /&gt;&lt;br /&gt;Aqua    :Other (0.24%)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;Source:&lt;a href="http://en.wikipedia.org/wiki/Usage_share_of_web_browsers"&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;United States Department of Justice (DOJ) and 20 U.S. states have opened a &lt;a href="http://en.wikipedia.org/wiki/United_States_v._Microsoft"&gt;lawsuit&lt;/a&gt; against Microsoft on May 18, 1998, for using it's monopoly power to force users to use it's own browser and win the &lt;a href="http://en.wikipedia.org/wiki/Browser_wars"&gt;browser wars&lt;/a&gt; since it was obvious to people then, browsers were going to be extremely important with the following years to come.&lt;br /&gt;&lt;br /&gt;However despite more than a decade being passed after browser wars, Microsoft failed to create a better surfing experience for Internet Explorer users, being slower comparing to it's competitors and having a non user-friendly interface with a lot of irrelevant popups, information and crashes for it's users' to deal with.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-6600211324762201463?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/6600211324762201463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/01/internet-explorer-time-to-go-open.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/6600211324762201463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/6600211324762201463'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/01/internet-explorer-time-to-go-open.html' title='Internet Explorer: Time to go open source?'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aFVX18XM6vM/SWLb3mJ6dNI/AAAAAAAAADk/EkLZ6yUXUw8/s72-c/browserUsage.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-7049875867717133328</id><published>2009-01-05T11:59:00.010-06:00</published><updated>2009-01-05T15:06:36.301-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='float'/><category scheme='http://www.blogger.com/atom/ns#' term='site layout'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Site Layout: Floating elements gone missing</title><content type='html'>While designing your website if you would want to use floating elements and place other elements under it, all browsers except Internet Explorer ignore the floating elements and resolve as if they don't exist. This is not because Internet Explorer has an extended technology the others lack to comprehend, quite the contrary, IE is being proactive for you and resolving something that you haven't indicated yet.&lt;br /&gt;Whenever you would want to place for instance a footer under your floating content you would have to clear the floating elements by adding the following div:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_aFVX18XM6vM/SWJ17cQZk3I/AAAAAAAAADc/TGAUtDNMXvo/s1600-h/div.jpg"&gt;&lt;img style="margin:0px auto 0px; text-align:center;cursor:pointer; cursor:hand;width: 209px; height: 28px;" src="http://3.bp.blogspot.com/_aFVX18XM6vM/SWJ17cQZk3I/AAAAAAAAADc/TGAUtDNMXvo/s400/div.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5287918576544093042" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;right before the element you are placing beneath.&lt;br /&gt;If you want to clear only left or right floating elements, you can change &lt;span style="font-style: italic;"&gt;clear:both&lt;/span&gt; accordingly.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-7049875867717133328?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/7049875867717133328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2009/01/site-layout-floating-elements-gone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7049875867717133328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7049875867717133328'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2009/01/site-layout-floating-elements-gone.html' title='Site Layout: Floating elements gone missing'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_aFVX18XM6vM/SWJ17cQZk3I/AAAAAAAAADc/TGAUtDNMXvo/s72-c/div.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-7372585341734740609</id><published>2008-12-26T08:46:00.000-06:00</published><updated>2008-12-26T19:26:16.451-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stylesheet'/><category scheme='http://www.blogger.com/atom/ns#' term='site layout'/><category scheme='http://www.blogger.com/atom/ns#' term='DAL'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Jumpstart: How to approach site layout</title><content type='html'>Designing a well thought site layout may be more important than you think, when your projects get deeper than you assumed. Beside the fact that it usually gets deeper than you initially thought (project never stays as it is), clients have the tendency to demand something at the very end of the project and expect it to be magically happening with one click. So you probably would not want to change the whole layout when your client wants some part of the website wider, shorter, completely out, completely in or some other option which is slightly possible.&lt;br /&gt;It may be handy to keep in mind that in order to increase control over your website, it's vital to divide it into several div's rather than trying to control it as one big division and trying to move things around.  This way you will  adjust only the related division in case of a change.&lt;br /&gt;We can give a simple stylesheet example such as:&lt;br /&gt;&lt;br /&gt;body&lt;br /&gt;{&lt;br /&gt;    background-image:url("bg3.jpg");&lt;br /&gt;    font-family:Corbel;&lt;br /&gt;    font-size:medium;&lt;br /&gt;   &lt;br /&gt;}&lt;br /&gt;#main&lt;br /&gt;{&lt;br /&gt;    background-color:Teal;&lt;br /&gt;    margin:0 auto;&lt;br /&gt;    width:1200px;&lt;br /&gt;    height:640px;&lt;br /&gt;   &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;#above&lt;br /&gt;{&lt;br /&gt;    margin:0 auto;&lt;br /&gt;    width:1000px;&lt;br /&gt;    height:300px;&lt;br /&gt;    margin-top:15px;&lt;br /&gt;   &lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;    #below&lt;br /&gt;    {&lt;br /&gt;        margin:0 auto;&lt;br /&gt;        width:1000px;&lt;br /&gt;        height:300px;&lt;br /&gt;       &lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#upLeft&lt;br /&gt;{&lt;br /&gt;    background-color:Aqua;&lt;br /&gt;    width:500px;&lt;br /&gt;    height:300px;&lt;br /&gt;    float:left;&lt;br /&gt;   &lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;    #upRight&lt;br /&gt;    {&lt;br /&gt;        background-color:Silver;&lt;br /&gt;        width:500px;&lt;br /&gt;        height:300px;&lt;br /&gt;        overflow:auto;&lt;br /&gt;        }&lt;br /&gt;       &lt;br /&gt;        #lowLeft&lt;br /&gt;        {&lt;br /&gt;            background-color:Lime;&lt;br /&gt;            width:500px;&lt;br /&gt;            height:300px;&lt;br /&gt;            float:left;&lt;br /&gt;            }&lt;br /&gt;           &lt;br /&gt;            #lowRight&lt;br /&gt;            {&lt;br /&gt;                background-color:Fuchsia;&lt;br /&gt;                width:500px;&lt;br /&gt;                height:300px;&lt;br /&gt;               &lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;which should turn out like:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aFVX18XM6vM/SVWBa5ra1cI/AAAAAAAAACM/VTfB6B5KDdw/s1600-h/css2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 193px;" src="http://1.bp.blogspot.com/_aFVX18XM6vM/SVWBa5ra1cI/AAAAAAAAACM/VTfB6B5KDdw/s400/css2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5284272036948661698" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ugly huh? Now it's up to you to adjust anything you may want from there. You may divide the site according to your needs. It may be a good idea to give margin to your main background division to make it appear in the centre depending user's screen resolution.&lt;br /&gt;You achieved this with:&lt;br /&gt;&lt;br /&gt;margin:0 auto;&lt;br /&gt;&lt;br /&gt;which automatically places the div in the middle of the screen measuring it according to the right end of the screen.&lt;br /&gt;&lt;br /&gt;Whatever changes you may do, it would be time saving and less complicated to do them at the stylesheet and leave the code side to your form, this way in long term you will know what is written where and you may adjust it according to your needs without spacing out from your on hand work, just like the same logic behind Data Access Layer(DAL).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-7372585341734740609?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/7372585341734740609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2008/12/jumpstart-how-to-approach-site-layout.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7372585341734740609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/7372585341734740609'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2008/12/jumpstart-how-to-approach-site-layout.html' title='Jumpstart: How to approach site layout'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aFVX18XM6vM/SVWBa5ra1cI/AAAAAAAAACM/VTfB6B5KDdw/s72-c/css2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-3302691935904998044</id><published>2008-12-24T22:48:00.001-06:00</published><updated>2009-01-07T20:28:41.710-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ports'/><category scheme='http://www.blogger.com/atom/ns#' term='contact forms'/><category scheme='http://www.blogger.com/atom/ns#' term='smtp'/><category scheme='http://www.blogger.com/atom/ns#' term='gmail'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='mail message'/><title type='text'>How to create contact forms for your websites</title><content type='html'>Let's start with something simple. You want to create a contact form for your users but having trouble with your hosting provider, because they either charge you or just having problems using their SMTP clients. No worries, Google provides free SMTP service, because they are simply a caring and giving community to all of their users worldwide. No that's not true, they literally are making money of you because you're reading your mails. But you can't blame them because they are providing better service than others can you? You write a leaner and user friendlier search engine or e-mail account and you will make money on the rest of the world too.&lt;br /&gt;&lt;br /&gt;Back to our case, if you want your users to send mails throughout your site without publishing your e-mail address you will have to use these following classes:&lt;br /&gt;&lt;br /&gt;MailMessage&lt;br /&gt;MailAddress&lt;br /&gt;SmtpClient&lt;br /&gt;NameValueCollection&lt;br /&gt;NetworkCredential&lt;br /&gt;&lt;br /&gt;Let's say your form is as following:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aFVX18XM6vM/SVMW6miacHI/AAAAAAAAABg/EbaqPQhw9FQ/s1600-h/form.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 295px; height: 320px;" src="http://2.bp.blogspot.com/_aFVX18XM6vM/SVMW6miacHI/AAAAAAAAABg/EbaqPQhw9FQ/s320/form.jpg" alt="" id="BLOGGER_PHOTO_ID_5283591983868833906" border="0" /&gt;&lt;/a&gt;When the submit button is clicked we will have to use a SMTP client to send our mail.&lt;br /&gt;Following code should do the trick:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;MailMessage msg = new MailMessage();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        msg.From=new MailAddress(TextBox5.Text,"");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        msg.To.Add("yourAddress@gmail.com");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        msg.IsBodyHtml = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        msg.Subject = ("My contact form");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        msg.Body = (TextBox1.Text + TextBox2.Text + " @ "+ TextBox5.Text + " has submitted the following information:&lt;br /&gt;" + TextBox3.Text +"&lt;br /&gt;"+ TextBox4.Text+"&lt;br /&gt;"+ TextBox5.Text+ "&lt;br /&gt;Regarding: "+ DropDownList1.SelectedItem+"&lt;br /&gt;"+ CheckBoxList1.SelectedItem.Text);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        SmtpClient sc = new SmtpClient("smtp.gmail.com", 587);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        NameValueCollection col = new NameValueCollection();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        col.Add("info", "inf");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        msg.Headers.Add(col);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        sc.Credentials = new System.Net.NetworkCredential("yourAddress@gmail.com", "yourPassword");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        sc.EnableSsl = true;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        sc.Send(msg);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here you go, you've got a mail from your user. Gmail uses ports 465 and 587 for SMTP access. You should adjust your mail body according to your needs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-3302691935904998044?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/3302691935904998044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2008/12/how-to-create-contact-forms-for-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/3302691935904998044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/3302691935904998044'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2008/12/how-to-create-contact-forms-for-your.html' title='How to create contact forms for your websites'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aFVX18XM6vM/SVMW6miacHI/AAAAAAAAABg/EbaqPQhw9FQ/s72-c/form.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3871139610192003946.post-6173061982381833657</id><published>2008-12-24T21:31:00.000-06:00</published><updated>2008-12-24T22:02:09.954-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='inauguration'/><title type='text'>off we go</title><content type='html'>encounter bytes and strings more than protein based organisms and love it. you've much to give and take. let's begin.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3871139610192003946-6173061982381833657?l=codecow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codecow.blogspot.com/feeds/6173061982381833657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codecow.blogspot.com/2008/12/off-we-go.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/6173061982381833657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3871139610192003946/posts/default/6173061982381833657'/><link rel='alternate' type='text/html' href='http://codecow.blogspot.com/2008/12/off-we-go.html' title='off we go'/><author><name>Northx</name><uri>http://www.blogger.com/profile/04581135675915505759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aFVX18XM6vM/SiciMm2pIgI/AAAAAAAAAIs/OmJmjY5TSp4/S220/DSCN1420a.jpg'/></author><thr:total>0</thr:total></entry></feed>
