Must change DateTimePicker value while Update the records

Posted 21 January 2013 - 12:58 AM

i have one "DateTimePicker" alongwith username, age, sex, etc so user can save the record 1st time but whenever user wants to update the record then "DateTimePicker" value should be change without chinging of "DateTimePicker" value user can not update the record. Application should msg "You have to change the DateTimePicker value"

So, How to restrict the DateTimePicker value should be change in Vb.net 2010.

Replies To: Must change DateTimePicker value while Update the records

Re: Must change DateTimePicker value while Update the records

Posted 21 January 2013 - 07:56 AM

Without know what this 'datetimepicker' represents it shouldn't be that hard to store all the values you saved in global variables... and when the user tries to save again compare the datetime value in the global variable against what is in the UI control.