0

I m developing a .asp site for my a client. I m new at .asp, I know file including in php. Such:

<?php include("inc/contact.php"); ?>

But I try at asp this way.But Not work. I got a blank page. Now I would like to know: How to include file include at asp.net?

1 Answer 1

1

To include any file at .asp, just type like bellow:

<!-- #include file="inc\contact.asp" -->

Importants matter is that, the Slash will left slash(\).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.