D
Dmitriy Lapshin
Hi Dennis,
That's a piece of code that seems to do the job:
CurrencyManager cm =
(CurrencyManager)this.dataGrid1.BindingContext[this.dataGrid1.DataSource,
this.dataGrid1.DataMember];
DataView theView = (DataView)cm.List;
DataRow currentRow = theView[this.dataGrid1.CurrentRowIndex].Row;
That's a piece of code that seems to do the job:
CurrencyManager cm =
(CurrencyManager)this.dataGrid1.BindingContext[this.dataGrid1.DataSource,
this.dataGrid1.DataMember];
DataView theView = (DataView)cm.List;
DataRow currentRow = theView[this.dataGrid1.CurrentRowIndex].Row;