2
Reply

Can you please Explain this code step by step

siva nathan

siva nathan

Feb 28 2017 1:59 AM
171
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)