1
Answer

Problem in report viewer binding in WPF

Mahesh Balaiah

Mahesh Balaiah

11y
1.2k
1

Hi Everybody,

                 I'm using reportviewer in my project. In datagrid i list the employee details. And when i check some of the rows in datagrid, for that employees i have show payslip on one report viewer by separate page.

Now i have to show payslip for John and James.

Now my problem is i cant bind more than one record in reportviewer. Which i click the row only displaying in reportviewer. I want for those which are all the rows are checked.

I'm getting output for this in crystal report.

But i want in reportviewer.

I dont know what mistake i did it may be coding are in designing the report viewer.

When i using report viewer i got payslip for one employee with 6 page.I dont know how to avoid this.


Please help me...

Answers (1)
0
Suthish Nair
NA 31.7k 4.6m 14y

If this query got resolved then please Accept the post that helped you as Answer.
So other members can easily find the answers.
0
Suthish Nair
NA 31.7k 4.6m 14y

Sam is right.

change your code too
1. if (chineseGrade=="A")
2. use double chineseGPA or chineseGPA = Convert.ToDecimal(4.0);

0
Sam Hobbs
NA 28.7k 1.3m 14y
chineseGrade is a string variable but you are using it as if it is a method. The compiler is not psychic and neither are we. What is it that you need to do? As best as I understand your question, you are calculating a GPA for Chinese differently than for other people but as far as I know the Chinese are the same as everyone else. So perhaps the answer is that you can just use the same calculation for Chinese people as everyone else.
Next Recommended Forum