help please on a report

thejeraldo

Well-known member
Joined
Jun 9, 2009
Messages
70
Location
Philippines
Programming Experience
1-3
i use typed datasets in my project. but i want to use this typed datasets in my reports. how do i do that? i think i did that already but now i cant, i forgot how i did it. any help will be much appreciated. thanks.
 

Tom

Well-known member
Joined
Aug 23, 2005
Messages
746
Programming Experience
5-10
You simply pass your filled dataset as the reports datasource.

Code:
report.SetDataSource(ds)
 

Tom

Well-known member
Joined
Aug 23, 2005
Messages
746
Programming Experience
5-10
If I attach a typed dataset to the report as the datasource, all the tables (and columns within each of the tables) within that dataset are available to be fields drawn on the report.
 
Top Bottom