What is wrong with the following code:
<%afname="header.asp"%><!?#include file ="<%=afname%>"?>

Answer Posted / pankajbisane

Will not work because ASP executes the #include directive
before it assigns a value to the variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what is variant in vbscript?

724


How strcomp function works?

843


Mention what is byref and byval parameters in vbscript?

776


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1842


How will you reverse a string in vbscript?

839


Compare java script and vb script?

830


How will you convert a string to upper case string using vbscript?

747


Which in-built function related to an array joins substrings into one string in the vbscript language?

721


What is the scope of a constant declared using public?

742


What are the 2 ways in which a variable can be declared in the vbscript language?

797


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3514


Explain about scrrun.dll?

716


What is the purpose of regexp object in vbscript?

767


Explain about vb script?

963


When are redim statement and preserve keyword used in the vbscript language?

813