Retrieve parent row from child row event

afh

Member
Joined
Jul 10, 2017
Messages
15
Programming Experience
5-10
How can I use "e" parameter to get relevant parent row so that I can get values from parent row.


VB.NET:
Private Sub myAdapter_RowUpdated(ByVal sender As Object, ByVal e As OracleRowUpdatedEventArgs)

......


End If
 
The OracleRowUpdatedEventArgs object referred to by the 'e' parameter has a `Row` property that refers to the DataRow that was updated. That DataRow has a GetParent method that will return the parent DataRow for a specific DataRelation.
 
Back
Top