Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

As the title said, I'm currently stuck with using two datasets as a datasource in one crystal report object.

 

I usually use the SetDataSource method of the crystal report ReportDocument object. But I guess you can't call SetDataSource twice. Can you? :confused:

 

Anyway I need some help here. Any ideas? :D

Amir Syafrudin
Posted
You can set the data source for each table

 

crReportDocument.Database.Tables[0].SetDataSource(Your Data Source);

 

Works perfectly. :D

 

Many thanks to you pendragon.

 

Now I can finally go back home and take some rest. :p

Amir Syafrudin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...