Thanks.  I'm doing a windows app, so its a datagridview.  I was just using
shorthand without knowing I was causing a problem.  I'll look at what you
advised.

On Thu, Sep 30, 2010 at 1:22 AM, Cerebrus <[email protected]> wrote:

> I think what you are referring to is actually a Master-Details
> scenario. Also, you keep confusing the matter by calling the control a
> Datagrid sometimes and a Datagridview sometimes. Note that the former
> could be either a Windows control or a Web control and the latter is a
> Windows forms control. So, at this time, it is unclear if you are
> creating a Windows app or Web app.
>
> Whatever it is, I think the first step is to create DataRelations
> between the relevant tables in the Dataset. Then you could get related
> records via the GetChildRows() method and bind the second control to
> that array.
>
> On Sep 30, 3:10 am, Dwight Shackelford <[email protected]>
> wrote:
> > So, nobody has any pointers on how to link two datagridviews?  I've
> already
> > linked the tables in the dataset.  Nothing happens when I click on the
> > parent datagridview.
> >
> > On Wed, Sep 29, 2010 at 10:18 AM, Dwight Shackelford <
> >
> >
> >
> > [email protected]> wrote:
> > > Nah, unless I"m missing something, those didn't help.  I'm already
> familiar
> > > with relational design.  I want to know how to link the content
> (filter) of
> > > one datagrid to the selected row in another datagrid.  If that is in
> these
> > > links, it's not popping out at me.
> >
> > > On Wed, Sep 29, 2010 at 6:56 AM, Dwight Shackelford <
> > > [email protected]> wrote:
> >
> > >> I'll look at this.  I do have a primary key/foreign key link set up in
> the
> > >> DataSet.  It's not working automatically.  Google didn't really give
> me much
> > >> in the first couple of pages.
> >
>

Reply via email to