Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Basic 2010
This is the forum to discuss the Wrox book Beginning Visual Basic 2010 by Thearon Willis, Bryan Newsome; ISBN: 9780470502228
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 4th, 2010, 04:42 PM
Registered User
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Structure Demo

guys on page 148

Public Overrides Function ToString() as String
returns Name & " (" & Email & ")"
end function

however at this point name is not defined and the structure will return nothing
you should change it to:

returns FirstName & "," & LastName & " (" & Email & ")"
End Function to get the names display in lstCustomers

or maybe i am missing something ?
 
Old October 5th, 2010, 05:51 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Elad,

Name is a readonly property that returns the first and last name concatenated as a string.

Thearon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug on demo site vsjc BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 2 October 30th, 2009 09:07 AM
Chapter 4, demo.controls benjii82 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 October 26th, 2009 03:20 PM
wrox web site demo yesil65 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 October 2nd, 2008 01:06 PM
Access 2000 has many (demo) rows fizzerchris Access 3 April 8th, 2008 11:59 AM
Chapter 8, Meno Demo sjar BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 4 June 20th, 2006 10:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.