DataGrid Question NEWBIE

E

esebastian

Hi all,
Quick question, probably easy for most of you but i can't see to get
it. I have a form with a datagrid, the datagrid is bound to a dataset
with 2 tables in it and the tables are related through a datarelation.
I am wondering the following.

how do i know when the views have changed? i have a drop down box
when if the child view is showing i want to disable and if the parent
view is showing i want it enabled.. what event do I use on the
datagrid to capture the changing of the tables.. i thought it might be
"DataSourceChanged" but i can't find anything useful when this event
is called.

thanks all,
Erin
 
E

esebastian

I found the event.. it's the "navigate" event on the datagrid.. it
tells you when you navigate to the child view and back to parent view.
 

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

Top