Link to home
Start Free TrialLog in
Avatar of isischen
isischen

asked on

I want to load parent and child field to datagridview from a 2 dataset table...

I have Viusal Basic 2008 Express which generated some codes that I have not read about from books. I am using Access database.  It's confusing not knowing where to add code.  
Please start with the IMPORT (what) , dim something as (what) to form1_load and assing dataset to datagridview. And all necessary code.
I want to poulate a datagridview with one parent dataset table and one child dataset table by click on a botton.
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

as you know, you can only have 1 dataset (dataview) to be as bound source for 1 single grid.

so, your options are:
* get the 2 datatables into 1 datatable
* use 2 datagrids instead of 1
Avatar of isischen
isischen

ASKER

how about the option of get the 2 datatables into 1 datatable..
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin