Tree structure on a datagrid
Posted on 2006-03-20
I am doing a windows application using vb.net . I am using oracle database, but in order to explain I am using the "Pubs" database.
When the form is loaded , the datagrid is filled with the info about the authors . When selecting a row, the info about the books written by that author should be displayed like branches just under that author . when selecting another row, the already eapanded row must collapse and the branches should appear under the now selected author.
The rows of books (branches) should be either displaced a little to the right compared to the rows of the authors, or atleast the rows of books and authors should be of different color.
Can you help me??