Sergio,
You can use the MyDataGridView.CurrentRow.Index to get the index into the grid's datasource. I assume that you want to pass a DataRow to your form? If so, you'd do something like this:
int i = MyDataGridView.CurrentRow.Index;
DataRow row = MyDataSet.MyTable.DefaultView[i].Row;
Does that help?
~~Bonnie
>I have a DataViewGrid on my form and an edit button.
>The click event of the edit button calls a form.
>
>How do I pass to the calling form the selected row on DataGridView???
>What do I pass to the calling form?
>
>Thanks,
>Sergio