By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,684 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,684 IT Pros & Developers. It's quick & easy.

ComboBox and Formatting bound data

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Brad" <bs******@vosdesign.com> wrote in message
news:06****************************@phx.gbl...
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.