On Thursday 31 January 2008 07:35:59 am Gary Thompson wrote: > Hi All, > I hope this is an appropriate place to share this. I've been > wanting to have a DateTextBox as part of a grid column for a long time, > to simplify bulk data editing where dates are involved. > > I have managed to hack something together which does the job, I must > warn you that I do not have a lot of programming experience (thank you > to those out there whose code I poached in trying to put this > together). If there is another way which I missed when trying to > resolve this, I would be interested in knowing. Otherwise, here is some > code: > Running the code I noticed that typing in 01/32/2008 (Jan 32 2008) caused the date to become 01/31/2008 without warning the user. Shouldn't you warn the user?
-- John Fabiani
©2008 johnf |