Include asp code in aspx file

Discussion in 'ASP .Net' started by Grey, Jun 3, 2004.

  1. Grey

    Grey Guest

    I need to use some asp code to generate some html code. Is it possible to include asp code into aspx file?? I mean asp and aspx codes are co-existed in the same page.

    Million thanks
     
    Grey, Jun 3, 2004
    #1
    1. Advertising

  2. You could include a frame in your ASPX page that contains an ASP page. I doubt you'll get them to work together much more than that though. Any data you want passed between the two pages will likely have to be done via client side code since ASP and ASP.NET don't share any of the same sessions or applications or much of anything really.
    Another option would be to share data between the two through a common database.

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "Grey" <> wrote in message news:...
    I need to use some asp code to generate some html code. Is it possible to include asp code into aspx file?? I mean asp and aspx codes are co-existed in the same page.

    Million thanks
     
    Steve C. Orr [MVP, MCSD], Jun 3, 2004
    #2
    1. Advertising

  3. =?Utf-8?B?Vmlub2RoIEt1bWFyW01TIE1WUF0=?=, Jun 3, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. naveeddil
    Replies:
    0
    Views:
    587
    naveeddil
    Jan 4, 2008
  2. Andreas Bogenberger
    Replies:
    3
    Views:
    947
    Andreas Bogenberger
    Feb 22, 2008
  3. Eric
    Replies:
    10
    Views:
    479
  4. Eric
    Replies:
    0
    Views:
    265
  5. armando

    how to include file .asp in file .aspx

    armando, Apr 18, 2007, in forum: ASP General
    Replies:
    1
    Views:
    286
    Ray Costanzo
    Apr 18, 2007
Loading...

Share This Page