Formatting phone numbers in gridview

Discussion in 'ASP .Net' started by Blasting Cap, Jan 14, 2007.

  1. Blasting Cap

    Blasting Cap Guest

    I'm using VWS Express to do a web page on a sql database for a friend.
    There are phone numbers in the database - how can I format them to be
    xxx-xxx-xxxx in a datagrid/gridview?

    Also, is there a good source of dataformat styles {0:d}, {0:c} for grids
    in general? Most documentation I have found has come after a tremendous
    amount of searching.


    BC
     
    Blasting Cap, Jan 14, 2007
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Banks
    Replies:
    2
    Views:
    21,285
    Andrew Banks
    Jan 5, 2004
  2. Replies:
    1
    Views:
    3,255
    =?Utf-8?B?Y2xpY2tvbg==?=
    Mar 22, 2006
  3. Zahoor
    Replies:
    1
    Views:
    996
    Darryl L. Pierce
    Nov 15, 2003
  4. Andy
    Replies:
    1
    Views:
    812
    Andy B
    Jun 17, 2008
  5. Charles Lavin

    Need to hide phone numbers

    Charles Lavin, Jul 28, 2009, in forum: HTML
    Replies:
    12
    Views:
    1,774
    Adrienne Boswell
    Aug 9, 2009
  6. chen selina
    Replies:
    0
    Views:
    1,047
    chen selina
    Jul 7, 2010
  7. TJ

    Formatting the phone nos in the column in the datagrid

    TJ, May 13, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    263
    Elton W
    May 13, 2005
  8. Rene Ivon Shamberger

    convert Phone Letters to Phone numbers

    Rene Ivon Shamberger, Dec 4, 2012, in forum: C++
    Replies:
    5
    Views:
    650
Loading...