PC Review


Reply
Thread Tools Rate Thread

datetimepicker date change override

 
 
=?Utf-8?B?Qmhhdm5h?=
Guest
Posts: n/a
 
      21st Feb 2004
I have a datetimepicker (dtp) on my windows form
the user initially selects a date and then selects the rooms they wish to book
The problem i have is that when the user goes back and tries to change the date (i.e when they click on the dtp), i show a message box that states that changing the date will cause all the current bookings to be lost. Do u wish to continue? If the user selects yes all the datatables are cleared and the date is changed to the one the user clicked on before the messagebox was displayed. However when the user selects 'No' in the messageBox the date in the dtp still seems to change to whatever the user has pressed in the dtp!!

does anyone know how i can override the date change so that the date remains what it was prior to the dtp being clicked

thx
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DateTimePicker not updating in DB unless I change the date Tony K Microsoft VB .NET 4 22nd Oct 2007 11:25 PM
DateTimePicker with no date selected? dgk Microsoft Dot NET Compact Framework 5 21st May 2007 01:32 PM
DateTimePicker - A date or a time, how to do both? Robin Tucker Microsoft VB .NET 2 9th Feb 2005 05:52 PM
Set NULL Date in DateTimePicker Arnaldo Fuziy Microsoft Dot NET Compact Framework 2 28th Nov 2003 12:07 PM
Can't override OnPaint when inheriting from DateTimePicker control (Windows.Forms) benjamin Raibaud Microsoft Dot NET Framework 0 9th Sep 2003 09:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:59 AM.