By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

Help! codebehind not working.

P: n/a
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.
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Try something like this.
<%@ Page inherits = "SampleVB.WebForm1" src = "WebForm1.aspx.vb" %>

"ECatz" <Jo*@home.net> wrote in message
news:bh**********@reader01.singnet.com.sg...
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.

Jul 19 '05 #2

P: n/a
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.

"vMike" <Mi************@gewarren.com.nospam> wrote in message
news:bh*********@ngspool-d02.news.aol.com...
Try something like this.
<%@ Page inherits = "SampleVB.WebForm1" src = "WebForm1.aspx.vb" %>

"ECatz" <Jo*@home.net> wrote in message
news:bh**********@reader01.singnet.com.sg...
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.


Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.