date display memeber in combobox
Hi there,
My combobox datasource is a table from the database. The display member for the combobox is a date field. At database level this field is in short date format. However, when display in the combobox this field is displayed in long date format. How can I get the date displayed in the correct short date format in the combobox?
When I check the XML result of the select query by running the Webservice, the time is added as 00:00:00.0000 but in the combobox the time is 12:00:00 AM.
Also, if I bound the same dataset to a datagrid, this field is displayed correctly in short date fomat.
Please help.
Many thanks in advance
tw
|