You are currently viewing the BOOK: Expert One-on-One Visual Basic 2005 Database Programming section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
If I open the generateddetailview sample project from chapter 1 folder ordersdetailview the orders datagridview shows only the orders for the selected customer which is correct.
If I copy the generateddetailview sample project from the folder generateddetailview and try to recreate the ordersdetailview, the order datagridview show all orders for all customers.
I followed the instructions in chapter 1 exactly by copying the folder to a new folder, adding the orders table to my datasource and dragging the orders table onto the form. However, when I look at the northwinds dataset .xsd, mine looks different than the one from the sample.
Is there some step missing in the book or am I missing something?
On further investigation and rereading of the instructions over and over I finally realized I was not dragging the related orders table. I was dragging the unrelated orders table. Now it works fine.