Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Help with regular expressions.

Reply
Thread Tools

Re: Help with regular expressions.

 
 
David Waz...
Guest
Posts: n/a
 
      07-04-2003
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!
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using regular phone as voip device with regular modem? hygum VOIP 5 03-23-2005 03:51 PM
Help with a Perl Regular Expression Eric B. Perl 1 12-17-2004 10:56 PM
Dynamically changing the regular expression of Regular Expression validator VSK ASP .Net 2 08-24-2003 02:47 PM
Regular Expression help... Anand Perl 1 07-09-2003 10:14 AM
Re: Help with regular expressions. Chris R. Timmons ASP .Net 0 07-04-2003 10:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57