如何检查asp中是否存在函数 [英] How to check whether is function is exist in asp

查看:50
本文介绍了如何检查asp中是否存在函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个网页,其中包含add(),sub(),divide()之类的函数.考虑到我正在从首页传递两个值和函数名.然后,我从第一页收到了值,我想检查该功能是否存在.如果存在,则意味着必须生成结果值,否则必须将其显示为不是有效函数"....如何实现此目的.是检查可用性的任何函数.

Hi,
   I created a web-page which contains functions like add(),sub(),divide().. consider I am passing two value and functions name from first page. Then I received the values from first page and I want to check whether the function is exist or not. If exist means, the resultant value has to produce otherwise it has to display as "Not a valid function"..... How can I achieve this. Is any function to check availability.

推荐答案

在窗口应用程序中,您可以使用system.Reflection.Assembly类,但是在创建Web应用程序时,它将是最好在 ASP.NET论坛


这篇关于如何检查asp中是否存在函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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