public ActionResult MyForm(string id) // id is a query string passed as a parameter
{
Outcome outcome = new Outcome();
outcome.ID = id; // Outcome.ID is a decimal?. id is the string id from the method signature.
return View();
}
How can I convert outcome.ID (which is a decimal?) to be equivalent to string id?
Thank you
Go to the complete details ...