Using sub-forms (MDI) in .NET

  • Thread starter Thread starter John Mudd
  • Start date Start date
J

John Mudd

I come from the Access environment where all the windows
form handles were hidden so pardon my question.

In Access I could make "continuous" subforms and there was
a subform "container" object I could place on a form and
then reference the subform and easily link the two
together with a master/child link. The mastery of just
how it worked was hidden from the average user.

I have the dataset side working fine with multiple
tables, data relationships and keys. But for the life of
me I cannot figure out how to create the subforms like I
did in Access to represent the various tables
with "continuous" or repeating records without using the
datagrid. Some of the tables are appropriate for a
datagrid so those are working fine. Some of the subforms
require combo boxes and additional controls to enhance the
subforms use. Its those subforms that I cannot yet figure
out how to make them work.

In VB6 I remember a data repeater control that came
close to what I wanted but I cannot find anything similar
in the .NET framework.

I see that forms have a IsMDIContainer property but I
cannot figure out how to create the container object to
hold the subform per say (like Access did). The other
issue is how do you make a single line form "repeat" to
display multiple records within the child container? Just
need someone to point me in the right direction.

Thanks
 
Back
Top