Wrox Programmer Forums
|
BOOK: Expert One-on-One Visual Basic 2005 Database Programming
This is the forum to discuss the Wrox book Expert One-on-One Visual Basic 2005 Database Programming by Roger Jennings; ISBN: 9780764576782
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One Visual Basic 2005 Database Programming 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 27th, 2006, 08:40 AM
HAK HAK is offline
Registered User
 
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4

The OrdersByCustomersV3 sample programs come up with all sorts of errors. I can't open the form to correct any of the errors. I am using SQLEXPRESS.

Some of the errors are:

Me.CustomersTableAdapter.GetCustomerOrders(Me.Nort hwindDataSet.Customers, _
             strCustomerID)
            Me.OrdersTableAdapter.FillOrders(Me.NorthwindDataS et.Orders, _
             strCustomerID)
            Me.Order_DetailsTableAdapter.FillOrder_Details(Me. NorthwindDataSet.Order_Details, _
             strCustomerID)

MArt
 
Old February 7th, 2006, 06:04 PM
Wrox Author
 
Join Date: Feb 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please see my reply to your later message regarding code problems.

--rj
 
Old December 8th, 2006, 05:34 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I had the same problem with the code for the examples in Chapter 4 using SQLEXPRESS. This is how I solved it:

1. Open the file

2. Since the code examples uses localhost ConnectionString you have to change it to connect to SQLEXPRESS. Open app.config and change the connectionstring from:
connectionString="Server=localhost;Integr...
to:
connectionString="Server=[computername]\SQLEXPRESS;Integr...

3. Debug (Press F5)

IMPORTANT: You must do it in this exact order otherwise the code example get corrupt and don´t work..

/Tobias





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
chapter 7 - chapter 11 pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 January 6th, 2008 11:40 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





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