Skip to content Skip to sidebar Skip to footer

Visual Basic Login Page Causing An Error (error Bc30506 Handles Clause Requires A Withevents....)

I'm trying to make a simple mysql authentication login page on my asp.net webform. I'm getting the same error every time I try to run my page and I have no idea how to solve it. He

Solution 1:

This code BC30506: Handles clause requires a WithEvents variable defined in the containing type

In your page directive you need to put a CodeFile="Default.aspx.vb"

e.g

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

Post a Comment for "Visual Basic Login Page Causing An Error (error Bc30506 Handles Clause Requires A Withevents....)"