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. Advertising

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. Replies:
    1
    Views:
    3,015
    =?Utf-8?B?Y2xpY2tvbg==?=
    Mar 22, 2006
  2. Zahoor
    Replies:
    1
    Views:
    827
    Darryl L. Pierce
    Nov 15, 2003
  3. chen selina
    Replies:
    0
    Views:
    897
    chen selina
    Jul 7, 2010
  4. TJ

    Formatting the phone nos in the column in the datagrid

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

    convert Phone Letters to Phone numbers

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

Share This Page