In Razor you can also do: <input asp-for="StartDate" type="date" class="form-control" />. type can be: date; datetime; datetime-local.
確定! 回上一頁