Working on coding based on this listing, I get an error. Effectively, where the listing shows
Code:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ws As New WroxCustomers.Customers()
GridView1.DataSource = ws.GetCustomers()
GridView1.DataBind()
End Sub
I am getting the error 'GetCustomers' is not a member of 'WroxCustomers.Customers'.
I must admit that I don't see how GetCustomers has been defined in the listing, and so am not surprised at the error - but realise I may have been missing something. I should appreciate advice on this.