Asp.net 3.5 ListBox DataTextFormatString value to convert the string data to TitleCase
- by Maheep
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?
Thanks.
Maheep