posted 13 years ago
since this is still an idea (none of my projects have encountered such case, but somehow this morning I thought of it, so why not prepare even if this case hasn't happened yet). lets say you have 5 sons, and each of these sons of yours has 3 sons. For your details, I can simply use textboxes to store your name, DOB and age. as for your sons, a grid will do (it consists of 3 columns : name,age,DOB, just like your details). Now the problem is with your grandsons. What I think now is adding another grid below your son's grid (lets say grandson grid). If I select son number 2 in son's grid, the grandson grid will display the details of son number 2's sons (but none of the remaining 4 sons' sons). As far as I know I can only grab data displayed at the screen, so I'm missing the details of the other 4 sons' sons when I build my json string.
@Paul Clapham:
Clear enough ?