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
Show all records when variable is null
Using VLookup for Data Validation
Office Word 2007
Do I have to be on domain to FTP?
How to delete Clonezilla Images
301 redirect htaccess issue
Find database name in Visual Fox Pro database
NFS share on FreeNAS
Cannot access LAN on Cisco Valet M10 wireless router
sql server 2005 keyboard shortcuts