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" %>

Reply via email to