468,272 Members | 2,045 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

<!-- #include File="connection.aspx" -->is there any method to do that

232 100+
i am from asp background
i am very new to asp.net environment
i want to know that is there any include in asp.net as in asp so that i can include connection file which is asp.net and asp files in all forms
in aspx

Expand|Select|Wrap|Line Numbers
  1. <!-- #include file="top.asp" -->
  2. // to include top of web site
  3. <!-- #include File="connection.aspx" -->
  4. // to include connection with database of web site
how can i do that
is there any method
Feb 3 '09 #1
2 2911
13,262 8TB
There you go .
Feb 3 '09 #2
Are you trying to include a class?

If yes then just create a .cs file in App_Code and your aspx files will automatically recognise it.

Edit: nvm I see what you mean now...
Feb 3 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Mark | last post: by
4 posts views Thread by mrgr8avill | last post: by
2 posts views Thread by Jake K | last post: by
2 posts views Thread by Bruce Wood | last post: by
11 posts views Thread by paul.gibson | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.