ITs URGENT... PLZ HELP Mathematical operation in single textbox

Posted by Sapna under VB.NET on 5/12/2010 | Views : 1302 | Status : [Member] | Replies : 3
I pass a mathematical operation (For example : 100+2/100) this complete statement in a textbox. And i want the complete operation to be carried out and the answer in 2nd textbox. Plz help me how to do it?




Responses

Posted by: Vuyiswamb on: 5/13/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Why do you allow your users to punch in something like this.

Accept the Values from different textboxes and do the calculations yourself.

Thank you for posting at Dotnetfunda
[Administrator]

Sapna, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mcamkumaran on: 5/13/2010 [Member] Starter

Up
0
Down
first up all you have to split the string according to the operator(split() function is available) and store in the array and get the value and do the operation

MuthuKumaran.R
Senior Software Engineer
Techcello
India.

Sapna, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: BangaruBabu on: 5/13/2010 [Member] Starter

Up
0
Down
Hi Please Go With The Following Link

http://forums.techarena.in/software-development/1109842.htm

Total Manipulation Under One String ..


It will Definitely Help Ful

BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/

Sapna, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response