Click here to Skip to main content
15,891,864 members
Articles / Web Development / ASP.NET

LR-Evaluator: An Expression Evaluation Engine Based on LocalReport

Rate me:
Please Sign up or sign in to vote.
4.77/5 (12 votes)
8 May 2007CPOL9 min read 224K   2K   44  
Check out this unconventional use of Microsoft's Client-side Reporting Technology that can make your Winform or ASP.NET apps "expression aware" and more powerful for your users.
LREvaluator is an expression evaluation class library based on 
Microsoft's client-side Reporting Services (LocalReport class).
---------------------------------------------------------------

COPYRIGHT
---------
Windows and the .NET framework are copyright Microsoft
Corporation. LREvaluator source code and samples provided 
in this project are copyright DJL Systems, Inc.
DJL Systems, Inc. is not affiliated with Microsoft Corporation.

LREvaluator source and samples are provided as-is with 
no warranty of any kind. LREvaluator may be used freely 
in your projects for commercial or non-commerical use as long
as you agree to hold DJL Systems, Inc. harmless of any
problems associated with this libary. Use at your own risk. 

FEEDBACK, QUESTIONS, COMMENTS
-----------------------------
We do appreciate your questions, comments, bug reports, etc... 
Please email them to codeproject@djlsystems.com. 
Unfortunately, we can't guarantee a response or provide 
formalized technical support for this library.

DEMO APPS
---------
The CSVReader.cs module used in the sample application was 
obtained from http://www.heikniemi.net/hc/archives/000152.html.
Thanks goes to Jouni Heikniemi.

SOLUTIONS, PROJECTS
-------------------
- Solution(s) were built using Visual Studio.NET 2005/C#/.NET framework 2.0.

VERSION HISTORY
===============

Version 1.0 May 7, 2007
----------------------
- Added to CodeProject.com

Known issues:
- There is a limitation of 1584 expressions (strings that start with "=") 
per call to Eval(). A ReportProcessingException will be thrown if this limit
is exceeded. This is apparently due to a limitation in the underlying 
LocalReport class with the number of textboxes containing exprssions in the RDLC. 
Literals (strings that don't start with "=") that may be included in the 
expressions collection don't count towards this limit.


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
Dana has been developing software for companies in the greater Boston area for 15 years. He has been developing extensively with .NET since 2002.
Dana is a consultant for DJL Systems, Inc., is a Microsoft Certified Professional, and holds a B.S. in Computer Science from W.I.T.

Comments and Discussions