RDLC always shows the first record in all columns

I am new to reports and use RDLC because they have the ability to handle the client side.

I used the website data source as objectdatasoruce and assigned List to the report.

Although I see that my list has all 3 employee records, but when I run the report, I see information about the first employee 3 times. I use table management, and employee data is distributed across different rows in the table. it has 3 rows and 5 columns, and all three rows that I used were lowercase.

+3
source share
2 answers

Right-click on the text fields that exist in your data table. see text box expression window. perhaps there is an expression before the expression First. if there is please delete it.

+5
source

Make sure the key in your model is unique. If not, create a compound key to make the strings unique.

-1
source

Source: https://habr.com/ru/post/1736251/


All Articles