Thanks, the project is interesting, and it gives me a clue. However, I'm still stuck at something. Here's what my problem looks like:
I have my original GridView bound to a DataSet
's first table, called "Years
". Table "Years" has a column (amongst others) called "Year
", which is the column I'm trying to create the relation from. The DataSet's also got another table called "Semesters
", which also has a column called "Year
", and it also has a column called "Semester
" and some other more. Finally, I got a third table called "Months
", which has, amongst others, two columns, "Year
" and "Semester
What I need to do is to let the user see all the columns from table Years
first, and then create a hierarchy for each year's semester, and then another hierarchy for each semester's month.
By looking at the code provided in th thread you suggested me
, I notice that you created a Relation and added it to the grid, but the example shows a relation to the same data. The thing I can't figure out is how to bind the inside grids to the respective DataTable.
Thanks a lot.