I am returning to programming after a 10 year hiatus - when I last worked in programming I was pursuing certification in
VB 6 and SQL Server 7, and I am fairly sure that ASP was referred to merely as ASP with no number after, just to give you an idea of how long it has been. So, I decided to make my way through this book to brush up on my
VB and ASP skills.
So, sorry if this seems like a trivial question, but I like to know and understand absolutely everything. I am making my way through chapter 1, and I notice that the following example is used frequently for an example of using the @Page directive:
<%@ Page Language="
VB" AutoEventWireup="false" CodeFile="Default.aspx.
vb" Inherits="_Default" %>
Then in the first paragraph on page 9 it talks about this syntax, and states that the Inherits attribute "specifies the name of the class that is bound to the page when the page is compiled."
However, on page 10, Table 1-4 list all available attributes of the @Page directive, and Inherits is nowhere in the list. This table lists the attribute "ClassName" and states that it "Specifies the name of the class that is bound to the page when the page is compiled."
Are these 2 attributes interchangeable? Will both accomplish the exact same thing, and if so is one more common or preferred?
TIA!