G
Guest
I have a question about dataset. Please help !
I defined a dataset say ds1. I first filled ds1 with a xml file, then I filled ds1 with a database table by using dataadapter. The two tables both contain an attribute say ID. My question is how can I select some of joined columns from the two tables and bind the result to a datagrid.
For example, the first xml file -> table1 (ID, name, address, telephone)
the second database table -> table2 (ID, jobNum)
Expected result:
| ID| name| jobNum|
| 4| sam | 4120|
I defined a dataset say ds1. I first filled ds1 with a xml file, then I filled ds1 with a database table by using dataadapter. The two tables both contain an attribute say ID. My question is how can I select some of joined columns from the two tables and bind the result to a datagrid.
For example, the first xml file -> table1 (ID, name, address, telephone)
the second database table -> table2 (ID, jobNum)
Expected result:
| ID| name| jobNum|
| 4| sam | 4120|