1

This is just my 2nd week on ASP.NET MVC

Basically I have a model called T_Users, in the view page I created a textbox for creating a new record into the database, below is the code:

<th scope="row" class="spec">Row</th>
<th scope="col" class ="nobg">@Html.TextBoxFor(A => A.Username)</th>
<th scope="col" class ="nobg">@Html.PasswordFor(p => p.Password)</th>
...            

How can the controller behind it can get the values? Obviously pass by /xx/xx/ID is not a efficient way.

4

2 に答える 2