这是我得到错误的代码:
Imports ADFactory
Public Class Salary
Inherits Salary_Datalayer
Protected _AD As New ADFactory.ADFactory
Protected Sub Page_Load(...)Handles Me.Load
_user = "username"
sDealer = _AD.GetUserCompany(_user)
它指出这Protected _AD As New ADFactory.ADFactory
是引发异常的行。我已经在网上查看并阅读并更改了几次,宣布“新”,我错过了一些简单的东西吗?