Subject: Chapter 4
Posted By: HAK Post Date: 1/27/2006 7:40:20 AM
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.NorthwindDataSet.Customers, _
             strCustomerID)
            Me.OrdersTableAdapter.FillOrders(Me.NorthwindDataSet.Orders, _
             strCustomerID)
            Me.Order_DetailsTableAdapter.FillOrder_Details(Me.NorthwindDataSet.Order_Details, _
             strCustomerID)

MArt
Reply By: rogerj Reply Date: 2/7/2006 5:04:30 PM
Please see my reply to your later message regarding code problems.

--rj
Reply By: tobiashahlin Reply Date: 12/8/2006 4:34:55 AM
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


Go to topic 47262

Return to index page 99
Return to index page 98
Return to index page 97
Return to index page 96
Return to index page 95
Return to index page 94
Return to index page 93
Return to index page 92
Return to index page 91
Return to index page 90