create reports dynamically
i am creatintg windows applications in which reports have to be displayed, the tables will be selcted dynamically from the user and database too, how can i make the source of dataset used by reports to be dynamic
for e.g if user select database db1 and table tb1
the contents is to be displayed in the reports