NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.NavigateTo

Navigates to the table specified by row and relation name.

[Visual Basic]
Public Sub NavigateTo( _
   ByVal rowNumber As Integer, _
   ByVal relationName As String _
)
[C#]
public void NavigateTo(
   int rowNumber,
   string relationName
);
[C++]
public: void NavigateTo(
   int rowNumber,
   String* relationName
);
[JScript]
public function NavigateTo(
   rowNumber : int,
   relationName : String
);

Parameters

rowNumber
The number of the row to navigate to.
relationName
The name of the child relation to navigate to.

Example [Visual Basic]

The following example navigates to the specified row number, in the table specified by child relationship name.

[Visual Basic]

Private Sub NavToGrid(ByVal myGrid As DataGrid)
   ' Presuming a relationship named OrderDetails exists:
   myGrid.NavigateTo 2, "OrderDetails"
End Sub

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | NavigateBack