CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> .NET

 simple number formatting question

Print topic Send  topic

Author Message

Posts: 30
Posted: 10/12/2004, 4:35 PM

In a Grid control, I would like to display blank when the value of the labelfield is 0; and display otherwise.

On the same logic, if the value is negative, I would like to display red (number).

Appreciate any pointers. I am thinking it is somewhere around the Format attrib of the field, and use something like (0.#;[Red]0.#) - Is that correct, and how do you specify the Mask string?

View profile  Send private message

Posts: 5971
Posted: 10/13/2004, 3:42 AM


This section of CCS Tutorial shows an example of how to change a field's value or color:
Peter R.
YesSoftware Forums Moderator
For product support please visit
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.