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

what is the difference between modular and data and keyword driven framework

1740


Which event is triggered when mouse focus comes out of an element in the vbscript language?

509


How you can call vbscript functions?

579


How to capture a runtime error in vbscript?

629


How will you get the octal value of the given number in vbscript?

499






write a program to display configuration of a local system with the help of vb script.

1688


what is diff between static and dynaic arrys?

1588


Explain few date functions in vbscript?

612


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

1793


i need to sort the data using qtp script for this how i need to write a qtp script

3220


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1493


How strcomp function works?

626


What is the event handling in vbscript?

563


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

518


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1458