[dba-VB] C# Emulate the Access subform

Doug Steele dbdoug at gmail.com
Thu Mar 4 09:07:59 CST 2010


This site:

http://www.asp.net/learn/data-access/?lang=cs#master

has a bunch of excellent tutorials, with several on master/detail forms.

Doug

On Thu, Mar 4, 2010 at 5:24 AM, jwcolby <jwcolby at colbyconsulting.com> wrote:

> I like the Access main form / subform paradigm.  I am trying to figure out
> how to do that in C#,
> probably using a DataGridView as the subform.
>
> I assume that you guys do something like this.  I need to know how you do
> the parent/child link
> thing to cause the parent ID to automatically fill in the FK field in the
> child table.  Basically I
> want the user to be able to move through the main form records and have the
> subform automatically
> display the child records, then stop and fill in records in the subform /
> child table.
>
> --
> John W. Colby
> www.ColbyConsulting.com
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
>
>



More information about the dba-VB mailing list