Can one mix ASP with ASP.NET code?

Hello,

Will it work if a person includes classic ASP code in a ASP.NET file?

Thanks,

Steve
skbohlerAsked:
Who is Participating?
 
JMT116Connect With a Mentor Commented:
If you need to run asp code you can use an iframe to run a regular .asp page inside of the .aspx page.  This will allow you to keep your existing site look and feel but include the old code.

Just add an iframe in your content area like the example below.  You can also set width and height of an iframe.  For more information about iframes: http://www.w3schools.com/TAGS/tag_iframe.asp.

<iframe src="classic.asp"></iframe>
0
 
skbohlerAuthor Commented:
I was hoping they could just intermingle.

But, thanks for the idea.

0
 
JMT116Commented:
They will not work together.  You will need to upgrade your code to run in asp.net.
0
All Courses

From novice to tech pro — start learning today.