Wrox Programmer Forums
|
BOOK: Beginning C# 2005 Databases
This is the forum to discuss the Wrox book Beginning C# 2005 Databases by Karli Watson; ISBN: 9780470044063
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 2005 Databases 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 January 28th, 2007, 11:11 PM
Registered User
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to VictorQ
Default Question on DataSet instances

Hi there. I have what I suspect is a very silly "technical" question, please be patient as I am a little bit lost here:

In chapter 2, project "Windows Data Binding" (pages 56 - 60) what exactly is the difference in functionality between "Chapter2DatabaseDataSet" data set and its instance "chapter2DatabaseDataSet"? I mean, being "chapter2DatabaseDataSet" an instance (or a reference, a private member of Form1.cs class) of "Chapter2DatabaseDataSet" why do they seem to work as separate objects with different functionality? (Data is bound to the application controls through "chapter2DatabaseDataSet" however "Chapter2DatabaseDataSet" is used at the end of the code to create an instance of the "PersonRow" class).

Why do I have access to different objects in both the data set and its instance? For example I can't access any property in "Chapter2DatabaseDataSet" data set, only methods (as "GetDataSchema") or classes (for example "PersonRow"), while in "chapter2DatabaseDataSet" I have access to properties as "Person" or "FavoritePlace" tables and methods like "GetChanges"...

This is a bit confusing to me but I know it is because of my lack of expertise, so I would *really* appreciate any hints on this subject... thank you in advance...

Great book by the way I got it last thrusday and have spent most of my free time since reading and re-reading the first two chapters.

Regards from Costa Rica,

Victor.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dataset question MaxGay2 VB.NET 2002/2003 Basics 1 November 16th, 2006 10:33 AM
Dataset Designer Question chrislepingwell ADO.NET 0 August 31st, 2006 06:27 AM
Dataset Question katsarosj ASP.NET 1.0 and 1.1 Basics 9 December 1st, 2005 07:05 AM
Dataset Question Ozymandias VB.NET 2002/2003 Basics 1 November 19th, 2003 12:00 PM





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