Tuesday, March 03, 2009 10:13 AMHy, i have a problem with populating crystal report. I'm using DataTable and fill it and then pass data to crystal reports. In my DataTable i have all data from my select query, but in crystal report i have all data from database!
Please help how to solve it!
Thursday, March 05, 2009 11:12 AMHi ivan,
The problem should be the data in your datatable. The result you got may occur when you get the database data from guide rather than dynamic code from your select query.
I don't know which database are you using?
Code Snippet populating crystal report from select query with C# and SQL Server database:
Other sample project:
use Crystal Report with SQL Server
Sample projects when your database is Access:
Dynamic Crystal Report with C#
use Crystal Reports with Access database in C#
Creating Crystal Reports using C# with Datasets
Sample projects when your database is Oracle:
Crystal Report with DataSet and DataTable using C#
- Marked As Answer by Guo Surfer Friday, March 06, 2009 11:44 AM