یک باتن به سلول اضافه کردم رویدادهایش کجاست
فكر كنم براي اين باتن محدوديت داريد فقط چند حالت داره چون فقط براي ركورد جاري نوشته ميشه پس يا بايد حذف، ويرايش و يا اضافه كردن باشه و اين ها رو ميتونيد از اينجا يه جورايي متوجه بشيد:
For BeginingRowEdit event, you can use the FirstChange event. This event is raised
when the user makes the first change in a row (when a row edit begins)
For EndingRowEdit event, use UpdatingRecord/RecordUpdated, the event is raised when the control is updates the changes in the datarow. They should not be fired when the when the user cancels edition, if you are seeing this, please send us a sample project where we can reproduce that behavior.
For CancelingRowEdit, use CancelingRowEdit event. However, the event won't be raised when the edit is canceled in code.
For IsEditingCurrentRow property, use DataChanged property.