1 @{ 2 Layout = null; 3 } Index @using (Html.BeginForm("GetParamsFromFormCollection", "FormCollectionTransferData")) 15 { 16 @Html.TextBox("EmployeeID","员工ID"); 17 @Html.TextBox("EmployeeName","员工姓名"); }
result:
3.5 自定义模型绑定
敬请期待,下篇文章与大家一起分享。。。。
4 版权