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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top