Groups | Blog | Home
all groups > vb.net > march 2004 >

vb.net : Evaluating Formulas in ASP.NET



microsoft.private.windows.netserver.setup
3/3/2004 11:36:53 PM
Hello everyone, I was wondering if anyone knows of a way to evaluate a
string function? For example I have a string like "(150/50) +2" and would
like to evaluate the result in a ASP.NET webpage. Thanks for any help.

Cor
3/4/2004 9:12:42 AM
Hi

Because it is a web, I think it is easy to use Java, have a look at this
page

http://dbforums.com/arch/219/2002/12/578053

How you can use this in Asp.net can you find here

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-usingjavascript.asp

I hope this helps a little bit?

Cor

[quoted text, click to view]

microsoft.private.windows.netserver.setup
3/4/2004 1:09:15 PM
Thank you for your response. I did look through the content, but to no
avail. I am actually trying to use the JavaScript eval() function in a
ASP.NET web page. I need to compute the formula result and then save it to
a database. There must be a way to do this. I tried to use the dll in the
ASP.NET page, but failed to load every single time. Any help would be
greatly appreciated. Thanks.

[quoted text, click to view]

microsoft.private.windows.netserver.setup
3/4/2004 1:48:09 PM
I Actually got it working, thanks so much.

"microsoft.private.windows.netserver.setup" <randychow2000@shaw.ca> wrote in
message news:%23NT4QIbAEHA.580@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

hirf-spam-me-here NO[at]SPAM gmx.at
3/4/2004 5:17:38 PM
* "microsoft.private.windows.netserver.setup" <randychow2000@shaw.ca> scripsit:
[quoted text, click to view]

<http://www.palmbytes.de/content/dotnet/mathlib.htm>

Download:

<http://www.palmbytes.de/content/dotnet/dl/mathlib.zip>

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button