Having some issue with this...
if (System.Convert.ToInt32(TotalCost(theOrder.OrderData.ToString()).ToString()) < 10000)
ViewData["cc"] = "OK";
else
ViewData["cc"] = "NO";
yields: "Input string was not in a correct format."
How can I check if the number inside the string is less than 10000?
Oh yeah: TotalCost returns a ContentResult of type text/plain