Group: Forum Members
Posts: 336,
Visits: 497
|
I am trying to put a formatted phone number in part of the drop-down's display value, and am having no luck. In the ComboBox's PopulationDataSourceSettings dialog, I can set a display member format string. What would I put in here to make "1234567890" display as "(123) 456-7890"? I know you can use things like {0:c} to display currency or {0:d2} to display a given precision, and so on. I'm just at a loss as to what I can use here to display a phone number. Also, one other thing to consider is international numbers. What if this number is formatted differently for different instances?
|