471,325 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

Using linq or other queries in report expressions

I'm using WinForms ReportViewer control in local mode.

I need to allow report creators to create fields containing data
from related tables.

Best way for this would be to use linq in report expressions like

=db.Customers.SingleOrDefault(x =x.CustomerID ==
Fields!CustomerID.Value).Name

Unfortunalely, engine does not allow such expressions and this is too long.
How to use data from related tables in reports ?

Andrus.

Mar 29 '08 #1
0 1151

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Steve Elliott | last post: by
7 posts views Thread by Ronald S. Cook | last post: by
28 posts views Thread by Marc Gravell | last post: by
1 post views Thread by Philipp Brune | last post: by
1 post views Thread by Andrus | last post: by
6 posts views Thread by Plissskin | last post: by
14 posts views Thread by thj | last post: by
21 posts views Thread by hrishy | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.