<%@ Page Language="vb" title="Homepage" MasterPageFile="~/MasterPage.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<asp:Content ID="ContentHomePage" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> This is the HomePage
<asp:Button ID="Button1" runat="server" Text="Button" />
</asp:Content>
Public Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Protected Sub Button1_click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.text = "hi"
End Sub
End Class
Error 97 Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\***\WebApplication1\WebApplicatio n1\Default .aspx.vb 7 94 C:\...\WebApplication1\
Error 98 Name 'Label1' is not declared. C:\***\WebApplication1\WebApplicatio n1\Default .aspx.vb 8 9 C:\...\WebApplication1\
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE