Question: how to pass textbox data from view to controller in mvc?
Answer: [HttpPost] public ActionResult CalculateSimpleInterestResult(FormCollection form) { decimal principle = Convert.ToDecimal(form["txtAmount"].ToString());