Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use C# syntax in report expressions
Message
 
To
27/03/2007 05:21:04
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01208749
Message ID:
01209103
Views:
18
You can call a method from the report and write the method in C#.

yag

>I use WinForms Microsoft ReportViewer in local mode.
>
>I want to use C# syntax in report expressions instead on VB syntax.
>
>How to use C# instead of VB.NET syntax ?
>
>I'm thinking about the following approaches:
>
>1. Create pre-processor which converts expressions in RDL file from C# to
>VB. NET
>
>2. Replace all expressions with a method which takes C# expression as string
>parameter, evaluates it returns result.
>
>
>Any idea how to implement this ?
>
>Where to find any samples of C# expression evaluator or C# to VB .NET expression converter ?
Previous
Reply
Map
View

Click here to load this message in the networking platform