Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic

ASP.NET - Learn Programming for the Networked World - Part 2

By Dan Mabbutt, About.com

1 of 7

Server Side Programming with ASP.NET

Learn ASP.NET

The big difference in ASP.NET is server side processing. Although "old" ASP moved some of the processing to the server, the new ASP.NET moves virtually all of it there.

To illustrate the differences, let's code a slightly more complex ASP.NET program. This one features two of the new ASP.NET Web Form controls: TextBox and Button. We'll spend a lot of time on these controls later.

~~~~~~~~~~~~~~~~~~~~~~~~~
<%@ Page Language="vb" %>

<html>
<body>
<form id=WebForm1
   method=post
   runat="server">

<h4>Programming the ASP.NET Event Model</h4>

<p>
TextBox Web Form Control:
<asp:TextBox id=txtEnteredVal
   runat="server">
</asp:TextBox><br/>

<asp:Button id=cmdSend
   runat="server"
   Text="Send">
</asp:Button><br/>
</p>

</form>
</body>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~

Explore Visual Basic

By Category

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Learn VB.NET
  5. Learn ASP.NET
  6. ASP.NET - Learn Programming for the Networked World - Part 2

©2009 About.com, a part of The New York Times Company.

All rights reserved.