Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Beginning Visual C#
|
BOOK: Beginning Visual C#
This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 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 June 1st, 2004, 12:18 AM
Authorized User
 
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default QUESTION ABOUT SAMPLES IN SECTION 18.6

hello
in the section 18.6,the listbox is added to the interface,and bound to the datasource "dsCustomers.customers",but the listbox is not synchronized to the textbox and the command button,you must modify and implement several events (such as button click and the listbox seletedIndexChanged) to synchronize them.
but i found if the datasource property of the listbox is bound to "dsCustomers",all of them are synchronized and needn't any coding.

what is the difference between the two methods?why the author choose the first solution?i mean how can i determine when i choose which solution?

thank you.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Need samples mindserve VB.NET 2002/2003 Basics 0 August 5th, 2007 08:24 AM
Can't install samples johnflem BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 25th, 2006 06:22 PM
Question on section 2.4 owenjgo23 BOOK: Beginning Visual C++ 6 1 July 11th, 2005 05:03 PM
where can i get the samples code edwinomar ADO.NET 2 April 16th, 2004 12:55 PM
Samples? dugi Wrox Book Feedback 1 November 5th, 2003 11:02 AM





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