Click here to Skip to main content
16,021,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to generate a recipt using crystal reports in asp.net
the recipt generate on crystal report

report contains these fields
recipt no, student id, student name, class, fee amt, fee deposite date

the data contains in two tables
one is
student record contains
student id, student name, address, class

and other is fee record contains

recipt id, student id, fee amt, fee deposite date
Posted

1 solution

1st of all you can generate it with the help of two ways,
1. Using Inline Query.
2. Using Procedure.
But, in your Question it is good for you to use Inline Query.

Now, how you can do it.
Step 1. Write an inline query.
Step 2. Execute the Query.
Step 3. The Result set are then put in to .xsd using while loop.
Step 4. Then we go to .xsd create a data set.
Step 5. Call the .xsd in to Crystal report.
Step 6. Design the Report as it come in Fields value.

These are the Steps to generate the a Crystal report.
I hope it's help you to generate crystal report.

Happy coding..... :)
 
Share this answer
 
v2

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