Click here to Skip to main content
16,004,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi...
i want to use Person_ID and generate the crystal report of the respective Person_ID,Person name from database...I am passing this Person_ID using Query string....Please help me...Plzzzzz
Thanks in Advance
Posted

1 solution

you can fill retrieved data from database to DataTable and then set crystal report Datasource to that's DataTable

DataSet Dtset = new DataSet();
DtAdapter.Fill(Dtset, "Student");
Rpt r= new Rpt ();
r.SetDataSource(Dtset.Tables["Student"]);
 
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