Có 4 câu lệnh lặp cơ bản trong ASP:
a) Dạng 1: For <biến đếm> = <giá trị đầu> To <giá trị cuối> Step <bước nhảy> Next
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="vi" />
<body>
<%
Dim i
For i = 0 To 10 Step 1
'Body
Response.Write(i &"<br />")
Next
%>
</body>
</html>
https://tritue.edu.vn/tuecode/tracnghiem30/index.php/baiviet/post/view/id/193?id=193