expert one-on-one visual basic 2005 database programming

620 355 0
expert one-on-one visual basic 2005 database programming

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

www.free-ebooks-download.org Expert One-on-One™ Visual Basic®2005 Database Programming Roger Jennings 01_57678x ffirs.qxd 11/10/05 11:25 PM Page iii www.free-ebooks-download.org Expert One-on-One™ Visual Basic®2005 Database Programming 01_57678x ffirs.qxd 11/10/05 11:25 PM Page i www.free-ebooks-download.org 01_57678x ffirs.qxd 11/10/05 11:25 PM Page ii www.free-ebooks-download.org Expert One-on-One™ Visual Basic®2005 Database Programming Roger Jennings 01_57678x ffirs.qxd 11/10/05 11:25 PM Page iii www.free-ebooks-download.org Expert One-on-One™ Visual Basic®2005 Database Programming Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2006 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN-13: 978-0-7645-7678-2 ISBN-10: 0-7645-7678-X Printed in the United States of America Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 1B/TQ/RR/QV/IN No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355 or online at http://www.wiley.com/go/permissions. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REP- RESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CON- TENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFES- SIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF ACOMPETENT PROFES- SIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Linux is a registered trademark of Linus Torvalds. MySQL is a registered trademark of MySQLAB A Company. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. 01_57678x ffirs.qxd 11/10/05 11:25 PM Page iv www.free-ebooks-download.org About the Author Roger Jennings Roger Jennings is an author and consultant specializing in Microsoft Visual Basic .NET n-tier and client/server database applications, and data-intensive ASP.NET Web services. He’s been a member of the beta test team for all versions of Visual Basic starting with the Professional Extensions for Visual Basic 2.0 (code-named Rawhide) and Visual Studio, all releases of Microsoft SQL Server starting with version 4.2 for OS/2, every version of Microsoft Access, and all Windows client and server operating systems beginning with the Windows 3.0 Multimedia Extensions. Roger’s 25 computer-oriented books have more than 1.25 million English copies in print and have been translated into more than 20 languages. He’s the author of three editions of Database Developer’s Guide to Visual Basic (SAMS Publishing), two editions of Access Developer’s Guide (SAMS), nine editions of Special Edition Using Microsoft Access (QUE Publishing), and two editions of Special Edition Using Windows NT 4.0 Server (QUE). He has also written developer-oriented books about Windows 3.1 multi- media, Windows 95, Windows 2000 Server, Active Directory Group Policy, Visual Basic .NET Web services, and Microsoft Office InfoPath 2003 SP-1. Roger is a contributing editor of Fawcette Technical Publications’ Visual Studio Magazine and a columnist for Fawcette’s .NETInsight and XML & Web Services Insight newsletters. Roger has more than 25 years of computer-related experience, beginning with real-time medical data acquisition and chemical process control systems driven by Wang 700 calculators/computers. He is a principal of OakLeaf Systems, a Northern California software consulting firm, the developer of the OakLeaf XML Web Services site (www.oakleaf.ws/), and author of the OakLeaf Systems weblog ( oakleafblog.blogspot.com). His OakLeaf Code of Federal Regulations (CFR) ASP.NET Web service and client ( www.oakleaf.ws/cfr/) projects won the charter Microsoft .NET Best Award for Horizontal Solutions ( www.microsoft.com/presspass/features/2002/aug02/08-07netwinners.mspx). You can reach Roger at Roger_Jennings@compuserve.com. 01_57678x ffirs.qxd 11/10/05 11:25 PM Page v www.free-ebooks-download.org 01_57678x ffirs.qxd 11/10/05 11:25 PM Page vi www.free-ebooks-download.org Credits Executive Editor Robert Elliott Development Editor Adaobi Obi Tulton Technical Editor Thomas Rizzo Production Editor Pamela Hanley Copy Editor Nancy Rapoport Editorial Manager Mary Beth Wakefield Production Manager Tim Tate Vice President & Executive Group Publisher Richard Swadley Vice President and Publisher Joseph B. Wikert Quality Control Technicians Leeann Harney Jessica Kramer Joe Niesen Project Coordinator Michael Kruzil Graphics and Production Specialists Carrie Foster Denny Hager Barbara Moore Alicia B. South Proofreading and Indexing TECHBOOKS Production Services 01_57678x ffirs.qxd 11/10/05 11:25 PM Page vii www.free-ebooks-download.org 01_57678x ffirs.qxd 11/10/05 11:25 PM Page viii www.free-ebooks-download.org [...]... relational databases Access 1.0 introduced the Joint Engine Technology (Jet) indexed sequential access method (ISAM) database and Embedded Basic, the forerunner of Visual Basic for Applications (VBA), in 1992 Access 1.0 and 1.1 enabled rapid application development (RAD) for Jet, as well as SQL Server 4.2 and other client/server database front ends that had Open Database Connectivity (ODBC) drivers Visual Basic. .. 1.0 and XML schemas will aid your understanding of DataSets and SQL Server 2005 s new xml datatype Some experience with writing XPath 1.0 expressions will be helpful to get the most benefit from Chapter 12, “Exploring the xml Datatype.” What This Book Covers One-on-One Expert Visual Basic 2005 Database Programming concentrates on programming the NET Framework 2.0’s System.Data namespace, which implements... data source, and adding brief VB 2005 code examples manually More complex sample projects often depend on a “starter” project from the code files that accompany the book All source code used in this book is available in a single 20MB archive file (VB2005DB.zip) for download at http://www.wrox.com Once at the site, simply locate One-on-One Visual Basic 2005 Database Programming (either by using the... control in 1993, which resulted in a flood of books and magazine articles devoted to VB database programming with SQL and ODBC Visual Basic 4.0 introduced 32-bit projects but wasn’t a robust development platform 1995’s Visual Basic 5.0 added ActiveX Data Objects (ADO) 1.0 and OLE DB VB and VBA became the world’s most popular programming languages with an estimated three million users By 1998 most professional... database SQL Server 2005 doesn’t install the AdventureWorks OLTP database by default, and SQLX doesn’t include sample databases Following are the instructions for downloading and installing both sample databases on SQL Server 2005 Developer Edition or higher and SQLX Download the Sample Databases The following download links for the Northwind, pubs, and AdventureWorks OLTP sample databases were valid... 512MB RAM ee -e bo ok s- A full installation of SQL Server 2005 Developer Edition or higher requires about 1.6GB of free disk space, including 200MB for NET Framework 2.0 A typical VS 2005 Developer Edition installation (without Visual J#, Visual C++, and Crystal Reports) requires about 1GB disk space, including documentation Adding Visual J#, Visual C++, Crystal Reports, and SQL Express increases disk... simple to moderately complex, real-world database front-end applications with Windows and Web forms w w w fr ee -e bo This book is intended for experienced VB programmers who are upgrading from VB6 or VS 2002/2003 to VB 2005 Basic familiarity with the VS 2005 integrated development environment (IDE) is assumed However, no prior VB6, VBA, or VBScript database programming experience is necessary, except... Server 2005 and ADO.NET 2.0 SQL Server 2005 is a major upgrade to SQL Server 2000, as evidenced by its five-year gestation period Part IV’s chapters highlight new and improved SQL Server 2005 and SQLX features, T-SQL enhancements, VB 2005 SQL Server (SQLCLR) projects, and the new xml data type ❑ ❑ xxvi Chapter 10, Upgrading from SQL Server 2000 to 2005, describes the differences between SQL Server 2005. .. Server 2005 AdventureWorks Sample Database Scripts folder and add the OLTP (awdb), Analysis Services (awasdb), and data warehouse (awdwdb) folders, which contain T-SQL scripts to install each AdventureWorks version Installation adds a Microsoft SQL Server 2005 AdventureWorks Sample Databases item to the Programs menu d o rg If you install the AdventureWorks sample databases from the SQL Server 2005 Developer... Databases to SQL Server 2005 Developer Edition or Higher ok s- do w The following instructions require prior installation of SQL Server Management Studio (SSMS) If you have the post-RTM version of SMSS for SQL Server 2005 Express, you can use it to install the sample databases under SQLX If you don’t have a graphical management program for SQLX, skip to the “Install Sample Databases to SQL Server 2005 . www.free-ebooks-download.org Expert One-on-One Visual Basic 2005 Database Programming Roger Jennings 01_57678x ffirs.qxd 11/10/05 11:25 PM Page iii www.free-ebooks-download.org Expert One-on-One Visual Basic 2005 Database. Visual Basic 2005 Database Programming Roger Jennings 01_57678x ffirs.qxd 11/10/05 11:25 PM Page iii www.free-ebooks-download.org Expert One-on-One Visual Basic 2005 Database Programming Published. Basic 2005 Database Programming 01_57678x ffirs.qxd 11/10/05 11:25 PM Page i www.free-ebooks-download.org 01_57678x ffirs.qxd 11/10/05 11:25 PM Page ii www.free-ebooks-download.org Expert One-on-One Visual Basic 2005 Database

Ngày đăng: 28/04/2014, 16:41

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan