DataGrid: knowing when the displayed table changes

  • Thread starter Thread starter Fred Noltie
  • Start date Start date
F

Fred Noltie

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
 
-----Original Message-----
Hi Fred,

DataGrid has Navigate event which you might implement.

Thanks, Miha!

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

Fred
 
Back
Top