Posts by Rafael Mathias • 76 points
3 posts
-
3
votes2
answers2381
viewsA: Router and URL-friendly with Asp.net mvc
Appstart Routeconfig.Cs public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "ProdutoDetalhes", url:…
-
2
votes1
answer1370
viewsA: How to get selected value from dropdownlist in Asp.Net MVC
You do not need the Formcollection parameter in this case. [HttpPost] public ActionResult Detalhes(string IRPJ) { Session["IRPJ"] = IRPJ.Replace(".",","); return RedirectToAction("ImprimirBoleto",…
asp.net-mvcanswered Rafael Mathias 76 -
1
votes2
answers636
viewsA: Foreach in Foreach
Friend, I don’t understand the reason of the explosion, see if it helps: His action public ActionResult Categorias() { var list = db.Category.Include("Galery").Where(ct => ct.status ==…