VB.NET & While End While - While End While : Runs a series of statements as long as a given condition is True.
ShotDev Focus:
- VB.NET & While End While
Syntax
While condition [ statements ] [ Exit While ] [ statements ] End While
Example
AspNetWhileWend.aspx
<%@ 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.ShotDev.Com<br>") i = i + 1 End While End Sub </script>
Screenshot