ASP Code is code written in VB Script - a stripped down version of Visual Basic 6. Usually you have an html page which has ASP code embedded into it.
1 2 3 4 5 6 7 8 9 10 11
<% For x = 1 to request.form.count response.write x & " - " & request.form.key(x) & " - " & request(request.form.key(x)) & " " & vbcrlf next x
for x = 1 to request.querystring.count response.write request.querystring.key(x) & " - " & request(request.querystring.key(x)) & " " & vbcrlf next x %>
You’ll see - ASP code is surrounded by <% and %>. IIS will scan for these tags and then execute the code between those tags.