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

DataGrid has Navigate event which you might implement.
 
-----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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top