A Programmer’s Guide
to ADO.NET in C#
A Programmer’s Guide to ADO.NET in C#
Copyright ©2002 by Mahesh Chand
All rights reserved. No part of this work may be reproduced or transmitted in any form or
by any means, electronic or mechanical, including photocopying, recording, or by any
information storage or retrieval system, without the prior written permission of the copy-
right owner and the publisher.
ISBN (pbk): 1-893115-39-9
Printed and bound in the United States of America 12345678910
Trademarked names may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, we use the names only in an editorial fashion and
to the benefit of the trademark owner, with no intention of infringement of the trademark.
Technical Reviewer: Ildiko Blackburn, Boost Data Limited
Editorial Directors: Dan Appleman, Peter Blackburn, Gary Cornell, Jason Gilmore,
Karen Watterson, John Zukowski
Managing Editor: Grace Wong
Project Manager and Developmental Editor: Tracy Brown Collins
Copy Editor: Kim Wimpsett
Production Editor: Kari Brooks
Composition: Impressions Book and Journal Services, Inc.
Artist: Cara Brunk, Blue Mud Productions
Indexer: Valerie Perry
Cover Designer: Tom Debolski
Marketing Manager: Stephanie Rodriguez
Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 175
Fifth Avenue, New York, NY, 10010 and outside the United States by Springer-Verlag GmbH
& Co. KG, Tiergartenstr. 17, 69112 Heidelberg, Germany.
In the United States, phone 1-800-SPRINGER, email firstname.lastname@example.org, or visit
Outside the United States, fax +49 6221 345229, email email@example.com, or visit
For information on translations, please contact Apress directly at 2560 9th Street, Suite 219,
Berkeley, CA 94710. Phone 510-549-5930, fax: 510-549-5939, email firstname.lastname@example.org, or visit
The information in this book is distributed on an