<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="rntsoftPage" %>
Untitled Page
File: Default.aspx.vb
Partial Class rntsoftPage
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
output.Text = String.Empty
DisplayMessage()
End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
DisplayMessage()
End Sub
Private Sub DisplayMessage()
Dim i As Integer
For i = 1 To 4
output.Text &= "Welcome to my website
"
Next i
End Sub
End Class