ASP.NET While End While พิจารณาเงื่อนไขก่อนทำงานในลูป
Syntax
While condition
statements End While
Sample
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Dim i As Integer
i = 1
While i <= 5
Response.write("www.ThaiCreate.Com<br>")
i = i + 1
End While
End Sub
</script>