I get an error in this code
error:
'getcustomers' is not a member of cutomersinformation.northwinddataset
any idea why?
Public Class CustomerInformation
Private CustomerDataSet As NorthwindDataSet
Private CustomerTableAdapter As NorthwindDataSetTableAdapters.CustomersTableAdapter
Public Function GetCustomerData() As NorthwindDataSet
CustomerDataSet = New NorthwindDataSet
CustomerTableAdapter = New NorthwindDataSetTableAdapters.CustomersTableAdapter
CustomerTableAdapter.Fill(CustomerDataSet.getCustomers)
Return CustomerDataSet
End Function
End Class
Bookmarks