I have a database which saves user conditions in table and based on that conditions discount is provided.
i have saved data and retirived data from database, and saved this data as string in program .
Now problem is i want to convert this string in boolean format, I have used Convert.toBoolean which throws "string was not recognized as valid boolean expression"
then i have used Boolean.TryParse but it always returns false.
For condition,
61.39>50 && 61.39<70, it returns false but is true.
Can any one provide solution for this??
Thank You