I will try this, thanks. It is true, I copied these from a "web form" project to a "web application". I don't understand the difference. I chose web application b/c I intend to have a number of unrelated forms. Originally each form (web form project) had its own set of pages and dll. I thought it would be more organized if they shared a dll (especially given the utility functions they have in common).
On Feb 9, 2:04 pm, InfRes <[email protected]> wrote: > You need to use codebehind rather than codefile > > Codefile is for Website projects, which deploy the code on the server > for dynamic compilation, > Codebehind works dynamically or static compile... > > On Feb 9, 5:43 pm, jpw <[email protected]> wrote: > > > > > I have a simple form that is working fine on my workstation. But, > > when I move it to the server, it insists that the code behind (.vb) > > file be present. I want it to use the code from the dll. > > > <%@ Page Language="VB" AutoEventWireup="false" > > CodeFile="GivingForm.aspx.vb" Inherits="GiftAndDemographic" %> > > > I have even tried to include the dll w/in the inherits: > > > <%@ Page Language="VB" AutoEventWireup="false" > > CodeFile="GivingForm.aspx.vb" Inherits="MyDll.GiftAndDemographic" %>- Hide > > quoted text - > > - Show quoted text -
