DataGrid.Navigate Event

Hi,

DataGrid.Navigate is an event that occurs when the user navigates to a new table. The DataSource for my DataGrid is a two table DataSet. NavigateEventArgs and sender do not tell us what table has been navigated to.

How can I tell which of the two tables the user has navigated to  

I need to populate a textbox on the form that represents the sum of one of the columns. The textbox needs to be related to whichever table the user navigated to.

Thx in advance,

BBVegas.


Answer this question

DataGrid.Navigate Event

  • TiborK

    the datamember will reflect the new table it's mapped to when the event triggers.
  • DataGrid.Navigate Event