Vote count:
0
It regards to ADO.Net Strongly typed Dataset. In a newly added row, I want to pass the parent's column value. According to the documentation
"Tablenewrow event: Fires after a new DataRow has been created using NewRow. This event is fired before the invoked NewRow method returns. The new DataRow instance is detached; it has not been added to the collection."
Thus, it has no way using child's Tablenewrow event to get the FKID of Parent or any other column value (fooColumnOfParent) of Parent Table.
In this sense, how should I pass the fooColumnOfParent's value to newly added child row?
I'm invoking from DataGrid, BindingNavigator addnew to BindingSource. Any idea pelase.
asked 24 secs ago
Aucun commentaire:
Enregistrer un commentaire