DataFormatString

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
 
G

Guest

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

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top