I'm making use of a dataGrid and have set it up such that only some of the columns are editable - this has been done by making use DataGridTableStyle and GridColumnStyles.
The situation I am now in is that I can edit the data (requested fields) as required.
However I now have two additional requirements I can't seem to fathom :
1). How can I determine whether my user has changed the data entries in a given row ? Is there some event I can make use of ? My application needs to know which rows have been changed through editing in the grid.
2). Given the fact that I've allowed the user to perform editing within the grid it's also opened up the ability to add new rows in the grid (I've not tested deleting). How can I prevent the addition of new rows through the grid ?
Any help would be appreciated.
Thanks in advance
Steve
The situation I am now in is that I can edit the data (requested fields) as required.
However I now have two additional requirements I can't seem to fathom :
1). How can I determine whether my user has changed the data entries in a given row ? Is there some event I can make use of ? My application needs to know which rows have been changed through editing in the grid.
2). Given the fact that I've allowed the user to perform editing within the grid it's also opened up the ability to add new rows in the grid (I've not tested deleting). How can I prevent the addition of new rows through the grid ?
Any help would be appreciated.
Thanks in advance
Steve