Saiful Islam
Saiful Islam

Reputation: 350

How to include file include at asp.net?

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?

Upvotes: 0

Views: 127

Answers (1)

Saiful Islam
Saiful Islam

Reputation: 350

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

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

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

Upvotes: 1

Related Questions