MVC3 Razor using Html.BeginForm problem

前端 未结 3 1907
醉梦人生
醉梦人生 2021-01-07 16:46

This is probably a simple thing, but ive got the following code:

@using (Html.BeginForm()) {

...

3条回答
  •  一向
    一向 (楼主)
    2021-01-07 17:13

    In my case I was missing a closing div which caused a similar error.

    Error Code:

    @using (Html.BeginForm()) {

    @* = Server side comment out. .... *@

    }

    Resolved:

    @using (Html.BeginForm()) {

    @* = Server side comment out. .... *@

    }

提交回复
热议问题