Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

I want to bind crystal report with my sql server table in my web application in asp.net, I have no idea how to do this.

It should be dynamic I mean to say bind through coding because I can get data according to my requirement.
Posted
Updated 31-Oct-11 3:17am
v2

1 solution

Hi,

Follow below steps.

1.Add a crystal report to your project.
2.Add a dataset and get it filled with the default data or you an add a datatable and the columns
3.In your code behind load your crystal report and assign a datatable to it which you have fetched dynamically
4.Add a crystalreport viewer and add this report to it.

Thats it

I hope this helps

Do let me know if you need further details

Thanks & regards,
Sriman
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900