p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9
This is the forum to discuss the Wrox book Professional ASP.NET 3.5: In C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470187579

Welcome to the p2p.wrox.com Forums.

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 11th, 2009, 05:26 AM
Authorized User
Points: 208, Level: 4
Points: 208, Level: 4 Points: 208, Level: 4 Points: 208, Level: 4
Activity: 42%
Activity: 42% Activity: 42% Activity: 42%
 
Join Date: Jun 2009
Posts: 48
Thanks: 14
Thanked 1 Time in 1 Post
Default Chap 29, Listing 29-7, Page 1305

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 11th, 2009, 06:53 AM
Authorized User
Points: 208, Level: 4
Points: 208, Level: 4 Points: 208, Level: 4 Points: 208, Level: 4
Activity: 42%
Activity: 42% Activity: 42% Activity: 42%
 
Join Date: Jun 2009
Posts: 48
Thanks: 14
Thanked 1 Time in 1 Post
Default

Just re-read the section - the answer is crystal clear in Fig 29-7.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 29 page 1370: not seeing service mike2cu2 BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 June 24th, 2009 09:19 PM
Chapter 29, IIS Host slginps BOOK: Professional Visual Basic 2008 ISBN: 978-0-470-19136-1 2 April 25th, 2009 05:40 PM
small spelling error on page 29 sandstrp BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 April 14th, 2009 05:20 PM
Where is the sample code for Chapter 29 reddyjyoshna BOOK: Professional C# 2005 with .NET 3.0 ISBN: 978-0-470-12472-7 0 December 18th, 2008 08:14 AM
Chapter 29 - Remoting RichWade BOOK: Professional C# 2005 0 March 9th, 2007 09:47 AM



All times are GMT -4. The time now is 12:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc