C#中的动态数学公式生成器 [英] Dynamic Mathematical Formula Builder in C#
本文介绍了C#中的动态数学公式生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何编写代码来创建动态公式生成器以及如何使用字段值(TextBoxes,Dropdown等)映射公式的变量。我还想将此公式保存在数据库中以供进一步使用。
任何帮助都会很明显。
提前致谢。
How to write code to create a dynamic formula builder and how to map formula's variable with field values(TextBoxes, Dropdown etc.). I also want to save this formula in database for further use.
Any help would be appreciable.
Thanks in advance.
推荐答案
你可能从这里得到答案[ ^ ]
You might have get your answer from here [^]
你想使用Flee(快速轻量级表达评估器 [ ^ ])。还有一篇关于CP的文章 [ ^ ]关于这个奇妙的软件。该库是在VB.NET中开发的,但也可以像往常一样使用C#(或其他任何.NET语言)。
Best此致,
-MRB
You'd want to use Flee (Fast Lightweight Expression Evaluator[^]). There is also an article here on CP[^] about this marvelous piece of software. The library was developed in VB.NET, but can be used (as usual) also with C# (or any other .NET language for all that matters).
Best Regards,
—MRB
这篇关于C#中的动态数学公式生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文