You can use Html.TextBox helper with an htmlAttribute. C#. Copy Code. @Html.TextBoxFor(Model=>Model.dob, new { type = "date"}).
確定! 回上一頁