Article View: borland.public.csharpbuilder.language.csharp
Article #402FormatText
From: Jeff
Date: Tue, 20 Sep 2005 01:14
Date: Tue, 20 Sep 2005 01:14
7 lines
1175 bytes
1175 bytes
What is missing from the following code, to reformat the text in
textbox3, to currency?
aValue = TextBox3.Text;
TextBox3.Text = System.String.Format("{0:C2}", aValue);
TIA
Technical Details
Message-ID:
<432f6234$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,95e04c7c9049104a,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 19 Sep 2005 20:14:51 -0500 From: Jeff <jbarr62307@worldnet.att.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: FormatText Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 208.242.241.231 Message-ID: <432f6234$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127178804 208.242.241.231 (19 Sep 2005 18:13:24 -0700) Lines: 7 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail