I am trying to retrieve a value from my Microsoft SQL Server database. It is a nullable \"bit\".
The code to retrieve
[HttpGet] public JsonResult Wi
The problem is most likely because ASP.NET MVC does not allow JSON requests using GET by default. You can add JsonRequestBehavior.AllowGet as a second parameter to your Json call:
JsonRequestBehavior.AllowGet
return Json("true", JsonRequestBehavior.AllowGet);
If not, can you provide a error message?