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

[Solved] How to get datepicker value to store sql

1 Answer 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mike john
Top achievements
Rank 1
mike john asked on 26 Jan 2010, 02:35 PM
Hi I am using the following for two controls I want to submit the value to sql db

nonqueryCommand.Parameters.Add(

"@jobStart", SqlDbType.SmallDateTime)

 

nonqueryCommand.Parameters.Add(

"@jobEnd", SqlDbType.DateTime)

 


nonqueryCommand.Parameters(

"@jobStart").Value = RadDateJobStart.SelectedDate.Value

 

nonqueryCommand.Parameters(

"@jobEnd").Value = RadDateJobEnd.SelectedDate.Value

the entries in the db are empty ?? what am I missing

 

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 29 Jan 2010, 06:46 AM
Hi mike,

The information you have provided does not contain enough data to pinpoint the problem. Please, paste your aspx and code behind using the code formatter tool of the ticket editor.

Thanks in advance. 

Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
mike john
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or