brgdotnet
asked on
View markup in MVC 4
In my view, I noticed that their are two different ways to start of my view form.
Here is the first one :
@using (Html.BeginForm() )
{
}
Or you can just use :
@{
}
Are these two basically equivalent, or is one better than the other?
Here is the first one :
@using (Html.BeginForm() )
{
}
Or you can just use :
@{
}
Are these two basically equivalent, or is one better than the other?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER