What is error when my query has an anonymous object and iteration on this in HTML page by model Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: ''object' does not contain a definition for 'st''
Asked
Active
Viewed 23 times
0

karel
- 5,489
- 46
- 45
- 50

Mena Lotfy
- 1
- 1
-
1Hi, we need to see more details like your code. First thought for me it's you are using anonymous object. You might want to convert it to view model. Please check this link for more information: https://stackoverflow.com/questions/7652749/object-does-not-contain-a-definition-for-x – Kadir May 12 '19 at 21:31
-
[This link can help you.](https://stackoverflow.com/questions/7652749/object-does-not-contain-a-definition-for-x) If not, add the code part to your item. – uyusuk May 12 '19 at 21:35
-
how can display the result of query in html page @Kadir – Mena Lotfy May 12 '19 at 21:42