[Required] [DataType(DataType.Time)] [Display(Name = "Start Timing")] public DateTime Start_Timing { get; set; }
SBVM.Start_Timing = Convert.ToDateTime(mysdr["StartTime"].ToString());
<div class="form-group"> @Html.LabelFor(model => model.Start_Timing, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Start_Timing, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Start_Timing, "", new { @class = "text-danger" }) </div> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)