public static object GetEval(string streval)
{
MSScriptControl.ScriptControl sc = new MSScriptControl.ScriptControlClass();
sc.Language = "javascript";
object obj = new object();
obj = sc.Eval(streval).ToString();
return obj;
}
{
MSScriptControl.ScriptControl sc = new MSScriptControl.ScriptControlClass();
sc.Language = "javascript";
object obj = new object();
obj = sc.Eval(streval).ToString();
return obj;
}