Link to home
Start Free TrialLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

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?
ASKER CERTIFIED SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brgdotnet

ASKER

Thanks. Been traveling. Sorry about the delay. Have a great week!