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
Mention what is variant in vbscript?
How strcomp function works?
Mention what is byref and byval parameters in vbscript?
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)
How will you reverse a string in vbscript?
Compare java script and vb script?
How will you convert a string to upper case string using vbscript?
Which in-built function related to an array joins substrings into one string in the vbscript language?
What is the scope of a constant declared using public?
What are the 2 ways in which a variable can be declared in the vbscript language?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Explain about scrrun.dll?
What is the purpose of regexp object in vbscript?
Explain about vb script?
When are redim statement and preserve keyword used in the vbscript language?