|
|
|
date: Sat, 21 Jan 2006 13:01:02 -0800,
group: microsoft.public.dotnet.datatools
back
RE: Navigation in grids
Hi Rafael,
If I understand your question correctly, I think that what youare lookin for
is the DataMember property of the DataGrid.
The DataMember property changes to the name of the relationship currently
being navigated when a related table is displayed in the DataGrid control.
Hope this helps,
Norrie.
"Rafael" wrote:
> Please, can anyone tell me how can I know which table is currently being
> showed in a DataGrid, after the user has navigated?
>
> The DataSource points to the main table, but when it has foreign keys
> constraints (and AllowNavigation is tru of course), and the parent table also
> has relationships with other table, the user can navigate forth and back,
> without the program knowing in which table the datagrid is in a given moment.
>
> i didn't see any property that tells if the user is navigating back or
> forth, all I know is that the Navigate event is produced whenever the user
> navigates.
>
> I'll appreciate whatever help you can give me...
>
> --
> Thanks in advance
>
> Rafael
date: Mon, 13 Mar 2006 07:45:38 -0800
author: Norrie
|
|