Displaying hierachical data with data grid

  • Thread starter Thread starter thf
  • Start date Start date
T

thf

Hi, I wish to know how to display a collection of object which is a
property in another object in a data grid in VB.Net.

For example, I'm displaying a collection of vendor objects (in
ArrayList) in a data grid, while I wish to display the products
supplied by the vendor (which appears as a collection of product
objects in the vendor object property) in another grid.

I wish to know how can I accomplish such task. I used data
gridtablestyle to accomplish the first half of the task, that is to
map my vendor grid to the collection of vendor objects. However, I
do not know how to map the product grid to the collection of product
objects in the current selected vendor object.

Thanks in advance for the advise......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top