Doug
As you are working witht he datagrid, try than to forget change information
from that, try to use the underlying datasource. A change in the datagrid is
not as something is typed (or you should use the textbox for that), however
if there is a rowchange.
It is just more simple to work with the datasource than the cells from the
datagrid.
Cor
"Doug Bell" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Hi
> I have a DataGrid that has a DataView as its DataSource.
>
> I need to detect when a New Row is added or when a Row is Deleted so that
> I
> change data in the underlying DataTable.
>
> I found that MyDataGrid_CurrentCellChanged doesn't fire on a deletion or
> on
> a New Row if there was no previous rows.
>
> Can someone advised the simplest way to detect row additions or deletions?
>
> Thanks
>
>
|