<html><body bgcolor="#ffffdd">
<font face="courier new" size=4>
<pre>
<%
max = int(request.querystring)
if max > 50 then max = 9
i = 1
do while i <= max
response.write( i & "<br>")
i = i + 1
loop
%>
</body></html>
ผลลัพท์
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: ""]'
/www/asp_vb/asp_vb.asp, line 5
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
GET /www/asp_vb/asp_vb.asp
Time:
19 กรกฎาคม 2549, 21:24:42
More information:
Microsoft Support
------------------------------------------------------------------------------------------------------
fil .aspx ดอทเน็ต
Server Error in '/www' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'max' is not declared.
Source Error:
Line 3: <pre>
Line 4: <%
Line 5: max = int(request.querystring)
Line 6: if max > 50 then max = 9
Line 7: i = 1