For Instance, I created a sub routine defined as follows:
Private Sub PCboPl(pList As List(Of Object), dt As DataTable)
pList = New List(Of Object)
dt = oDB.GSD()
For Each dr In dt.Rows
pList.Add(New Object(dr))
Next
pList = pList.OrderBy(Function(x) x.dName).ToList()
cboP.ItemsSource = pList
End Sub
The following causes a Too many arguements to 'Public Overloads Sub New()' error message
pList.Add(New Object(dr))
I suspect this is because I am trying to pass a parameter to a constructor that doesn't exist.
Any help would be appreciated.