DataFormatString

  • Thread starter Thread starter Tor Inge Rislaa
  • Start date Start date
T

Tor Inge Rislaa

DataFormatString



I have a field in my GridView returning a phone number. How can control the
output of the 8 digits with DataFormatString

to be displayed as xxx xx xxx (3 digits, space, 2 digits, space, 3digits)



TIRislaa
 
set it to {0:000' '00' '000}

I think that should do it providing it is held in a number field
Ciaran O'Donnell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top