Click here to Skip to main content
15,904,655 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i don't have any code so how can selected row from datagridview to print in crystal report

What I have tried:

i m training to selected row print in crystal report please help me
Posted
Updated 3-Jul-16 6:53am

1 solution

Use
C#
foreach row in dataGridView1.SelectedRows

to get all rows from datagridview and then
pass it to query which is used to print via crystal report.
You have to pass it in where clause.
 
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