Quote:
quote:Originally posted by dcongy
Does the aspx interpreter not handle classic asp? Do i need to declare my segment of code as classic asp? If so, how?
|
No, the aspx runtime is set up to parse and run .NET resources only. So if you create an ASP page it's process thru the ASP processor.
It sounds like you are asking "can I write ASP code in a file with an ASPX extension?"
The answer to that question is "well, yes/no/sort of."
If you put a <% %> section with code that is CLR compliant in an ASPX page it may very well work. However, you should avoid it because it goes against the whole UI/logic separation technique of ASP.NET. Furthermore, if you tried using functions unique to VBScript in the ASPX page it would definately break.
What it comes down to is this: Either just write a regular ASP page that you are familiar with, or learn how to write ASP.NET the correct way. If you try to munge the two together you will only taint your ASP.NET learning and will complicate things for yourself in the future.