|
-
Apr 26th, 2006, 10:37 PM
#1
Thread Starter
Lively Member
problem with include directive
hi,
im trying to include an ASP file (Header) which is written in VB code with ADO, in ASPX C#.
The page is not included at top of the ASPX insetead its showing error.
Is it possible to inlclude ASP_vb in ASPX_C# file?
-
Apr 27th, 2006, 04:55 AM
#2
Addicted Member
Re: problem with include directive
You should create a user control based on your old include file.
Include files for ASP, user controls for ASP.Net.
-
Apr 28th, 2006, 04:03 AM
#3
Re: problem with include directive
A web user control (ASCX) can contain ASPX code (and is just like another ASP.NET page!). It acts as a control which you drag and drop and place anywhere you like on the ASPX page. Just like you did with .INCs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|