Hi
I am working a VB.NET 3.5 application. I want to create complex formula using the values shown on the screen and save in XML or Database.
Eg:
Formula1 = (Value1 * Value2 + Value3)/Value6 - Value5
Formula2 = If (Value1 > 1000) then (Value1 * Value2 + Value3)/Value6 - Value5
else (Value3 * Value2 + Value1)/Value5 - Value6
For the given values, User should have an option to select the foruma from the list and do the calculation.
I also need an option to select the same formula and edit and then save.
How to create and save formulas using VB.NET code?
How to give options to users to add operators like +,-,*,/ and braces while creating the formula?
Thanks
Ashok
I am working a VB.NET 3.5 application. I want to create complex formula using the values shown on the screen and save in XML or Database.
Eg:
Formula1 = (Value1 * Value2 + Value3)/Value6 - Value5
Formula2 = If (Value1 > 1000) then (Value1 * Value2 + Value3)/Value6 - Value5
else (Value3 * Value2 + Value1)/Value5 - Value6
For the given values, User should have an option to select the foruma from the list and do the calculation.
I also need an option to select the same formula and edit and then save.
How to create and save formulas using VB.NET code?
How to give options to users to add operators like +,-,*,/ and braces while creating the formula?
Thanks
Ashok