Hi.
i need to write code that will:
1. check my dataset to see if anything has changed.
2. if there are changes, write the old value, new value to a table in oracle.
I only need to know about rows that have changed. I know somewhere I can check something called rowstate but I don't know how do that.
So far I have the following code:
I can see that dschanges haschanges is true...
can you point me in the right direction?
thanks.
i need to write code that will:
1. check my dataset to see if anything has changed.
2. if there are changes, write the old value, new value to a table in oracle.
I only need to know about rows that have changed. I know somewhere I can check something called rowstate but I don't know how do that.
So far I have the following code:
VB.NET:
Private Sub WTBBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WTBBindingNavigatorSaveItem.Click
Me.Validate()
Me.WTBBindingSource.EndEdit()
'audit.
Dim dschanges As DataSet
dschanges = Me.BQDS.GetChanges()
I can see that dschanges haschanges is true...
can you point me in the right direction?
thanks.