Click to See Complete Forum and Search --> : Format and Parse


cmsmith514
March 19th, 2003, 09:36 AM
I have a combo box that is bound to a date in a dataset. The problem is the date is displayed with both the date and time and I only want the short date to be displayed. I used the Format and Parse handler, but the first date changes to the short date format but once the drop down is selected the dates revert back to the long date format. I know I am missing something simple, if I one could help it would be appreciated.

Jym
April 5th, 2003, 02:10 AM
the simplest solution is don't bind it to the combo box add it and then use the index of the selected string in the combo box to refer back to the row in the dataset