php include = asp?

Discussion in 'C#' started by Adulu, Apr 6, 2011.

  1. #1
    php
    include("my.php");
    PHP:
    how to include file in asp?

    thank you
     
    Adulu, Apr 6, 2011 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In classic ASP (obviously defunct for the last 9 years)
    <!--#include file="my.inc"-->
    Code (markup):
    In ASP.Net you can use the same syntax but generally it is an outdated way of doing things in an OOP framework
     
    AstarothSolutions, Apr 6, 2011 IP
  3. miguelf

    miguelf Member

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #3
    In ASP.NET use a custom web control.
     
    miguelf, Apr 6, 2011 IP
  4. unknownpray

    unknownpray Active Member

    Messages:
    3,831
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    70
    #4
    you should follow simple code:
    <!--#include file="my.inc"-->
     
    unknownpray, Jun 25, 2011 IP