PDA

View Full Version : include file


lionheart
03-18-2003, 08:25 AM
Sorry, I think it does work. the problem was the other directive <%%> at the very beginning of my code.

The problem is that the code does not behave as it was when coded in classic ASP.

<html>
.
.
.
<%Select case Request.QueryString("content")
case "products" %>

<!--#include file = "products.aspx" -->

<%End Select%>

.
.
.
</html>

The 'included file' is executed eventhough the value of Querystring("content") is blank. any idea?

lionheart
03-18-2003, 12:50 PM
Any idea if the #include file... still works with ASP.net? I tried but it gave me error. Thanks!