O
O
Oleg2014-03-04 16:06:13
ASP.NET
Oleg, 2014-03-04 16:06:13

Separating date and time fields in ASP.MVC view?

The model has a field of type DateTime. How to make this field divided into 2 in the view: the date and time and the values ​​from these fields are "glued" and placed in one field of the model

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2014-03-23
@plastilin1320

Made through model binding

O
Oleg, 2014-03-06
@plastilin1320

Yes, this is understandable .. but how to send this data from the view to the controller and where to process it for placement in the model?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question