There are essentially two ways that you can write code for an ASP.NET application.
Inline code
~~~~~~~~~~~~~~~~~~~~~~~~~
<html>
<script language="vb" RUNAT="server">
Private Sub Page_Load()
Response.Write _
("Hello About Visual Basic!")
End Sub
</script>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~
This type of coding is essentially the same as the old ASP code ... with new ASP.NET syntax thrown in. One characteristic of inline code is that you can put it anywhere in your HTML, just like "old" ASP code, and it would execute in that physical sequence. This "sequential processing" is the opposite of "object oriented" processing and the resulting programs can be very difficult to write and maintain. This was one of the main criticisms of "old" ASP systems.


