1
Comment écrire «Html.BeginForm» dans Razor
Si j'écris comme ça: form action = "Images" method = "post" enctype = "multipart / form-data" Ça marche. Mais dans Razor avec '@' cela ne fonctionne pas. Ai-je fait des erreurs? @using (Html.BeginForm("Upload", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.ValidationSummary(true) <fieldset> Select a file <input type="file" name="file" …
133
forms
asp.net-mvc-3
razor