wrote:
> what is a precompiled webform?
The .DLL that's created when you build your project. It contains the
Page class in compiled form.
> if webform1.aspx is precompiled, then what should be the
> page directive for webform1.aspx??
The @Page directive will have an attribute called `Inherits' that
specifies the name of the Page-derived class and a `CodeBehind'
attribute that isn't a real attribute, but tells VS.NET which file
contains the code.
If you didn't want precompiled forms, you'd use the `Source' (or is it
`Src'?) attribute that tells ASP.NET which file contains the source. It
would then be compiled the first time it's accessed.
HTH, HAND.
--
Ryan Walberg, B.Sc., MCSD, MCSD for .NET
am