Datagrid data-bind

Chong

Well-known member
Joined
Apr 4, 2003
Messages
79
Will anyone show me how to bind multiple tables into one datagid? I have looked at the documentation on datagrid binding but Im not quite sure if I got it right because its not working. Heres what I want to do. I want to populate a datagrid with some data from my mdb file and if a user click on the plus sign on the datagrid cell, the datagrid shows another table or columns thats related to that cell column. Im not sure how to go about accomplishing this. Any pointer will be greatly appreciated!

ljCharlie
 
No pointer, sorry, but I have a fix:

When you go to populate the DataGrid control, just set the DataSource property to the dataset, and not the datatable.

Hope that works!
 
Back
Top