Sorry again.
May I suggest another working method?
1. In your database:
have a Table (for example Person)
Person:
ID BigInt (PK)
Name NVarChar(50)
...
Node_ID BigInt (FK)
Node_ID
refers to
ID
If
Node_ID
=
Null
then It means the record is a
RootNode
.
For example:
1---John Smith--------Null
2---Sara Smith--------1
3---Martha Harrison---Null
4---Fred Cooper-------Null
5---Bill Jones----------3
it means:
"Sara Smith" is the child of "John Smith"
"Bill Jones" is the child of "Martha harrison"
"John", "Martha" and "Fred" are roots.
You can measure it and find persons and their relations with recursive method.
http://stackoverflow.com/questions/1005761/find-lowest-common-parent-in-recursive-sql-table[
^]
2. In your WinForm:
For showing, as SA say, use something structural, for example: TreeView.
It's nice to show relation between child and parent.
http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.aspx[
^]
http://msdn.microsoft.com/en-us/library/aa287576(v=vs.71).aspx[
^]