Help! codebehind not working.

  • Thread starter Thread starter ECatz
  • Start date Start date
E

ECatz

I've got the following line in my .aspx file...

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"
Inherits="SampleVB.WebForm1"%>

The problem is, it doesn't seem to process the .aspx.vb file. Am I missing
something?

Thanks.
 
Try something like this.
<%@ Page inherits = "SampleVB.WebForm1" src = "WebForm1.aspx.vb" %>
 
Actually you can use the scr= as I put below. If you want to use codebehind=
you have to compile your code using vbc compiler.
 
Back
Top