on-internet
← Community

master detail using form and datagridview

Stack Overflow ·

I'd like to do a master/detail page where the parent (customer info) is a form on the top half of the window and then a datagridview of orders on the lower half of the screen? I found an article where the example uses 2 datagridviews here and trying to go from there. I'm starting out with single textbox that contains the ParentID (I'm using Northwind Customer/Orders). And this works just fine with existing records. How do I handle wanting to add a new Customer and Orders at the same time? using System; using System.Data; using System.Data.SqlClient; using System.Windows.Forms; namespace Window

Comments

Sign in or sign up to comment and upvote.

No comments yet.