All,
I have created a sample vb.net Web Forms application using Visual Studio 2017.
I have connected to my database called BLIS no problem. My big issue is when I have created a basic Dataset, then created a class to connect to the table adapter, the table is called league, and the table adapter is called leagueTableAdapter, this is using all the basic, run of the mill functionality, nothing special.
When I declare the table adapter, I get an error say about "Public Sub New(): Not most Specific.
Here is the code:
Imports BLIS
Imports BLISTableAdapters
Imports Microsoft.VisualBasic
Imports System.Data
Public Class League
Private _LeagueAdapter As leagueTableAdapter = Nothing
Protected ReadOnly Property Adapter() As leagueTableAdapter
Get
If _LeagueAdapter Is Nothing Then
_LeagueAdapter = New leagueTableAdapter() ' This is where the error is
End If
Return _LeagueAdapter
End Get
End Property
End Class
I would appreciate any guidance on this, thanks
What I have tried:
I have reviewed the Class View and the tableadapter is listed.
I have used the same code in other apps, but I seem to be missing something here.