joecool2005 Posted June 9, 2009 Report Share Posted June 9, 2009 Hi,I have this file abc.aspx. Is it possible to include on the code behind file test.aspx.vb?Thxjoe Link to comment Share on other sites More sharing options...
jesh Posted June 9, 2009 Report Share Posted June 9, 2009 I'm not really understanding what you're asking. Are you wanting to use "test.aspx.vb" as the codebehind for "abc.aspx"? If so, you declare that on the "abc.aspx" page like so: <%@ Page Codebehind="test.aspx.vb" %> Link to comment Share on other sites More sharing options...
joecool2005 Posted June 10, 2009 Author Report Share Posted June 10, 2009 Sorry if I'm not clear.I have those files test.aspx and test.aspx.vbI have a file that have some functions in abc.aspx.But I know in test.aspx I can do this and able to call all the functions.<!--#include file="abc.aspx"--> If I work on test.aspx.vb, I can not call functions in abc.aspx fileIs there a way to call functions in abc.aspx?Thx for your help Link to comment Share on other sites More sharing options...
HostingASPNet Posted June 15, 2009 Report Share Posted June 15, 2009 Hello,It will be much better to put all your code in the code behind file, not in the .aspx file.Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now