This is a migrated thread and some comments may be shown as answers.

[Solved] DatetimePicker not saving date in the database asp.net mvc

0 Answers 22 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sara
Top achievements
Rank 1
Sara asked on 23 Mar 2011, 05:46 PM
Hi,

I am using asp.net mvc 2.0 version and need to save date in the database using create view.

Here is my code in create view..

<%

 

: Html.Telerik().DateTimePickerFor(model => model.MyDate).Value(DateTime.Now) %>

 

 

I am using linq to sql. What to do in controller so that date will be saved in the database?

Please do send me the reply as soon as possible.

Thanks

Tags
Date/Time Pickers
Asked by
Sara
Top achievements
Rank 1
Share this question
or