Antonio,
When your controls are bound to a DataTable, you can find the index of the
current row by using
this.BindingContext[MyTable].Position;
Yes, when adding a new row, it always goes at the end.
And, no, your questions are not stupid. =)
~~Bonnie
[quoted text, click to view] "Antonio Budano" wrote:
> Hi,
> How can I know which row is currently being editing when I have some
> controls bound to a DataSet.DataTable in order to call the EndEdit method
> prior to update data to the database?
> Is there any CurrentRecord indexer?
> When I call Rows.Add metod, the row I am adding will be put at the end?
>
> Sorry for these stupid questions but I am newer on .net and ado.
>
> Thanks
> Antonio
>
>