Posts by Rolim • 23 points
4 posts
-
0
votes1
answer401
viewsQ: MVC error 404 POST method
This is my controller: [HttpPost] public ActionResult TestePost(int id1) { ViewData["Teste"] = "O método POST funcionou, você digitou: " + id; return View("Index"); } [HttpGet] public ActionResult…
-
0
votes1
answer114
viewsA: Numbers and Percentage in string C# MVC
I managed to solve using Server.UrlDecode(minhaString);
-
2
votes1
answer114
viewsQ: Numbers and Percentage in string C# MVC
My string is not coming with strange characters, it is coming with numbers and percentage. Example: "[email protected]" stays "teste%40test.com" or "fictício" stays "fict%C3%ADcio"…
-
0
votes1
answer662
viewsQ: LINQ with Left Join and Multiple Keys
My LINQ query does not give error but does not show any result. Where I made a mistake? using (var db = new MyEntities()) { var result = (from dc in db.DiarioClasse join fn in db.Faltas on new {…