- .aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Page.aspx.vb" Inherits="Page-Class" %>
- .aspx.vb
Public Class Page-Class
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
Public Class AspNetCodeBehind
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.lblText.Text = "ASP.NET Code Behide Style"
End Sub
End Class