You are currently viewing the BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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.