Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / April 2006

Tip: Looking for answers? Try searching our database.

VB 2005 & SQL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony K - 29 Apr 2006 05:34 GMT
I am trying to write a VB.NET 2005 app using a similar setup of the infamous
Northwind DB.  I am using SQL 2005 Express on my laptop and will eventually
upgrade to SQL 2005.

My tables consists of:
   Customers
   Orders
   OrderDetails
   Category
   Products
   Suppliers

My problem is:  Watching the webcasts on development using databases, they
show how to create a fully functional (yeah right) app with related tables.
They don't show how to add orders and order details related to the customer.
For example:  Order Details table has a many-to-1 relationship with Orders.
I have a GUI with the cutomer info, then the related table orders, and a
group box with order details, how do I add Orders and Order Details to the
customer?  The binding navigator allows me to add a user to the screen
(that's the easy part).

I guess what I want to know is what code do I need to write to add Orders
and Order Details to the customer.

The following links are pictures of my GUI for the orders form and the
related binding info for the form in VB 2005.

http://www.kingenterprises.dynu.com/images/Orders.jpg

http://www.kingenterprises.dynu.com/images/dataBinding.jpg

Thanks in advance for the help.

Tony
Chris Chilvers - 30 Apr 2006 03:29 GMT
>I am trying to write a VB.NET 2005 app using a similar setup of the infamous
>Northwind DB.  I am using SQL 2005 Express on my laptop and will eventually
[quoted text clipped - 30 lines]
>
>Tony

A quick google search for 'net databinding child parent relationship'
gives a few interesting results, including
http://msdn.microsoft.com/msdnmag/issues/02/02/cutting/

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.