Microsoft
Software
Hardware
Network
Question : DatetimePicker Problem C#
Experts,
I have qestion that is when I am selecting any date from the datetimepicker as in this form (return date) then it is taking the date and also the time. (Please see the image attached)
I am doing in this manner
DateTime DateofReturn;
DateofReturn = dateTimePicker_ReturningDa
te.Value;
And the query I am using for Save option is
string query = "insert into Table_Borrow(MemberID,Film
_ID,Nameof
Item,Dateo
fReturn,St
atus) values(@parameter1,@parame
ter2,@para
meter3,@pa
rameter4,'
" + b.ToString() + "')";
May I know what I have to do so that only the date as selected from the datetimepicker should get saved not time (that is 7A.M. should not get saved)
Thanking you,
Anindya
Attachments:
error.jpg
(181 KB)
(File Type Details)
1
Answer : DatetimePicker Problem C#
"so you mean what ever we can d with mm_Menu we can do using Spry!!
and Spry is better than mm_menu right?"
Yes. Frankly, just about anything is better than mm_menu.
FYI, since mm_menu is also an external javascript file, you will have the same problems with the hosting provider not "supporting" it.
Random Solutions
Exchange 2010 CAS and certificates
In Excel 2007, remove buttons copied from websites.
Internal Companyweb not working without manual DNS
What Should the Title Be
iSCSI Performance Tuning
Generate wsdl stub - getting error .
Save Publishign site as template in SharePoint 2010
Can't Import javax.tv.Xlet within Java ME project class
LINUX -- PHP + Sendmail Woes -- Emails not being sent.
Unable to access OWA