Include asp code in aspx file

G

Grey

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
 
S

Steve C. Orr [MVP, MCSD]

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


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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top