BigRedTexas
Programmer
Hello all,
I have a databound datagrid that is pulling a string field filled with phone numbers. The problem I'm having is formatting the phone numbers to look like 999-999-9999. I have seen plenty examples of using the "Data Formatting Expression" in the datagrid columns properties for dates, currency, and time. However, there are no good examples of how to do this to a string.
I've looked everywhere on Microsoft's site and other places and still have no answer. If you can give me a solution, you'll be my hero!
Thanks, Scott
I have a databound datagrid that is pulling a string field filled with phone numbers. The problem I'm having is formatting the phone numbers to look like 999-999-9999. I have seen plenty examples of using the "Data Formatting Expression" in the datagrid columns properties for dates, currency, and time. However, there are no good examples of how to do this to a string.
I've looked everywhere on Microsoft's site and other places and still have no answer. If you can give me a solution, you'll be my hero!
Thanks, Scott