%@ Language=VBScript %> <% ' Check for a value passed on the address bar. if (Request.QueryString("i")) = "" then bFirst = true ' If we have a value for "i", we know that we can display the ' data in Excel. if (bFirst = false) then ' Buffer the content and send it to Excel. Response.Buffer = true Response.ContentType = "application/vnd.ms-excel" %>
| " else Response.Write " | " end if Response.Write CStr(i*j) + " | " + vbCrLf next Response.Write "