Hello,

I have a DataSet of multiple related tables that I display
in a DataGrid. When the user drills down to a child table,
or when he "drills back up" to the parent table, I want to
populate a ComboBox with the names of the columns in the
currently-displayed table.

Any suggestions for how to attack this? I'm stumped. The
problem is with finding out when the user has changed the
table he is viewing (and determining what the new table
is). I can handle getting the info into the combobox.

Many thanks,

Fred Noltie

Re: DataGrid: knowing when the displayed table changes by Miha

Miha
Thu Jan 08 03:59:14 CST 2004

Hi Fred,

DataGrid has Navigate event which you might implement.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Fred Noltie" <frednoltie@yahooEXPURGATE.com> wrote in message
news:0c3401c3d573$14778b80$a001280a@phx.gbl...
> Hello,
>
> I have a DataSet of multiple related tables that I display
> in a DataGrid. When the user drills down to a child table,
> or when he "drills back up" to the parent table, I want to
> populate a ComboBox with the names of the columns in the
> currently-displayed table.
>
> Any suggestions for how to attack this? I'm stumped. The
> problem is with finding out when the user has changed the
> table he is viewing (and determining what the new table
> is). I can handle getting the info into the combobox.
>
> Many thanks,
>
> Fred Noltie
>



Re: DataGrid: knowing when the displayed table changes by Fred

Fred
Thu Jan 08 10:20:36 CST 2004


>-----Original Message-----
>Hi Fred,
>
>DataGrid has Navigate event which you might implement.
>
>--
>Miha Markic - RightHand .NET consulting & software

Thanks, Miha!

I'm sorry I overlooked this. I appreciate the tip.

Fred