Microsoft KB Archive/314759

= Microsoft ADO.NET Step by Step Comments and Corrections =

Article ID: 314759

Article Last Modified on 9/30/2002

-

APPLIES TO


 * MSPRESS Microsoft ADO.NET Step By Step ISBN 0-7356-1236-6

-



This article was previously published under Q314759



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Microsoft ADO.NET Step by Step, ISBN 0-7356-1236-6.

The following topics are covered:


 * Page 91: Me.dsProducts1.Table Should Be Me.dsProducts1._Table
 * Page 102: Incorrect Code
 * Pages 102, 105, & 107: &quot;\n&quot; Parameter Does Not Create Multiple Lines
 * Page 152: Error In Step 1
 * Page 155: Error In Step 1
 * Page 252: Incorrect Statement Regarding RejectChanges



Page 91: Me.dsProducts1.Table Should Be Me.dsProducts1._Table
On page 91, in the code sample at the bottom,

Change:

&quot;Me.daProducts.Fill(Me.dsProducts1.Table)&quot;

To:

&quot;Me.daProducts.Fill(Me.dsProducts1._Table)&quot;

Page 102: Incorrect Code
The code sample at the top of page 102 is incorrect. The code should read: this.txtMessages.Text += &quot;\r\n Executing a command of type &quot;; this.txtMessages.Text += args.StatementType.ToString;

Pages 102, 105, & 107: &quot;\n&quot; Parameter Does Not Create Multiple Lines
Pages 102, 105, 107, and others show code samples using the \n parameter. This parameter would create multiple lines in pre-release versions of Visual C#. The release version of C# uses \r\n. All instances of \n need to be changed to \r\n.

Page 152: Error In Step 1
There is an error in step 1 on page 152.

Change:

&quot;1. In the form designer, double-click the Clone DataSet button.&quot;

To:

&quot;1. In the form designer, double-click the Create Relation button.&quot;

Page 155: Error In Step 1
There is an error in step 1 on page 152.

Change:

&quot;1. In the form designer, double-click the Create Relation button.&quot;

To:

&quot;1. In the form designer, double-click the Clone DataSet button.&quot;

Page 252: Incorrect Statement Regarding RejectChanges
There is an error in the second paragraph on page 252.

Change:

&quot;...will have the Original values of each column changed to the Current values,&quot;

To:

&quot;...will have the Current values of each column changed to the Original values,&quot;

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

Additional query words: 0-7356-1236-6 Riordan EUBOOK EUSBS

Keywords: kbinfo kbdocfix kbdocerr KB314759

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.