2
Answers

Can you please Explain this code step by step

siva nathan

siva nathan

7y
193
1
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)