Re: Help with regular expressions.

Discussion in 'ASP .Net' started by David Waz..., Jul 4, 2003.

  1. David Waz...

    David Waz... Guest

    I don't think you want 'regular expression'

    Try DataFormatString="{0:N0}" if you want thousands-separators
    or DataFormatString="{0:F0}" if you don't


    "Pablo Pecora" <> wrote in message
    news:...
    >
    > I've a BoundColumn in a datagrid, mapping a "money" column in a SQL
    > It shows like this: 12600.0000
    > I just want to show the int part (ie: 12600).
    > I've tried giving a Data Formatting Expresion in the datagrid (with the
    > DataFormatString= property)
    > I've tried with DataFormatString="/d" DataFormatString="/d{*,0}" but it
    > gives me an error
    >
    > Do someone know how can I format a regularexpression that shows me just

    the
    > integer part of the decimal number?
    >
    > Thanks in advance!
    >
    >
    >
     
    David Waz..., Jul 4, 2003
    #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. Chris R. Timmons

    Re: Help with regular expressions.

    Chris R. Timmons, Jul 4, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    407
    Chris R. Timmons
    Jul 4, 2003
  2. Stephajn Craig

    Regular Expressions....HELP!

    Stephajn Craig, Jul 16, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    3,039
    Cowboy \(Gregory A. Beamer\)
    Jul 16, 2003
  3. Jay Douglas
    Replies:
    0
    Views:
    619
    Jay Douglas
    Aug 15, 2003
  4. Andreas Klemt

    Regular Expressions help needed

    Andreas Klemt, Aug 17, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    316
    Andreas Klemt
    Aug 17, 2004
  5. Noman Shapiro
    Replies:
    0
    Views:
    240
    Noman Shapiro
    Jul 17, 2013
Loading...

Share This Page