siva nathan

siva nathan

  • 948
  • 828
  • 232.9k

Can you please Explain this code step by step

Feb 28 2017 1:59 AM
Anyone Please explain this code step by step 
 
 
@using (Html.BeginForm())
{
<p>
Your Name: @Html.TextBoxFor(x => x.Name)
</p>
<p>
Your Email: @Html.TextBoxFor(x => x.Email)
</p>
<p>
Your Gender: @Html.TextBoxFor(x => x.Gender)
</p>
<p>
Your Phone: @Html.TextBoxFor(x => x.Phone)
</p>
<p>
Your Address: @Html.TextBoxFor(x => x.Address)
</p>
<input type="submit" value="Register Me" />
}
 
 
why we use like this @Html.TextBoxFor(x => x.Name) 
 

Answers (2)