公式评估在asp.net中 [英] Formula Evaluate in asp.net

查看:70
本文介绍了公式评估在asp.net中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生/女士,



在我的项目中,我想添加一个公式创建表格。

此表单用户直接添加公式和保存。然后使用后端计算

我在(,),+,*,^,/,a,b,c,d,e,f中设置下拉工具, -



如何验证公式是否正确

请任何人提供样本

Dear Sir/Madam,

In my project i want add one formula Creation form.
This form user Directly add formula and save. Then use the back end calcualtion
I have set Dropdown tools in (,),+,*,^,/,a,b,c,d,e,f,-

How to Validate the formula correct or not
Please any one give sample

推荐答案

你应该使用paser来解决你的问题。如果您的操作很简单,那么可以通过正则表达式进行操作。
you should have to use paser to solve your problem. IF your operations are simple then it may possible through regular expression.


这篇关于公式评估在asp.net中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆