Greetings again experts,
This link that shows master detail examples is very nice.
https://www.aspsnippets.com/Articles/ASPNet-GridView-DetailsView-Master-Detail-Example-Display-selected-GridView-Row-in-DetailsView-in-ASPNet.aspx
But how do I extend it to show true one to many relationship?
For example, if I insert an employee record called James Brown into employee table and say the employeeID is 230.
Then at same time, I grab that last insert ID of 230 and insert two records into a table called Dependents.
That gives sample data like this:
Employee Name Employee ID
James Brown 230
Then on Dependents table you have:
DependentName DependentID EmployeeID
Jerry West 1 230
Carrie Underwood 2 230
Given your example from the link, when I click on the Select link for
EmployeeID 230, how do show the two dependents from the example on the link?
Thanks in advance