MindFusion.Reporting for Silverlight Programmer's Guide
CStr

Converts the value, specified as an argument, to a string value.

Syntax

 Copy Code

string CStr (
    object value
)

Parameters

value
Any valid expression.

Remarks

The data in value determines what is returned according to the following table:

Parameter Type

Return Value

Boolean

A string containing "true" or "false".

Date

A string containing a date in the short-date format of your system.

Null

A zero-length string ("").

Empty

A zero-length string ("").

Other numeric

A string containing the number.


See Also

Conversion Functions
CBool Function
CDate Function
CInt Function
CLong Function
CSng Function
Str Function