thanks for the sample. I managed to get it work.
One more question, how to avoid datasource pop up window to choose datasource, dataset and method, in other words how to set this
from code behind so that report is just shown.
Thanks for the info, it works now.