views:

210

answers:

0

I have a webform with a ListBox control bind to a DataTable with a string column mapped(bound) to dataText field. This column retruns a string in all lowercase.

I want to display the string in title case(sometimes uppercase) what value should I assign to DataTextFormatString field to get this functionality? Is there any better way of doing this?

Also, can I create a custom format provider for ListBox control?

Thanks. Maheep