Hi. I'm using DatetimePicke on my SaleInfo form, for inserting the Date and Time of Sale. The dataType of Sale_Date field in SQL Server 2005 is DateTime. I set the DTP format property to short and then to its original default to Long but in both the cases, when i insert the data so only date is displayed validly but the time is fix to 12:00:00 AM. In Addition to this, i changed its value property (which is originally 3/22/2013 2:59 PM, but i removed the time from the value property) and I think that since I modify the value property for Design mode, I'm facing this problem. Now please tell me that what is this problem, why the current date and time both are not inserting properly? Please guide me.
In Addition to this question, Isn't it possible that i put the value property of dateTimePicker to its default value? :(:( I've searched it on google, but didn't get any answer.
In Addition to this question, Isn't it possible that i put the value property of dateTimePicker to its default value? :(:( I've searched it on google, but didn't get any answer.