use more than 2 tables for report

hamid

Well-known member
Joined
Jul 13, 2004
Messages
113
i have 5 tables in access database and i want create report of them.
how can i create one dataset of some of their fields.
i n fact i can create relation between 2 tables. how can i create relation between more than 2 tables?

relation between tables 1 and 2 on field id :
Code:
DataRelation relationB2A = new DataRelation("rb2a", ds.Tables["A"].Columns["id"], ds.Tables["B"].Columns["id"]);

p.s how can i use c# code in code tag
 
Back
Top