ComboBox and Formatting bound data

  • Thread starter Thread starter Brad
  • Start date Start date
B

Brad

Hello all,

I am using a combobox and binding a dataview to the
control. The control displays dates from a database. I am
trying to figure out how to format the date information
coming from the data. Right now it displays the full date
and time string but I only want it to display the date
(DD/MM/YY). Does any one know how to pull this off?

Thnanks
Brad
 
The easiest way to solve this is to format the date in your SQL Statement.
If you can't do this, you will need to use the Expression property of the
datacolumn object to format it correctly.

Kirk Graves
 
Back
Top