P
pplppp
At some part of my application I want to hide the idea of a cache
(dataset) from my user, so went the user deletes a row using the data
bound UI, which deletes the row from the corresponding data table, I
want to make a call to commit the changes to database as well, so what
I did is I registered an event handle for the DataRowChanged Event and
tried to call DataSet.GetChanges. The problem is DataSet.GetChanges
return null. Is is because the DataSet is still in edit mode when the
DataRowChange event fires? So how can I commit data at the same time
as it is deleted from the dataset apart from putting a separate
'commit' button?
thx in adavance
(dataset) from my user, so went the user deletes a row using the data
bound UI, which deletes the row from the corresponding data table, I
want to make a call to commit the changes to database as well, so what
I did is I registered an event handle for the DataRowChanged Event and
tried to call DataSet.GetChanges. The problem is DataSet.GetChanges
return null. Is is because the DataSet is still in edit mode when the
DataRowChange event fires? So how can I commit data at the same time
as it is deleted from the dataset apart from putting a separate
'commit' button?
thx in adavance